Commit Graph

93 Commits

Author SHA1 Message Date
craig.p.drummond
fbc3a9e38e Delay loading of local devices at start-up, so view has time to show model 2013-06-17 18:36:49 +00:00
craig.p.drummond
a5622b4682 Fix Qt5 segfault on exit, due to static QIcons being destructed. 2013-06-12 19:56:59 +00:00
craig.p.drummond
4bfeb0e940 Cleanup 2013-06-04 18:34:06 +00:00
craig.p.drummond
30465b031d Use supplied device so as to autoplay correct AudioCD 2013-06-02 18:54:21 +00:00
craig.p.drummond
ef282bdf42 If Cantata is passed cdda:// then it will load, and start to play, the current AudioCD.
BUG: 224
2013-06-01 08:48:13 +00:00
craig.p.drummond
0e683ca706 When AudioCD is ejected, remove tracks from playqueue.
BUG: 226
2013-05-31 19:31:32 +00:00
craig.p.drummond
1b0b52130e Hack around issues with QObject, multiple inheritance, and static_cast of void pointer.
Moc requires QObject to be the fist when using multiple inheriteance, but the model uses void pointers and we want to cast up/down the music heirarchy.
Therefore, when MOC is run use QOvject as the first item. But when actually compiled use MusicLibraryItemRoot
2013-03-30 10:27:08 +00:00
craig.p.drummond
995720cf13 Simplify 2013-03-29 22:39:53 +00:00
craig.p.drummond
9e12768cf3 Remove unrequired casts 2013-03-29 22:36:59 +00:00
craig.p.drummond
6b95eb9152 Playback of AudioCDs via HTTP server 2013-03-14 19:32:27 +00:00
craig.p.drummond
66496d60d3 MusicBrainz lookup 2013-03-13 20:01:51 +00:00
craig.p.drummond
37daf25a84 Remove icons from menu for Qt5 QGtkStyle 2013-03-13 19:50:54 +00:00
craig.p.drummond
661e9e825a Reduce memory usage - by having only Device/OnlineService derive from QObject, as opposed to every artist/album/song! 2013-03-12 17:04:54 +00:00
craig.p.drummond
ce489a9afb Intial attempt at audio-cd playback support. DOES NOT WORK! 2013-03-11 19:50:27 +00:00
craig.p.drummond
c2450dd194 Connect signals, so that CDDB selection dialog appears! 2013-03-07 19:23:36 +00:00
craig.p.drummond
fe12b98db0 Show album cover in devices view 2013-03-07 17:39:51 +00:00
craig.p.drummond
9889170f37 Initial support for AudioCDs
TODO: Editing of track details, covers, testing, etc...
2013-03-06 17:24:33 +00:00
craig.p.drummond
fbb9a5d41c Remove QPointer usage 2013-03-04 19:39:41 +00:00
craig.p.drummond
d71c6b3677 Only add connect/disconnect action if device supports this! 2013-03-04 19:39:26 +00:00
craig.p.drummond
1e9f654554 Expand device when connected. 2013-03-04 19:38:17 +00:00
craig.p.drummond
65b6387052 Use list of actions 2013-03-01 21:32:22 +00:00
craig.p.drummond
d4d75cbb0d Dont show MTP IDs in tooltips 2013-02-26 20:01:41 +00:00
craig.p.drummond
cc5807ad8d Load/unload file device on mount change 2013-02-22 20:37:20 +00:00
craig.p.drummond
4390e6f83d No need to call load when mount points cahnge to mounted - as that is what the device is doing! 2013-02-18 20:03:07 +00:00
craig.p.drummond
906b0ed949 Indicate if service is availabl or not 2013-02-18 18:13:38 +00:00
craig.p.drummond
20a5a4db49 - Move common actions into StdActions
- Models are in control of what actions are show at what level
2013-02-18 17:07:46 +00:00
craig.p.drummond
9cb785017e Dont remove device/online-service when relevant page is disabled 2013-02-12 16:40:42 +00:00
craig.p.drummond
a2cad3d269 Better thread termination 2013-01-30 19:16:03 +00:00
craig.p.drummond
09374f37a4 Remove Qt module prefix from includes - will make Qt5 port a little easier! 2013-01-28 19:33:42 +00:00
craig.p.drummond
476d132466 Update copyright year 2013-01-17 16:57:20 +00:00
craig.p.drummond
73dcf5cb84 Rename RemoteFsDevice::connectionStateChanged signal to RemoteFsDevice::connectionStateHasChanged so as to not interfere with Device::connectionStateChanged 2012-12-21 17:24:46 +00:00
craig.p.drummond
0d3303edc0 Only show relevant genres for playlist and devices 2012-12-20 21:16:53 +00:00
craig.p.drummond
2e125dab4f Fix compile when not enabling remote device support.
BUG:136
2012-12-08 09:38:52 +00:00
craig.p.drummond
e8b59d89e4 Get tooltip text from model, but fall back to action if model has none. 2012-12-07 19:46:59 +00:00
craig.p.drummond
d174384739 Add option to specify max cover size when transfering to device. 2012-12-07 19:44:45 +00:00
craig.p.drummond
a72fbf526a Fix retrieval of covers from remote devices 2012-11-30 16:43:12 +00:00
craig.p.drummond
37a4bf6d05 If group single tracks, or multiple artists, settings are changed, then rebuild library and device models frmo existing set of songs - as opposed to re-reading all songs from mpd/device. 2012-11-16 19:43:53 +00:00
craig.p.drummond
f687a702d6 Get covers from devices 2012-11-08 19:26:07 +00:00
craig.p.drummond
b7763676e7 Order devices in 'Copy To' menu the same as in devices page 2012-11-07 19:42:26 +00:00
craig.p.drummond
6bf866ee7a Refresh list of local devices when list of mount points changes.
BUG:127
2012-11-06 16:46:46 +00:00
craig.p.drummond
de8e17418e Mount point modification dection os only required for remote devices - seems not required to fix BUG:127 2012-11-05 22:42:04 +00:00
craig.p.drummond
456ad135fc - Remove MediaDeviceCache - as was not really being used as a cache.
- Move Solid device code into DevicesModel
- When list of mount-points changes, rescan devices. /Might/ help with BUG:127
2012-11-05 20:08:10 +00:00
craig.p.drummond
8cbdac42e3 Dont create new device on accessibility change, just update existing one!!! 2012-11-04 21:38:35 +00:00
craig.p.drummond
e8ff4df665 Add connect/disconnect functionality for UMS devices. 2012-11-03 22:33:55 +00:00
craig.p.drummond
207b28de1d Fix connect/disconnect icons 2012-10-16 21:06:00 +00:00
craig.p.drummond
e2a4f2ba9a - Create class to store contents of /proc/mounts
- Only update on changes
- Use this in RemoteFsDevice to check if device is connected
2012-10-16 21:04:18 +00:00
craig.p.drummond@gmail.com
dc5b38c33c 'moc' does not like #ifdef 2012-10-10 11:32:49 +00:00
craig.p.drummond
c844635293 - Move clear() into RemoteFsDevice, as only used by this class
- Set audioFolder in cacheFileName() if it is not already set
- Listen for changes to mtab, and load list of songs if connected and none already loaded. Likewise, clear list if not connected.
2012-10-09 19:46:36 +00:00
craig.p.drummond
7562762728 Make 'Icon' a class, and move icons into Icons 2012-10-03 19:16:52 +00:00
craig.p.drummond@gmail.com
caef5dc77e Fix artist/various-artist icons for Qt build 2012-10-02 11:28:52 +00:00