15 Commits

Author SHA1 Message Date
David Sansome
48f15c9fc7 Refactoring: instead of passing individual pointers to useful core classes (like TaskManager or LibraryBackend) to each class that uses them, pass one singleton-like Application instance everywhere. 2012-02-26 14:40:51 +00:00
David Sansome
ccb9f8cf94 Use URLs everywhere instead of filenames. Move the URL parsing and song loading code out of individual playlist parsers and into the base class. Fix the playlist parser unit tests. 2011-04-28 12:27:53 +00:00
David Sansome
ed1a25693c Add missing licenses to debian/copyright, and add copyright information to each source file 2010-11-20 13:27:10 +00:00
David Sansome
e4f5e97b17 Allow GetSupportedFiletypes to return an error, and make it possible to request a list of supported filetypes at the same time as opening the device for copying - making things much faster on MTP devices. 2010-08-30 12:22:15 +00:00
David Sansome
04e7e26088 Allow devices to report progress information about individual songs back to the Organise object. Implement this for MTP 2010-08-28 21:55:30 +00:00
David Sansome
0faa81253f Keep the same iPod connection when copying or removing multiple files, instead of connecting and disconnecting for each one. Also fix the lockdownd hack. 2010-08-14 11:16:11 +00:00
David Sansome
1d25ee78ed Support removing files from ipods 2010-08-14 10:32:47 +00:00
David Sansome
b27238a480 Test whether we can still talk to afc before freeing the lockdownd client (fixes usbmuxd errors once and for all), report afc copy errors, keep track of files that failed to copy to a device, don't attempt to write the itunesdb if there were errors during copying. 2010-08-10 19:42:43 +00:00
David Sansome
43a27979dc Keep a shared_ptr on connected devices during the lifetime of their background processing threads 2010-08-09 21:32:25 +00:00
David Sansome
e65c710b5f Improve error handling while transferring the iTunes database to/from the iPod 2010-08-09 19:24:17 +00:00
David Sansome
58506b0469 strdup to the rescue! 2010-08-08 17:45:57 +00:00
David Sansome
a228e2b806 Copy files to afc devices. Doesn't quite work yet 2010-08-08 17:41:06 +00:00
David Sansome
d29fb119a4 Don't rewrite the paths of songs on afc devices, and mark them as streams in the playlist so they won't get re-read on startup 2010-08-08 13:27:36 +00:00
David Sansome
2a7c6de273 Register gstafcsrc properly, and use it when playing songs from an afcdevice 2010-08-01 18:09:38 +00:00
David Sansome
7a6499abde Copy the iTunes database off a libimobiledevice device and load it from the local file 2010-08-01 14:13:27 +00:00