Commit Graph

3383 Commits

Author SHA1 Message Date
ejurgensen 483a428bae [chromecast] Try to improve session handling + actually remove device on mdns cb 2016-02-11 20:04:29 +01:00
ejurgensen e4d209f8a0 [chromecast] Support for most basic functionality 2016-02-11 20:04:29 +01:00
ejurgensen 7d6c670fee [chromecast] Fix host address, some more commands, add flush timer 2016-02-11 20:04:29 +01:00
ejurgensen 5049426573 [raop] Protect against possible invalid reads in for loops 2016-02-11 20:04:29 +01:00
ejurgensen ebf2d7722e [chromecast] Fixup cb register error + use actual hostname 2016-02-11 20:04:29 +01:00
ejurgensen 5e239cfbb2 [chromecast] Volume support and fix double free 2016-02-11 20:04:29 +01:00
ejurgensen 153ed98dba [chromecast] Begin adding actual Chromecast support (basic playback) 2016-02-11 20:04:29 +01:00
ejurgensen cd841ad7b5 [outputs] Reorganise new generic output interface 2016-02-11 20:04:29 +01:00
ejurgensen 233fa24ffd [raop] Fix possibly old "read after free" bug 2016-02-11 20:04:29 +01:00
ejurgensen ffe8653d9e [chromecast] Remove RAOP specifics from player.c, add generic output interface 2016-02-11 20:04:29 +01:00
ejurgensen 4c887ba7bb [chromecast] First building blocks for supporting ChromeCast 2016-02-11 20:04:29 +01:00
ejurgensen 62eb1a067d [player] Rename ticks to overrun and safeguard against decreasing from 0 2016-02-11 20:02:17 +01:00
ejurgensen 5f5a138c77 [player] Fix for player getting ahead of network streams (issue #218)
Issue caused stuttering after a few hours. This fix will check if
the player is getting behind the playback timer. Apparently, we
sometimes get samples at a rate slightly below 44100 from network
streams, and then we end up consuming too quickly. This introduces
a way of reducing consumption if that happens.
2016-02-11 08:29:29 +01:00
ejurgensen 19b69a4f67 [scripts] Typo in commit e2ec5d9, now really use "install -m 755" in
FreeBSD install script
2016-02-06 23:17:58 +01:00
ejurgensen 73cddbb9de [transcode] Fix type of stream_index so the tests make sense 2016-02-06 19:51:13 +01:00
ejurgensen 3aab9b2622 Merge pull request #227 from chme/plchangesposid
[mpd] Implement command 'plchangesposid'
2016-02-06 13:10:20 +01:00
ejurgensen e9986e9c9f [filescanner] Remove var not used in FreeBSD section 2016-02-06 11:08:45 +01:00
ejurgensen e2ec5d9422 [scripts] Use "install -m 755" in FreeBSD install script 2016-02-06 11:08:05 +01:00
ejurgensen c4c60488de Merge pull request #210 from chme/mpddb
Rework mpd command lsinfo
2016-02-06 11:01:56 +01:00
chme 73d5832d98 [filescanner] Fix use of uninitialized variable 2016-02-06 10:30:10 +01:00
chme 4878dce0b0 [mpd] Implement command 'plchangesposid' 2016-02-06 08:39:01 +01:00
chme b84df9c5c3 [filescanner] Fix compile error on freebsd 2016-02-06 07:44:19 +01:00
chme 491bf54fdb [directories/spotify] Init db with disabled spotify-root-directory and
enable only on successful login to spotify
2016-01-31 08:14:03 +01:00
chme cd5462e241 [filescanner] attempt at fixing compile errors on freebsd after the
introduction of the directories table
2016-01-31 08:14:03 +01:00
chme 8600c21424 [db-upgrade] add column date_released to files table, add column name to
speakers table
2016-01-31 08:14:03 +01:00
chme dcfec5c1d4 [filescanner] Do not process parent directories on inotify callback 2016-01-29 19:29:02 +01:00
chme 9197f0f64b [spotify] fixup - added error handling 2016-01-24 18:59:05 +01:00
chme 1a6565e512 [directories] Initialize root directories on db init 2016-01-24 18:51:22 +01:00
chme 7678f98879 fixup - use sizeof instead of PATH_MAX 2016-01-24 18:51:22 +01:00
chme c23cbde6ac fixup - remove unused enum, remove unused local variable, remove
duplicate error log for failure in create_virtual_path, remove
unnecessary empty lines
2016-01-24 18:51:22 +01:00
chme be873d69c6 [sqlext] Remove unused sql extension for 'daap_charindex' and
'daap_leftstr'
2016-01-24 18:51:22 +01:00
chme 171e30aead [mpd] use qualifier in select queries, return error message if an error
occurs (otherwise this results in a segfault)
2016-01-24 18:51:22 +01:00
chme 2611d06ab7 [mpd] add support for commands 'listall' and 'listallinfo' 2016-01-24 18:51:22 +01:00
chme 7703a997c4 [db/filescanner/spotify] Replace filelist-view with separate
directories-table
to increase the performance of the mpd command 'lsinfo'
2016-01-24 18:51:22 +01:00
chme 3740486348 [db] Move database upgrade logic to separate file 2016-01-24 18:51:22 +01:00
chme 1d69a3de90 [mpd] Add fallback to IPv4 if IPv6 failed 2016-01-24 18:51:22 +01:00
chme 9a1c8409cf [mpd] optimize query selecting files for virtual_path to use the index 2016-01-24 18:51:21 +01:00
ejurgensen 5f2fe87351 [spotify] Move purge so Spotify files get cleared even on empty .spotify (closes #219) 2016-01-17 15:29:31 +01:00
ejurgensen e08b91d6ca Merge pull request #217 from chme/spotifycleanupafterupdate
[spotify/artwork] Remove spotify songs after playlist update and delete
2016-01-17 12:57:39 +01:00
chme 532e9c3a32 [spotify/artwork] Remove spotify songs after playlist update and delete
cached artwork for removed spotify songs
2016-01-16 17:02:57 +01:00
ejurgensen bbb5d16ac3 [docs] README update 2016-01-11 21:02:12 +01:00
ejurgensen ea184a2844 [config] Include systemd service file (closes #213) 2016-01-10 18:44:26 +01:00
ejurgensen 0f58495e0d [cache] Prevent log errors if cache disabled 2016-01-09 01:26:59 +01:00
ejurgensen d356a0ae5c [spotify] Split artwork_get so we don't wait for artwork callback in the Spotify thread (which might be playing) 2016-01-09 00:36:30 +01:00
ejurgensen 22a1e16c12 [artwork] Move timebase back, it must be set for the AVCodecContext for libav (and older versions of ffmpeg?) 2016-01-07 23:42:27 +01:00
ejurgensen 3a31074c07 [spotify] Increase artwork timeout slightly 2016-01-07 23:11:19 +01:00
ejurgensen 1b24a86169 [artwork] Tidy up artwork.c and handle remaining ffmpeg deprecated warning 2016-01-07 22:48:04 +01:00
ejurgensen 89e3864035 [spotify] Wait for Spotify artwork now that the worker gets artwork async for the player thread 2016-01-07 22:25:25 +01:00
ejurgensen d56576094a [artwork] Do like libav says: "Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead." 2016-01-06 23:02:43 +01:00
ejurgensen 1f1d79025d [artwork] Keep a raw Spotify source image in case rescaling is not required 2016-01-06 22:39:32 +01:00