Commit Graph

787 Commits

Author SHA1 Message Date
craig.p.drummond
6c94add93c Remove status colun, and draw status icon in first column. 2014-01-29 19:25:30 +00:00
craig.p.drummond
3880bce631 Only translate "Unknown" and "Various Artists" once 2014-01-29 19:15:57 +00:00
craig.p.drummond
4af9ea0d04 Fetch playlist contents when length is requested.
BUG: 399
2014-01-28 22:37:10 +00:00
craig.p.drummond
6e8b7a75cb Only column 0 has children... Caught by running model test :-) 2014-01-28 22:11:06 +00:00
craig.p.drummond
9506f06e02 Playlists model ALWAYS needs to return a columnCount of 6. In TreeView, set a flag 'forceSingleColumn' when model is set, TreeView will hide all bar 1st column.
This is better than resetting the proxy each time - as this messes up the column stretching.

BUG: 397
2014-01-28 20:23:04 +00:00
craig.p.drummond
a81681678a Dont limit search to 4 words - when calculating num BITs, need to times num BYTES by 8!!!
BUG: 396
2014-01-28 19:35:11 +00:00
craig.p.drummond
a77d285877 Coding style... 2014-01-28 19:13:26 +00:00
craig.p.drummond
a9d7461de0 Fix saving of MPD datetime to folder cache 2014-01-28 19:12:35 +00:00
craig.p.drummond
8b65d4f7eb Reset model to reset column count 2014-01-27 19:39:44 +00:00
craig.p.drummond
c0a0751643 Add 'Table' style view for playlists.
BUG: 391
2014-01-27 19:37:54 +00:00
craig.p.drummond
59b0682d81 Fix albumsview cover size when set to a tree style and Cantata is restarted.
BUG: 388
2014-01-26 10:22:06 +00:00
craig.p.drummond
1a2c7eb0b0 If Mopidy playlist starts with "Smart Playlist:" then treat as a 'smart' playlist - e.g. don't try to display song count, don't try to load songs in playlists view, use sub text 'Smart Playlist' (and fix playlist name), and don't allow saving to these playlsts. 2014-01-23 19:52:33 +00:00
craig.p.drummond
0d2f5bc4c5 Cant use 'cantata-' as stream prefix, as this collides with the (new) cantata-cdda:// protocol. Use 'cantata-stream-' instead. 2014-01-22 19:33:22 +00:00
craig.p.drummond
b51476ccc4 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
1c893759d1 Decode mopidy URIs when showin in UI 2014-01-22 19:26:14 +00:00
craig.p.drummond
5038bd4fb0 Try to detect if we are connected to Mopidy, and act accordingly 2014-01-22 19:23:26 +00:00
craig.p.drummond
92ed4d6b5b Mopidy sets DB time to 0, so need to handle this :-( 2014-01-22 19:21:16 +00:00
craig.p.drummond
ed4b0007c3 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
570faef57c Artists and Albums models dont need to use covers from AudioCDs... 2014-01-20 21:12:52 +00:00
craig.p.drummond
b22513a98b Fix automatic setting of CD cover. 2014-01-20 21:08:11 +00:00
craig.p.drummond
4cd01cf6ea Europe and Canada regions in ListenLive are not re-loadable (as they are read from listenlive.xml) 2014-01-17 20:05:13 +00:00
craig.p.drummond
a03618d458 Add new view style "Basic Tree (No Icons)". This is as per the simple tree, but only images, and not icons, will be shown. 2014-01-17 20:04:12 +00:00
craig.p.drummond
48dc521c8c Fix case 2014-01-15 19:34:17 +00:00
craig.p.drummond
2cc84fab28 Keep stream's full filepath - so that undo/redo works on playqueue 2014-01-15 19:32:44 +00:00
craig.p.drummond
7c11c3c996 Cache folder listing too 2014-01-10 20:00:10 +00:00
craig.p.drummond
a2365a4ae0 Just a little safety check... 2014-01-08 20:08:28 +00:00
craig.p.drummond
d91f8807d2 Results of cppcheck... 2014-01-08 19:49:48 +00:00
craig.p.drummond
13a07f1468 When downloading images, dont use extension to determine file format, instead look JFIF and PNG in first few data bytes.
BUG: 378
2014-01-07 20:02:40 +00:00
craig.p.drummond
addfca835a Update (c) year 2014-01-06 19:32:05 +00:00
craig.p.drummond
e64922af2b - Only show artist name of CD track if it does not start with main CD artist.
- Show track numbers in CD listing.
2014-01-03 22:39:31 +00:00
craig.p.drummond
c1642405c8 Add CMake option to disable streams tab 2014-01-03 19:04:37 +00:00
craig.p.drummond
00f9a2ff64 Add CMake option to disable online services 2014-01-03 19:04:14 +00:00
craig.p.drummond
237b075ac2 Dont clear the playqueue when Cantata is passed a song as a commandline at start-up.
BUG: 375
2014-01-03 19:03:01 +00:00
craig.p.drummond
8dcef3c6ae Remove unused 2014-01-03 19:02:19 +00:00
craig.p.drummond
0e994cb399 Delay termination slightly, so that remove signal has time 2014-01-02 19:09:55 +00:00
craig.p.drummond
7a2f2b6749 Add CMake option to disable building of internal HTTP server.
BUG: 373
2014-01-02 19:07:59 +00:00
craig.p.drummond
2273b27f15 If connected to MPD via a UNIX-domain socket, then send non-MPD files as file:/// URLs to MPD - i.e. dont use internal HTTP server. To foce usage of HTTP server - set alwaysUseHttp to true in Cantata's config file.
BUG: 373
2014-01-02 19:06:13 +00:00
craig.p.drummond
34ce777a89 'Load All Covers' in album view is not usable now that scaled covers are cached - it slows down the loading too much! 2013-12-31 09:47:57 +00:00
craig.p.drummond
0fc8ecb33e Add 'Remove dusplicates' functionality to play queue and play lists.
BUG: 370
2013-12-31 08:55:00 +00:00
craig.p.drummond
1d47e67c73 Also remove CDDA files when Cantata exits. 2013-12-24 20:01:09 +00:00
craig.p.drummond
7263262909 Preserve priorities when undo/redo 2013-12-19 20:08:24 +00:00
craig.p.drummond
5acfd68792 Fix potential memory leak with cover images. 2013-12-19 20:07:12 +00:00
craig.p.drummond
135d988de0 Optionally save scaled covers (used in artist and albums views) to disk. 2013-12-19 20:06:06 +00:00
craig.p.drummond
5525103b3f Show number of matched tracks at bottom of search page 2013-12-19 20:04:28 +00:00
craig.p.drummond
ca0b7099fe Try to preserve playqueue position after undo/redo 2013-12-18 19:18:36 +00:00
craig.p.drummond
11d11e549a Fix row count 2013-12-18 19:17:41 +00:00
craig.p.drummond
092258bc18 More icons 2013-12-18 19:17:26 +00:00
craig.p.drummond
b1ff1c0fb1 Use audioFileIcon from Icons 2013-12-18 19:17:05 +00:00
craig.p.drummond
3eef603688 Add 'Search' tab - uses MPD for search. 2013-12-18 19:15:19 +00:00
craig.p.drummond
16cab8a738 Basic undo/redo support for playqueue. 2013-12-17 21:12:27 +00:00