ejurgensen
7982bca6f0
Merge branch 'pl2'
...
Conflicts:
src/db.c
2015-04-11 21:00:49 +02:00
ejurgensen
be21482d7b
Fix memleak in filescanner_ffmpeg arising for ffmpeg versions without icy support
2015-04-02 00:07:49 +02:00
ejurgensen
e101812478
Check for id3 compilation tag (credit @zmatsuo)
...
Ref. pr #127 , issue #83 and maybe issue #63
2015-04-01 23:08:34 +02:00
ejurgensen
e49c941a00
Add a worker thread to support async tasks from the player thread
...
(and maybe others later)
2015-03-31 23:05:24 +02:00
ejurgensen
ea29a8d988
Remove filescanner_icy.c and consolidate in http.c.
...
Libav 9 does not support ICY metadata, so in that case we must be able to get it outselves.
2015-03-29 00:29:06 +01:00
ejurgensen
b8d8df132b
Support for remote m3u playlists (ref pr #79 )
2015-03-20 23:40:42 +01:00
ejurgensen
6221e24f1b
Support for live ICY metadata for streams (incl. artwork)
2015-03-14 21:42:53 +01:00
ejurgensen
2879458e98
Fix for issue #62 (slow internet streams), credit @chme
2015-01-02 23:24:44 +01:00
ejurgensen
a860907202
Another preprocesser condition for OpenWrt compability
2014-06-16 23:46:30 +02:00
ejurgensen
844a9b43c9
Fixup new libav 10 icy extraction
2014-06-02 21:51:50 +02:00
ejurgensen
116289f5b7
Libav 10 (and ffmpeg) now has native support for ICY metadata
2014-06-02 00:00:52 +02:00
ejurgensen
f6e9ddbc41
Repair legacy filescanners (broken by libav conditions)
2014-03-12 22:54:30 +01:00
ejurgensen
7997377deb
Adjust for libav 10 API
...
With libav 10 the API is (again...) changed, adjust for that and
add the appropriate version conditions
2014-02-17 23:05:24 +01:00
Justin Maggard
0426aa2d08
Fix issue with many WMA audio files not being recognized
2014-02-05 17:44:01 -08:00
ejurgensen
785383861b
ffmpeg/libav conditions for CodecID and AVCODEC_MAX_AUDIO_FRAME_SIZE (thanks @freultwah)
2014-01-27 21:24:08 +01:00
ejurgensen
60f43c94c9
Change embedded artwork libav preprocessor conditions
2014-01-11 23:37:04 +01:00
ejurgensen
eac404fa3a
Add artwork field to db (upgrade to v15). Set field when embedded
...
artwork found by the filescanner. Reenable support for embedded
artwork in group requests.
2014-01-11 23:05:29 +01:00
ejurgensen
efd4d56de5
Fix a few missing libav conditions
2014-01-06 21:41:30 +01:00
ejurgensen
b42b1f98d7
Adjust filescanner to ignore streams with embedded artwork
2013-12-29 20:44:32 +01:00
ejurgensen
0fd65b285d
Fix some ffmpeg/libav compiler conditions
2013-11-25 19:43:17 +01:00
ejurgensen
06701ae6ea
Log message modification - filescanner.c
2013-10-16 22:07:30 +02:00
ejurgensen
3471b6c147
Cleaning up deprecated ffmpeg/libav
2013-09-07 23:39:22 +02:00
Julien BLACHE
0b2df54524
libav 0.7: switch to generic AVDictionary for metadata handling
2011-09-10 12:48:14 +02:00
Julien BLACHE
a2f409dd0a
libav 0.7: use av_dump_format() instead of dump_format()
2011-09-10 12:48:14 +02:00
Julien BLACHE
ed20d3f7de
libav 0.7: use av_get_bytes_per_sample() instead of av_get_bits_per_sample_fmt()
2011-09-10 12:48:14 +02:00
Julien BLACHE
dbe22c2c02
libav 0.7: use avformat_open_input() instead of av_open_input_file()
2011-09-10 12:48:14 +02:00
Julien BLACHE
de4d5d0f4c
libav 0.7: Metadata string for disc can be "disc/totaldisc"
...
Pointed out by Raivo Hool; since we don't have a choice of performing or
not performing the metadata conversion, we will get "disc/totaldisc" for
ID3 files.
2011-06-04 12:09:38 +02:00
Julien BLACHE
1bea809078
Make disc parsing code generic, too
2011-06-04 12:08:50 +02:00
Julien BLACHE
74b7c69828
libav 0.7: Metadata string for track can be "track/totaltrack"
2011-06-02 22:16:53 +02:00
Julien BLACHE
57e569aeb5
Make track parsing code generic
2011-06-02 22:16:53 +02:00
Julien BLACHE
3caf3df662
libav 0.7: Add new generic metadata names
2011-06-02 22:16:53 +02:00
Julien BLACHE
b46afdc150
libav 0.7: Calling av_metadata_conv() is no longer needed
2011-06-02 22:16:52 +02:00
Julien BLACHE
b1d31feb53
libav 0.7: Switch from av_get_bits_per_sample_format() to ..._fmt()
2011-06-02 22:16:52 +02:00
Julien BLACHE
b203f1ea1f
libav 0.7: Replace CODEC_TYPE_* with AVMEDIA_TYPE_*
2011-06-02 22:09:42 +02:00
Julien BLACHE
91a5250143
Reindent md_map_id3, no code changes
2011-03-21 18:47:59 +01:00
Kai Elwert
aa3829854b
Pick up ID3 sort tags
2011-03-21 18:47:59 +01:00
Julien BLACHE
84279b817d
Kill two open-coded instances of safe_atou32()
2010-05-09 08:55:50 +02:00
Dustin King
ce8fe19627
Add handlers for ID3v2 track and disc fields
2010-04-10 11:21:04 +02:00
Dustin King
61f5b6d833
Run two passes for gathering metadata
...
The extra md_map needs to be used before the generic md_map because
the extra md_map needs to be used before av_metadata_conv while the
generic md_map needs to be used after av_metadata_conv. This allows
handling of things like ID3v2 track fields which get mapped to the
generic track field by av_metadata_conv but actually contain both
track number and the total number of tracks on the disc.
Note: modified from Dustin's original patch.
2010-04-10 11:15:16 +02:00
Dustin King
b8b205e7f2
Add function pointer for metadata handler to struct metadata_map
2010-04-10 10:59:29 +02:00
Dustin King
b219b912f2
Split out VORBIS field names into a dedicated extra md_map
2010-04-10 10:55:52 +02:00
Julien BLACHE
f36261be65
Add album_artist to the generic md_map
...
The generic metadata field name is album_artist and not albumartist; that, or we
previously missed that field.
2010-04-10 10:55:52 +02:00
Dustin King
a5bdb9d59a
Identify TDRC as coming from ID3v2.4
2010-04-10 10:55:46 +02:00
Julien BLACHE
21e564e493
Add the DISCTOTAL tag for formats using VORBIS comments
2010-03-27 12:08:49 +01:00
Julien BLACHE
e87f46e95c
Add the TRACKTOTAL tag for format using VORBIS comments
2010-03-25 21:40:17 +01:00
Julien BLACHE
b7ec65963d
Constify data tables where possible
2010-03-25 21:40:17 +01:00
Julien BLACHE
c545e52374
Simplify streams handling
...
Keep pointers to the streams instead of the stream number.
2010-03-25 21:40:17 +01:00
Julien BLACHE
6677b3435d
Call av_metadata_conv() to convert metadata to ffmpeg's generic format
...
This is actually needed for everything to work properly, but it only really
started breaking with newer versions of ffmpeg where more demuxers have been
completely ported over to the metadata API.
2010-03-25 21:40:17 +01:00
Julien BLACHE
04e8f5cfd6
Split TV show tags out of the generic md_map
2010-03-25 21:39:41 +01:00
Julien BLACHE
27a095b606
Split ID3 tags out of the generic md_map
2010-03-25 21:38:19 +01:00