Commit Graph

346 Commits

Author SHA1 Message Date
craig.p.drummond
2330864315 Use differnt album 'keys' for playqueue, and playlist. When Moopidy is used, its possible there might be *lots* of differnt keys - and we can reset the playqueue keys when the playqueue is cleared. 2014-01-22 19:30:52 +00:00
craig.p.drummond
b27650a2aa Only recognise certain protocols as stream URLs - so that we dont think Mopidy's SubSonic, etc, URLs are streams 2014-01-22 19:30:05 +00:00
craig.p.drummond
4094e8b6fd Use cantata-cdda:// scheme not cdda:// for Cantata AudioCD URLs 2014-01-22 19:29:01 +00:00
craig.p.drummond
b17f5aec22 Check if server is mopdiy, when handling "incorrect arguments" error code 2014-01-22 19:28:31 +00:00
craig.p.drummond
02ba1c464a dbPlaytime will also be 0 if this is a mopidy server 2014-01-22 19:27:55 +00:00
craig.p.drummond
985c1134de Fix mopdiy decode 2014-01-22 19:26:47 +00:00
craig.p.drummond
bb04662c91 Mopdiy does not support setting of priority 2014-01-22 19:24:38 +00:00
craig.p.drummond
1b22662684 Fix mopidy encode 2014-01-22 19:24:18 +00:00
craig.p.drummond
238019a2f3 Try to detect if we are connected to Mopidy, and act accordingly 2014-01-22 19:23:26 +00:00
craig.p.drummond
014afe7d94 Ignore Mpodiy's "incorrect arguments" error code for crossfade and replaygain mode. The commands are not supported by Mopidy. 2014-01-21 20:20:46 +00:00
craig.p.drummond
4853b27f33 Mopidy seems to require integer arguments to be quoted! 2014-01-21 20:04:45 +00:00
craig.p.drummond
79706bd977 Handle Mopidy local:track:file paths 2014-01-21 19:42:44 +00:00
craig.p.drummond
36dfbdd9cb Fix some Mopidy 0.18 issues; cover and lyrics retrieval, folders view loading.
...more changes still required!
2014-01-21 18:58:22 +00:00
craig.p.drummond
054465656c Decode Mopidy local:track:file paths 2014-01-21 18:57:47 +00:00
craig.p.drummond
e16ae654d2 Dont need to pass "/" to first lsinfo call 2014-01-21 18:57:13 +00:00
craig.p.drummond
82701119aa As per Amarok, split albums into discs in grouped playqueue view. 2014-01-21 18:56:05 +00:00
craig.p.drummond
459d921763 Be consistent with other players, and dont show disc number in list. 2014-01-21 18:55:02 +00:00
craig.p.drummond
88e7a4f700 If file path starts with /, then its not an MPD file 2014-01-16 19:31:12 +00:00
craig.p.drummond
b74bf29a33 Keep stream's full filepath - so that undo/redo works on playqueue 2014-01-15 19:32:44 +00:00
craig.p.drummond
095f62dcbe Fix displaying of disc and track numbers for online services. 2014-01-15 19:31:52 +00:00
craig.p.drummond
dece84efa9 Use correct #define! 2014-01-15 19:31:05 +00:00
craig.p.drummond
4e3824be9e Cache folder listing too 2014-01-10 20:00:10 +00:00
craig.p.drummond
2f24b3fd9b Results of cppcheck... 2014-01-08 19:49:48 +00:00
craig.p.drummond
18a3d351a5 If listallinfo fails, usr lsinfo recursively
BUG: 379
2014-01-08 19:43:05 +00:00
craig.p.drummond
ab7ffecca3 Update (c) year 2014-01-06 19:32:05 +00:00
craig.p.drummond
8485ab8cf4 Add CMake option to disable online services 2014-01-03 19:04:14 +00:00
craig.p.drummond
da4745b207 If listallinfo fails, and using MPD>=0.18, inform user to increase MPD's buffer size 2014-01-03 19:01:28 +00:00
craig.p.drummond
c784be119b Fix error message reporting 2014-01-03 19:00:33 +00:00
craig.p.drummond
6614f4f30e Dont alter filename! 2014-01-02 19:07:15 +00:00
craig.p.drummond
477f386854 Show offending cue file / playlist in error message, when attempting to add these to a stored play list.
BUG: 372
2013-12-31 09:09:15 +00:00
craig.p.drummond
31518e6efe Add 'Remove dusplicates' functionality to play queue and play lists.
BUG: 370
2013-12-31 08:55:00 +00:00
craig.p.drummond
a035648dd9 Increase max-per-add to 10000 2013-12-30 12:14:49 +00:00
craig.p.drummond
6fa75e19e7 Allow 'add' chunk size to be configured via config file. 2013-12-30 09:59:50 +00:00
craig.p.drummond
0155bf35dd Also shorten command list when logging that it failed! 2013-12-30 09:49:16 +00:00
craig.p.drummond
3df1de9733 When adding files to playqueue, only add in batches of up to 2000 songs.
BUG: 365
2013-12-30 09:47:34 +00:00
craig.p.drummond
36f2f9cd77 Add more debug to sendCommand 2013-12-29 18:23:14 +00:00
craig.p.drummond
991830f1d7 Use a timeout of 2 seconds per 100K bytes of data - therefore, Cantata will wait longer to write the data of a large command, and read its response.
BUG: 365
2013-12-29 14:44:06 +00:00
craig.p.drummond
f218bb5a3c Improve error message if 'playlist_directory' does not exist.
BUG: 358
2013-12-26 20:54:30 +00:00
craig.p.drummond
14c5c192a4 Register QSet<qint32> meta-type 2013-12-25 21:33:17 +00:00
craig.p.drummond
3efbf60f23 When checking for Cantata streams - also check CDDA. Needed for HTTP server, so that it know which Cantata files to serve. 2013-12-24 19:57:30 +00:00
craig.p.drummond
73fae91861 Improve internal HTTP security - only server files to MPD host, and only serve files in playqueue.
BUG: 356
2013-12-24 19:15:51 +00:00
craig.p.drummond
21b3cf37a3 Preserve priorities when undo/redo 2013-12-19 20:08:24 +00:00
craig.p.drummond
bcf864444f Add 'Search' tab - uses MPD for search. 2013-12-18 19:15:19 +00:00
craig.p.drummond
09a8a0fb51 Basic undo/redo support for playqueue. 2013-12-17 21:12:27 +00:00
craig.p.drummond
d47479ff23 Fix tagtype and URL handler detection. 2013-12-17 21:09:44 +00:00
craig.p.drummond
b3ba4e8d03 If command fails without recieving an error - then display "Unknown" allong with the command.
BUG: 341
2013-12-10 19:48:38 +00:00
craig.p.drummond
c1279a163f If we can access a CUE file, but fail to parse it, then do not add CUE to album's track list. 2013-12-09 21:08:06 +00:00
craig.p.drummond
aabac89d68 More consistent .cue file detection - move code into Song class 2013-12-08 15:56:01 +00:00
craig.p.drummond
b826c9f905 If have no metadata for a Cantata stream in playqueue, use filename as path - better for display. 2013-12-06 13:11:31 +00:00
craig.p.drummond
98450aca76 If song has a disc number set, then display song track as "disc.track title" - e.g. "2.01 Blah blah" 2013-12-05 19:42:58 +00:00