Commit Graph

70 Commits

Author SHA1 Message Date
craig.p.drummond
cd89cab621 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
1c2b3154f4 Indicate if service is availabl or not 2013-02-18 18:13:38 +00:00
craig.p.drummond
7417f9040d - 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
02ee6d5702 Dont remove device/online-service when relevant page is disabled 2013-02-12 16:40:42 +00:00
craig.p.drummond
ac3345c65c Better thread termination 2013-01-30 19:16:03 +00:00
craig.p.drummond
c60604502f Remove Qt module prefix from includes - will make Qt5 port a little easier! 2013-01-28 19:33:42 +00:00
craig.p.drummond
fbe6f03408 Update copyright year 2013-01-17 16:57:20 +00:00
craig.p.drummond
ce17b5ade5 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
2d8a613c24 Only show relevant genres for playlist and devices 2012-12-20 21:16:53 +00:00
craig.p.drummond
bea83b3b93 Fix compile when not enabling remote device support.
BUG:136
2012-12-08 09:38:52 +00:00
craig.p.drummond
c8679cbf74 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
de823fa17c Add option to specify max cover size when transfering to device. 2012-12-07 19:44:45 +00:00
craig.p.drummond
015a2e6b5e Fix retrieval of covers from remote devices 2012-11-30 16:43:12 +00:00
craig.p.drummond
c4bc722d1f 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
427467de96 Get covers from devices 2012-11-08 19:26:07 +00:00
craig.p.drummond
330833daed Order devices in 'Copy To' menu the same as in devices page 2012-11-07 19:42:26 +00:00
craig.p.drummond
780fc3720b Refresh list of local devices when list of mount points changes.
BUG:127
2012-11-06 16:46:46 +00:00
craig.p.drummond
1512602128 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
b43e563d22 - 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
c749e57504 Dont create new device on accessibility change, just update existing one!!! 2012-11-04 21:38:35 +00:00
craig.p.drummond
a2ea4f3a6f Add connect/disconnect functionality for UMS devices. 2012-11-03 22:33:55 +00:00
craig.p.drummond
7c3dead1f9 Fix connect/disconnect icons 2012-10-16 21:06:00 +00:00
craig.p.drummond
21824a6571 - 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
fc37746627 'moc' does not like #ifdef 2012-10-10 11:32:49 +00:00
craig.p.drummond
d29096854b - 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
094354c66b Make 'Icon' a class, and move icons into Icons 2012-10-03 19:16:52 +00:00
craig.p.drummond@gmail.com
7ae62b6001 Fix artist/various-artist icons for Qt build 2012-10-02 11:28:52 +00:00
craig.p.drummond@gmail.com
e5793d6b52 More non-oxygen icon work
BUG:91
2012-09-20 11:02:47 +00:00
craig.p.drummond
e704299f24 - Use a random icon that matches the repeat icon better.
- Draw the consume icon in code, so that it matches random and repeat better.
2012-09-19 15:10:26 +00:00
craig.p.drummond
ee457e227c Don't enforce oxygen icons for Qt-only (Linux) builds. Cehck for missing icons, and use alternatives.
NOTE: This is not 100% complete yet - still require better icons for dynamic, playlists, and others...
2012-09-18 18:47:25 +00:00
craig.p.drummond
de7478723f Add 3 forms for Qt plural translations; none, singular, and others 2012-09-03 19:07:31 +00:00
craig.p.drummond@gmail.com
a04cafb7c2 Dont clear genre list when clearing music library model.
BUG:66
2012-09-03 11:32:48 +00:00
craig.p.drummond@gmail.com
1832ab8dc7 Use lupdate/lrelease for generating Qt translations from KDE ones.
Hack-around issues with Qt plural forms - use 'Tracks: 2' instead of '2 Tracks'
2012-09-03 11:27:16 +00:00
craig.p.drummond
5c7d22c72d Initial work on Qt translations. Commented out for the moment, as xgettext is crashing!!! 2012-09-02 20:13:00 +00:00
craig.p.drummond@gmail.com
62611bad53 - Dont split albums based upon year - this messes up compilation albums, where each track may have a different year.
- To be consistent, use the year of the lowest track number to be an album's year.
BUG:56
2012-08-21 11:05:41 +00:00
craig.p.drummond
9a4b322dfb Remove KIO device support - it never worked, was slow, and not useable in its current state. 2012-06-27 17:18:58 +00:00
craig.p.drummond
3d4c516184 Remove double semi-colons... 2012-06-10 14:44:29 +00:00
craig.p.drummond@gmail.com
0f639db994 When adding items to the playqueue, sort the selected items based upon their QModelIndex. 2012-06-07 11:27:29 +00:00
craig.p.drummond
4aecafef4c Add Track Organizer dialog to Qt-only build. 2012-05-31 19:48:31 +00:00
craig.p.drummond
f5f3114145 Reduce KDE/Qt code duplication - by creating dummy Dialog, MessageBox, and InputDialog classes/namespaces for Qt. 2012-05-31 17:45:57 +00:00
craig.p.drummond@gmail.com
f7ae678282 Add support for using KIO to access music collections. This is currently disabled as it is VERY slow. For example, accessing my android phone (via wifi) with 17 albums took ~60 seconds with webdav, and only ~10 when using sshfs!!!! 2012-05-03 20:07:28 +00:00
craig.p.drummond@gmail.com
168bd92744 s/RemoteDevice/RemoteFsDevice/g 2012-05-02 19:42:19 +00:00
craig.p.drummond@gmail.com
a06d1d3aef Re-arrange some minor details... 2012-05-02 19:29:38 +00:00
craig.p.drummond@gmail.com
c379fce0ed No need to store full path in each song file. 2012-05-02 18:37:45 +00:00
craig.p.drummond@gmail.com
8b24d760a4 When grouping songs into albums, take into account song year. Its possible for an artist to release two albums with the same name in different years!
BUG:6
2012-04-30 11:07:58 +00:00
craig
4a7225a249 OK, need musiclibrayitem to inherit of QObject, just having Device inherit seems to produce crashes :-( 2012-04-02 18:03:00 +00:00
craig
b8dba56619 Reduce QObject usage 2012-04-02 17:58:29 +00:00
craig
8e3e403263 Reduce memory usage - VERY slightly!!!! 2012-04-02 17:56:13 +00:00
craig
5cdb899fe0 Fix(?) crash when forget device whilst its scanning 2012-03-23 20:32:52 +00:00
craig
eb686e43df Add #define for default cover icon names 2012-03-20 21:13:18 +00:00