Commit Graph

389 Commits

Author SHA1 Message Date
John Maguire a0fc3e3633 Fix code review comments from r1530 2010-07-24 19:02:49 +00:00
John Maguire 3cc30db7d4 Support mass storage devices on Mac. 2010-07-24 18:34:22 +00:00
David Sansome 81a1a9926e Disable the "copy to device" action if there are no devices connected 2010-07-24 18:31:05 +00:00
David Sansome c935d00986 Fix compilation without libgpod 2010-07-24 17:53:40 +00:00
David Sansome bc97872bc4 Destroy the gpodloader, only load the itunes database once, ensure only one Organiser thread can write to the ipod at once, make Organiser threads wait for the device to be loaded before they start writing. 2010-07-24 17:41:18 +00:00
David Sansome b624be9800 Add almost-working support for writing to ipods 2010-07-24 16:58:14 +00:00
John Maguire dd3182ad70 Messy mac device listing code using three different APIs. At least the IOKit one will probably go away. 2010-07-23 13:46:30 +00:00
David Sansome 9f2d610e9d Add a menu item for copying songs to devices. Only filesystem devices supported so far 2010-07-19 21:16:22 +00:00
David Sansome 62616304d8 Add a MusicStorage interface that can be used to abstract away the details of copying a file to a device. 2010-07-19 19:56:29 +00:00
David Sansome c43d695d8b Add a menu item for copying songs off devices to the library 2010-07-18 17:13:43 +00:00
David Sansome 94b1edde2f Add more song-related things to the device menu 2010-07-17 22:53:27 +00:00
David Sansome d704680579 Show some more information for GIO devices 2010-07-17 22:06:19 +00:00
David Sansome a2fe094bbe Improve device icon loading slightly 2010-07-17 21:48:09 +00:00
David Sansome 43a73555db Implement the rest of the GIO backend. Devices are now keyed off "mount URLs" as well as backend-specific device IDs, if two or more devices share the same mount URL then the metadata gets taken from the most reliable backend. 2010-07-17 17:18:02 +00:00
David Sansome 0dcdf36535 Start of work on a GIO/GVFS device backend. 2010-07-17 14:22:07 +00:00
David Sansome e9525e8ec3 Very basic support for reading iPods with libgpod. Uses a hardcoded ~/.gvfs path for now. 2010-07-04 20:52:45 +00:00
David Sansome 48a2e3dc33 Disable the "connect device" menu item if the device isn't plugged in 2010-07-04 16:10:58 +00:00
David Sansome 919f80a811 Mount points makes more sense than mount paths 2010-07-04 15:57:09 +00:00
David Sansome 2762d80722 Show the scanning progress in the device view 2010-07-04 15:56:08 +00:00
David Sansome 6c51858554 Change the capacity field to a label, and make double clicking a device actually connect it 2010-07-04 15:25:11 +00:00
David Sansome aa49082952 Save changes made in the device properties dialog 2010-07-04 15:18:37 +00:00
David Sansome b3af9fa7d7 Add a device properties dialog 2010-07-04 15:01:24 +00:00
David Sansome a892489de7 Add a menu option to forget a device, and add some helpful information dialogs 2010-07-04 12:56:49 +00:00
David Sansome 4a8bff5f4e Cope with removable media changing mount point 2010-07-04 12:10:44 +00:00
David Sansome 8c0b714791 Fix some warnings 2010-07-04 11:46:42 +00:00
David Sansome 2b58a1e19a Pass dataChanged through MergedProxyModel 2010-07-04 11:43:17 +00:00
David Sansome 88474551d5 Make the device view prettier 2010-07-04 11:34:25 +00:00
David Sansome 8c26c61b0b Sort the device libraries properly 2010-07-04 00:58:01 +00:00
David Sansome 545d28428c Use the library delegates in the devices view 2010-07-04 00:37:41 +00:00
David Sansome 71a1cf3c41 Disconnecting devices works 2010-07-04 00:33:34 +00:00
David Sansome db5409b66b Store devices in the main database 2010-07-03 23:00:07 +00:00
David Sansome 6654182032 Don't connect new devices automatically, put them in a list model. Add icons for ipods, android phones and USB memory sticks. 2010-07-03 21:05:55 +00:00
David Sansome 7c09e39d41 Only compile the DeviceKit bits on Linux 2010-06-26 12:57:00 +00:00
David Sansome 61e1f1b680 Fix a release mode compilation error 2010-06-26 12:52:27 +00:00
David Sansome 2deca7fd61 Add a DeviceManager which holds all the listers and connected devices. Make FilesystemDevices use their own LibraryWatcher. 2010-06-26 12:41:18 +00:00
David Sansome 28ea240eb8 ConnectedDevices have a LibraryModel 2010-06-25 23:38:21 +00:00
David Sansome b750df38ce Rename the DeviceEngines to DeviceListers 2010-06-25 22:36:21 +00:00
David Sansome b423350208 Put each DeviceEngine in its own thread, don't pretend to be a QAbstractItemModel (it's annoying and not at all thread-safe), add a debugging class to listen to and print events. 2010-06-25 22:01:47 +00:00
David Sansome ad9d6e7e73 Beginnings of some code to handle removable devices. DeviceKit engine for linux. Doesn't do anything useful yet. 2010-06-25 19:04:10 +00:00