Commit Graph

3340 Commits

Author SHA1 Message Date
ejurgensen 7d756230c2 Make raop_metadata_free private again and change a comment in http.c 2015-04-11 20:53:09 +02:00
ejurgensen 99cda05dab Remove player metadata event timer (use the existing instead) 2015-04-11 20:30:31 +02:00
ejurgensen 0397b824a5 Fixup (select between cur_playing and cur_streaming) 2015-04-09 22:33:23 +02:00
ejurgensen e72447954a Some cleaning up of ICY artwork retrieval 2015-04-09 22:22:42 +02:00
ejurgensen 94f94b03fe Swap artwork arguments so destination evbuffer comes first 2015-04-09 21:23:20 +02:00
ejurgensen f1931bfc1a Abandon raop_metadata_arg, and defer metadata time setting 2015-04-09 21:04:35 +02:00
ejurgensen ebba38a725 Merge pull request #129 from chme/mpdprotocol
[mpd] support for "count" command and fix for listing albumartists
2015-04-08 22:04:25 +02:00
chme 12520f2f1f [mpd] cleanup: remove duplicate logging of error messages 2015-04-08 19:34:59 +02:00
chme a268f836e7 [mpd] fix command list for albumartist 2015-04-08 19:34:59 +02:00
chme b7d5b1650e [mpd] add support for count command 2015-04-08 19:34:59 +02:00
ejurgensen ad81e05ab4 Better thread safety by making sure that the raop globals are only accessed through the player thread 2015-04-07 23:35:56 +02:00
ejurgensen 50ef710549 Fix memleak in artwork.c 2015-04-02 00:40:10 +02:00
ejurgensen 56ece92209 Remember to actually request ICY metadata in transcode.c 2015-04-02 00:09:12 +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 0f1a27641f Fix minor mem leak in playlist scanner 2015-04-01 23:45:21 +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 e084eb71db Polishing worker.c a bit 2015-04-01 14:36:24 +02:00
ejurgensen e4c0c13a20 Remove irrelevant comment 2015-03-31 23:40:52 +02:00
ejurgensen 19ba8fba67 Drop async mode from http client, not needed and probably not working 2015-03-31 23:27:18 +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 96200eb808 Use own libevent http client for downloading artwork, ffmpeg seems a
bit too slow
2015-03-31 00:08:29 +02:00
ejurgensen f947948a29 Avoid database locks when raop constructs metadata 2015-03-30 23:11:21 +02:00
ejurgensen e5c8128c9d Minor improvements for rescale_needed() 2015-03-30 23:10:33 +02:00
ejurgensen 4850423118 Make hiding internet streams from normal playlists configurable 2015-03-30 21:10:59 +02:00
ejurgensen 41f39ea5ca Sort playlists with ascending parent id, so that more nested playlists come after
the less nested ones (required by Retune)
2015-03-30 08:54:17 +02:00
ejurgensen 986b37ed29 Adds a playlist folder type, it is needed for sorting since some clients (eg Retune)
require that playlist folders are sent before their content. Playlist folders should,
however, be sent after the base playlists, so the numbering is changed. At the same
time makes the value of the smart playlist type a bit less hardcoded.
2015-03-30 01:03:15 +02:00
ejurgensen 33bc7227ea Make use of Spotify playlist folder configurable 2015-03-30 00:59:55 +02:00
ejurgensen 892fd9c402 Send mpco in daap playlist reply, even when 0 (like iTunes) 2015-03-29 23:34:36 +02:00
ejurgensen a529d78880 Don't crash on no metadata... 2015-03-29 20:16:56 +02:00
ejurgensen 2b2883403e Fixup for libevent 2.0 2015-03-29 01:10:37 +01:00
ejurgensen 0b67ae3974 Some fixup for libav 0.8 2015-03-29 01:02:14 +01: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 1a96f651d2 Merge pull request #123 from chme/mpdprotocol
[mpd] add IPv6 support and a little cleanup in db upgrade v16
2015-03-20 23:47:34 +01:00
ejurgensen b8d8df132b Support for remote m3u playlists (ref pr #79) 2015-03-20 23:40:42 +01:00
chme 516d46232b [mpd] db upgrade v16: remove unused data_kind column from files-query
and rename variable to "type" to match the pl-query
2015-03-20 13:44:29 +01:00
ejurgensen 832fc95a22 Modify scripts so they install antlr wrapper with mode 755 2015-03-18 20:38:01 +01:00
ejurgensen cde8441493 Don't cache internet artwork 2015-03-17 22:04:07 +01:00
ejurgensen d089eaf880 Some protection against mem leak 2015-03-17 22:03:40 +01:00
ejurgensen e5a1495b49 Add DAAP logic for the Radio item 2015-03-16 23:33:42 +01:00
ejurgensen 46e4214b39 Adjust log severity 2015-03-16 21:40:50 +01:00
ejurgensen cf6d94eda2 Fixup dblist for Radio item 2015-03-15 16:26:06 +01:00
chme d7f7a746a2 Added item for "Radio" to DAAP-reply to "/databases" request 2015-03-14 23:44:17 +01:00
ejurgensen 8359a9018d Fixup parent playlist 2015-03-14 23:35:19 +01:00
ejurgensen 618e22d57e Put Spotify playlists in a base playlist 2015-03-14 22:52:07 +01:00
ejurgensen e68c6c4932 Change db_pl_add/db_pl_update so input is playlist struct
- so they work like db_file_add/update and can accept all the struct data (incl. parent_id)
2015-03-14 22:34:03 +01:00
ejurgensen 9fdb8a5247 Add DB and DAAP support for nested playlists 2015-03-14 22:00:57 +01:00
ejurgensen 6221e24f1b Support for live ICY metadata for streams (incl. artwork) 2015-03-14 21:42:53 +01:00
chme 5b0cb6588b [mpd] support for ipv6 2015-03-14 09:51:39 +01:00
ejurgensen 34d815a130 Merge pull request #119 from chme/mpdprotocol
[mpd] some fixes and support for new commands
2015-03-14 09:16:49 +01:00
chme f41e7014e4 [mpd] add support for commands 'listplaylists', 'listplaylist',
'listplaylistinfo', 'ping'; add support for additional tags
2015-03-10 22:15:33 +01:00