Commit Graph

72 Commits

Author SHA1 Message Date
David Sansome 2a7c6de273 Register gstafcsrc properly, and use it when playing songs from an afcdevice 2010-08-01 18:09:38 +00:00
John Maguire 73657ccaaa Remove debug + Mac typo. 2010-08-01 17:38:58 +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
John Maguire 7fce4ada7d AFC QIODevice for talking to iThings. 2010-08-01 12:19:21 +00:00
David Sansome 3c6f48bd4c Ignore mounted samba shares and CDs from the GIO lister 2010-08-01 12:00:50 +00:00
David Sansome 6faa1aa1a6 Merge iLister devices with GIO devices 2010-08-01 11:55:01 +00:00
David Sansome 01b6d39341 Oops, don't read the device info while holding the mutex 2010-08-01 11:29:04 +00:00
David Sansome 9c19bfd218 Make iLister threadsafe 2010-08-01 11:24:25 +00:00
David Sansome 5517e2a503 Oops, don't need this hack any more 2010-08-01 11:05:14 +00:00
David Sansome 02783b1d5d Unmount devices from the main thread instead of the organiser thread - fixes a crash when unmounting after copying 2010-08-01 11:01:07 +00:00
David Sansome 1f2b69c6bc Add support for deleting files from the filesystem, devices, and ipods. 2010-07-31 16:12:16 +00:00
David Sansome 7ca3612bea Friendly names for the iPod Touch and iPad 2010-07-31 14:13:37 +00:00
David Sansome 18f95c205c Don't show the device capacity text in the device properties dialog any more 2010-07-31 12:48:55 +00:00
John Maguire 24837741e5 Add support for capacity/free space to iDevices.
Fix code review comments for r1585
2010-07-30 22:08:47 +00:00
John Maguire 23044bf702 Add basic support for libimobiledevice. 2010-07-30 21:10:34 +00:00
David Sansome 6f259d4ecc Show a free space bar in the organise dialog, and also show how much space would be taken up after copying files. 2010-07-29 22:16:12 +00:00
David Sansome 3ad30d14a8 Display device free space information in the device properties dialog 2010-07-29 20:03:24 +00:00
David Sansome af0a9ac79b Use statvfs instead of statfs 2010-07-29 19:06:27 +00:00
David Sansome 7c974d66da Get free space for DeviceKit devices 2010-07-29 18:14:26 +00:00
John Maguire 41d1facd9f Fix compile on Leopard & support correct icons on Mac. 2010-07-26 11:01:36 +00:00
John Maguire 6358198b06 Use correct icon for Nexus One. 2010-07-25 13:32:47 +00:00
John Maguire 39b72e2b9c Fix compiler warning. 2010-07-25 13:09:23 +00:00
David Sansome b2aba2bac2 Add an option to eject a device after copying files to it. Now with bonus multiple virtual inheritance. 2010-07-25 09:52:29 +00:00
David Sansome eeafce66bc Show devices in the organise dialog that are connected but not open 2010-07-25 09:27:41 +00:00
John Maguire c010a66e3f D'oh. 2010-07-25 01:41:06 +00:00
John Maguire 8ffc77e5b4 Unmount support on Mac. 2010-07-25 01:29:22 +00:00
David Sansome a9d75e628b Remove the connect/disconnect actions and replace them with an eject device action. Implement eject on devicekit and gio. 2010-07-25 01:07:51 +00:00
John Maguire 7b1ea18621 Fix compile without libgpod. 2010-07-25 00:43:41 +00:00
John Maguire fa923a254e iPod colour/model detection -> icon name. 2010-07-25 00:20:18 +00:00
David Sansome 94a9d520b5 Show the mount path of connected devices 2010-07-24 23:20:34 +00:00
David Sansome d13c909674 When copying songs to an iPod, add them to our LibraryBackend as well so they get shown in the model. Also support deleting the originals. 2010-07-24 20:43:51 +00:00
John Maguire ad5c51f3d5 Possibly fix crash on device disconnect. 2010-07-24 20:31:09 +00:00
John Maguire de2eb79d3c Fix crash on device removal. 2010-07-24 19:41:30 +00:00
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