Commit Graph

50 Commits

Author SHA1 Message Date
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
craig
a4a06bc641 Show album durations 2012-03-06 18:59:48 +00:00
craig
e35bdaa74c Sort songs when drag 2012-03-02 20:26:36 +00:00
craig
68566aa45d Update devices menu 2012-03-02 20:25:55 +00:00
craig
c46633f4e3 Remote devices dont need separate audio folder setting 2012-03-02 20:24:40 +00:00
craig
fe2aea3889 Track & title consistency 2012-02-29 18:09:48 +00:00
craig
a58875f09f Add existing remove devices to menu! 2012-02-28 22:12:21 +00:00
craig
3e89330391 Save/update device cache 2012-02-28 19:31:47 +00:00
craig
239b066e36 Grouped play queue :-) 2012-02-24 18:09:07 +00:00
craig
8f97302b7f Add simple HTTP server 2012-02-22 18:52:38 +00:00
craig
6089574068 File protocol cannot connect/disconnect 2012-02-22 17:27:03 +00:00
craig
46ec3763e7 Add connect/disconnect action 2012-02-21 22:23:55 +00:00
craig
1f7cbb6113 Load remote devies *after* loadng mpd password 2012-02-21 21:14:57 +00:00
craig
5b68bd2e2b Initial work on remote (sshfs) devices. 2012-02-21 17:01:43 +00:00
craig
6b2e2d1d5d Store genre in set 2012-02-09 19:13:21 +00:00
craig
4d17e5437a When using local UNIX domain socket, allow playback of non database files. 2012-02-06 19:49:53 +00:00
craig
1494f31b85 Allow to edit tags, and burn cds, from device files 2012-02-02 21:18:57 +00:00
craig
0102acebde Show song location in tooltip 2012-02-01 21:24:53 +00:00
craig
11b1db05cc Start of MTP device support. Still todo: copy-to device, remove songs, covers??? 2012-01-18 21:08:19 +00:00
craig
6d581aee00 Remove debug 2012-01-18 21:02:19 +00:00
craig
658f0bc29e Initial import of device support work
- Basic copy to/from device support.
- When refreshing library/albums, only affect parts of the model that have
  changed. (Previously the whole model was replaced).
- Allow songs to be deleted.

TODO:
- Make song deletion actually work
- Copy/delete album covers
- When deleting a whole album/artist, need to delete corresponding dir if it is empty.
- MTP devices
2012-01-15 19:18:12 +00:00