Commit Graph

71 Commits

Author SHA1 Message Date
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
craig.p.drummond@gmail.com
d3219a0ac7 More non-oxygen icon work
BUG:91
2012-09-20 11:02:47 +00:00
craig.p.drummond
f508ddbbc2 - 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
80ebbf5780 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
affa21ccc5 Add 3 forms for Qt plural translations; none, singular, and others 2012-09-03 19:07:31 +00:00
craig.p.drummond@gmail.com
f526ff94b7 Dont clear genre list when clearing music library model.
BUG:66
2012-09-03 11:32:48 +00:00
craig.p.drummond@gmail.com
e5059c0a48 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
5669f724f6 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
56927b42fc - 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
57850699bd 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
4b64fa30fc Remove double semi-colons... 2012-06-10 14:44:29 +00:00
craig.p.drummond@gmail.com
f53788fc9f 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
17a2efc29f Add Track Organizer dialog to Qt-only build. 2012-05-31 19:48:31 +00:00
craig.p.drummond
f9f1edcb6f 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
4cb460f41b 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
4ee8ca74bf s/RemoteDevice/RemoteFsDevice/g 2012-05-02 19:42:19 +00:00
craig.p.drummond@gmail.com
a97a098ed6 Re-arrange some minor details... 2012-05-02 19:29:38 +00:00
craig.p.drummond@gmail.com
08813a7ec2 No need to store full path in each song file. 2012-05-02 18:37:45 +00:00
craig.p.drummond@gmail.com
c87402d2b6 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
3b07a1897b OK, need musiclibrayitem to inherit of QObject, just having Device inherit seems to produce crashes :-( 2012-04-02 18:03:00 +00:00
craig
094f4214b1 Reduce QObject usage 2012-04-02 17:58:29 +00:00
craig
2d657b4007 Reduce memory usage - VERY slightly!!!! 2012-04-02 17:56:13 +00:00
craig
828d193d26 Fix(?) crash when forget device whilst its scanning 2012-03-23 20:32:52 +00:00