Commit Graph

116 Commits

Author SHA1 Message Date
craig.p.drummond
cd686e8189 Allow setting of custom device name for UMS and MTP devices. 2014-02-17 20:09:49 +00:00
craig.p.drummond
2bdfd72963 Closing files should be enough - so no need for size check 2014-02-13 19:10:57 +00:00
craig.p.drummond
3a20ff2ada Close temporary files, to ensure data is written 2014-02-13 19:05:51 +00:00
craig.p.drummond
51b828498a Check sizes of temporary files after write, to ensure data is written. This fixes an issue where sometimes 0 byte files were written from CoverDialog. 2014-02-12 22:43:47 +00:00
craig.p.drummond
3880bce631 Only translate "Unknown" and "Various Artists" once 2014-01-29 19:15:57 +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
d91f8807d2 Results of cppcheck... 2014-01-08 19:49:48 +00:00
craig.p.drummond
addfca835a Update (c) year 2014-01-06 19:32:05 +00:00
craig.p.drummond
340b341ac1 Open MTP devices in un-cached mode (faster) 2013-12-09 21:19:21 +00:00
craig.p.drummond
16bb431999 Fix MTP memleak - no all LIBMTP_destroy_XXX are recursive! 2013-12-09 21:11:10 +00:00
craig.p.drummond
8d031320f4 Slight code changes 2013-12-09 21:10:40 +00:00
craig.p.drummond
bfee543225 Show MTP track list progress in percentages. 2013-12-09 21:09:57 +00:00
craig.p.drummond
193faf3fbb Add (commented out) code to time MTP connect/update. 2013-12-08 21:48:48 +00:00
craig.p.drummond
0d2a616c99 Dissalow chaning of filename scheme for MTP devices. 2013-12-05 19:41:17 +00:00
craig.p.drummond
1e8fd1be67 Use AlbumArt as default cover name for MTP devices. 2013-12-04 19:50:53 +00:00
craig.p.drummond
360e10f0bb Only need to calculate song file size in action dialog 2013-10-25 20:04:22 +00:00
craig.p.drummond
cb8d717630 Rename Utils::createDir to Utils::createWorldReadableDir - to make its use more obvious 2013-10-15 17:16:32 +00:00
craig.p.drummond
9a53a1f44a Initial support for Composer tag 2013-08-22 18:18:59 +00:00
craig.p.drummond
1726b4155d Fix Genre refresh when change grouping 2013-08-22 18:18:23 +00:00
craig.p.drummond
262b97a4ee Fix MTP space calculation... 2013-07-23 10:51:03 +00:00
craig.p.drummond
f0bad94c9c Use i18n is a more KDE-like manner, other wise debug builds of kdelibs produce (I18N_ARGUMENT_MISSING)
BUG: 254
2013-07-18 14:52:45 +00:00
craig.p.drummond
7b7f35aa95 Reduce code duplication slightly - by placing common code in MusicModel and MultiMusicModel 2013-07-17 18:16:50 +00:00
craig.p.drummond
807d63aec2 Update storage free/used when add/remove songs 2013-06-14 17:30:47 +00:00
craig.p.drummond
813ee2f784 - Fix deletion of threads.
- Enable online services for windows builds.
2013-05-04 10:35:06 +00:00
craig.p.drummond
9454436072 Cleanup 2013-03-19 19:27:45 +00:00
craig.p.drummond
d3452f4b21 Show codec details in action dialog 2013-03-08 21:04:42 +00:00
craig.p.drummond
de3055a6b9 Thread consistency 2013-03-06 16:36:38 +00:00
craig.p.drummond
28c057b30e Dont be too strict whn checking scheme 2013-02-28 18:13:37 +00:00
craig.p.drummond
86b0454ae4 More errors... 2013-02-27 19:44:12 +00:00
craig.p.drummond
65b4b8476f Check if song exists on device before sending 2013-02-27 19:43:52 +00:00
craig.p.drummond
52c0f5a464 Attempt to get Various Artists AlbumArtist name from folder name 2013-02-27 19:42:35 +00:00
craig.p.drummond
3ef7e1a35d Remove unused var 2013-02-27 19:38:38 +00:00
craig.p.drummond
988db1d11f Hopefully folder deletion is now fixed!!!! 2013-02-26 21:22:22 +00:00
craig.p.drummond
f8f48ec315 Only copy cover once! 2013-02-26 21:06:38 +00:00
craig.p.drummond
9aa5198009 libMPT is resetting folder ID after file is sent, so store value before its sent 2013-02-26 20:05:39 +00:00
craig.p.drummond
a976de857d song.id not needed - as we encode ids in path 2013-02-26 20:04:44 +00:00
craig.p.drummond
a9740a78e1 Delete .pamp files too (PowerAmp covers?) 2013-02-26 20:04:13 +00:00
craig.p.drummond
2b27ad1bf0 Cleanup 2013-02-26 20:03:41 +00:00
craig.p.drummond
42597e61df If MTP track number is 0, then attempt to ascertin this from the filename. 2013-02-26 20:03:28 +00:00
craig.p.drummond
9562b5138c MPT cover file support 2013-02-26 20:03:06 +00:00
craig.p.drummond
a6a5e5b8e1 Fix dir deletion - need to scan all files, and store which files are in which dir, so that we know when its empty 2013-02-26 20:02:25 +00:00
craig.p.drummond
4f9c1a4305 Dont show MTP IDs in tooltips 2013-02-26 20:01:41 +00:00
craig.p.drummond
46cb7ca123 Show track number in debug. 2013-02-25 20:28:30 +00:00
craig.p.drummond
e7ae24ab43 Check space on storage. If insufficient space, then try to find another with more space. 2013-02-25 20:04:30 +00:00
craig.p.drummond
714d73c39e Fix MTP folder deletion 2013-02-25 18:58:03 +00:00
craig.p.drummond
5bb4363962 Attempt to work-around album-artist support 2013-02-25 18:55:55 +00:00
craig.p.drummond
d2684adf6d - Handle multiple storage locations on MTP devices.
- Fix creation of music folder on MTP devices.
2013-02-24 22:50:53 +00:00
craig.p.drummond
0a4c9f88dc Add some (disabled) debug 2013-02-24 15:00:11 +00:00
craig.p.drummond
a2ab0854b6 Use correct signal/slot signiatures 2013-02-24 09:54:34 +00:00
craig.p.drummond
aed8d03e9a Keep track of song -> cover filename mapping 2013-02-07 18:22:10 +00:00