Commit Graph

389 Commits

Author SHA1 Message Date
David Sansome 119c9c27ac Detect libimobiledevice 1.1.2 and use its new "udid" field instead of "uuid". 2012-03-27 21:24:38 +01:00
David Sansome 526a9d9960 Fix compilation of the WMDM device lister on windows 2012-02-26 16:00:00 +00:00
David Sansome ab5ccf69da Refactoring: remove BackgroundThread 2012-02-26 15:05:46 +00:00
David Sansome bacef04405 Refactoring: remove a couple of the AlbumCoverLoader instances and instead use a shared CurrentArtLoader. 2012-02-26 14:40:51 +00:00
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 10af3fef37 Maybe fix a string concatenation crash on startup on OS X. 2012-02-21 12:10:25 +00:00
John Maguire 3e65d3d5f0 Add ScopedNSAutoreleasePool from Chromium. 2012-01-31 13:54:03 +01:00
John Maguire b86be65ea1 Add ScopedIOObject. 2012-01-23 18:12:51 -08:00
Руслан Ижбулатов 5c45e22e28 Make SAC and WMDM optional 2012-01-22 14:35:22 +00:00
John Maguire ab33d9aa8c Fix a bunch of small memory leaks in the mac device handling code. 2012-01-20 16:25:05 -08:00
John Maguire 028ac3126c Use scoped_nsobject & ScopedCFTypeRef in a load of places. 2012-01-20 16:06:56 -08:00
John Maguire fddde512c9 Update old logging statements. 2012-01-20 15:22:14 -08:00
David Sansome e9c0b4bd69 Musicbrainz tagging improvements:
* Fix a bug where the song title would be used for the album field
  * Get the album's year as well
  * Include all releases for a song in the results list
  * Remove duplicate albums
  * Sort results
2012-01-07 21:51:02 +00:00
David Sansome b873209d39 Remove the <xiphcomment.h> include from song.h so that windows headers don't infect everything else. Also move other bits of song.h into song.cpp, and reduce the number of includes in song.h. 2011-11-28 13:56:55 +00:00
John Maguire 177c658366 Fix CF handle leak. 2011-11-21 16:33:01 +01:00
John Maguire b74c735268 Don't probe USB hubs and HID devices on Mac as some of them don't like it.
Update issue #981
Hopefully this fixes it.
2011-11-21 15:16:24 +01:00
John Maguire 9c6964da2c Remove another deprecated glib function call. 2011-10-26 12:06:51 +02:00
John Maguire 01f3f5c5ea Stop using deprecated glib eject functions. 2011-10-26 11:51:11 +02:00
John Maguire 309634bc18 Blacklist eLicenser copy protection dongle from Mac MTP probing.
Fixes issue #2232
2011-09-15 17:42:03 +02:00
John Maguire e1f66960f8 Swap vendor id and product id for ilok2.
Update issue #2226
D'oh, fixed.
2011-09-13 16:39:40 +02:00
John Maguire 17adb2bd6d Blacklist ilok2 device from Mac MTP detection.
Update issue #2226
Hopefully this will fix it.
2011-09-13 15:57:13 +02:00
David Sansome 143bbb4019 Make the BusyIndicator contain a label too 2011-08-27 15:03:04 +01:00
Arnaud Bienner 5841bb58a7 Correct typo in comment 2011-08-19 22:31:48 +02:00
Arnaud Bienner f33b62a877 Oops... Actually, it's better like this :) 2011-08-18 22:10:09 +02:00
Arnaud Bienner 299f15b7ee Allow GIO to handle CD devices if libcdio isn't installed 2011-08-18 21:41:14 +02:00
Arnaud Bienner 91537777c8 Ignore cdda devices detected via gio ealier, to avoid crash when getting device's filesystem info. This seems to happen because both giolister and cddadevice try to access to the device at the same time 2011-08-18 21:34:45 +02:00
Arnaud Bienner 419447e192 Reset song count during init 2011-08-18 20:23:11 +02:00
John Maguire 8ad150bd6b Don't detect CD devices on Mac when we can't use them and fix an iokit
device leak.
2011-08-15 18:13:05 +02:00
John Maguire 56a4d6b743 Fix double unref on cdda element. 2011-08-15 18:08:09 +02:00
John Maguire 50824cafe9 Make AskForScan() per-device rather than per device lister and fix cddadevice to use the url rather than the unique id. 2011-08-11 22:10:14 +02:00
John Maguire b458c9d24c Merge branch 'master' of https://code.google.com/p/clementine-player
Conflicts:
	src/devices/devicemanager.cpp
2011-08-11 21:46:48 +02:00
John Maguire 75a53d0b36 Detect CD removal on mac. 2011-08-11 21:43:00 +02:00
John Maguire 47a171fca7 Detect cd insertion on mac. 2011-08-11 21:37:09 +02:00
Arnaud Bienner 4509757233 We cannot change CD device's content: return false for those methods. This will display an error message, more explicit than doing nothing without any warning 2011-08-11 01:16:08 +02:00
Arnaud Bienner 3b6af2298d Remove useless return statement which prevents using the 'friendly name' (even if we're supposed to rarely go here) 2011-08-11 01:10:45 +02:00
Arnaud Bienner 1a4aa8f641 Make the 'dont ask on first connect' more generic 2011-08-11 00:59:34 +02:00
Arnaud Bienner f963ae524a Ignore devices that correspond to symlink to avoid duplicate 2011-08-11 00:15:26 +02:00
David Sansome 082716e9c9 Don't try to compile audio CD support if libcdio isn't installed. 2011-08-10 16:30:36 +01:00
Arnaud Bienner 0b795841d5 Merge branch 'master' of https://code.google.com/p/clementine-player 2011-08-10 00:49:43 +02:00
Arnaud Bienner 07ce755060 Work with multiple CD devices 2011-08-10 00:49:36 +02:00
John Maguire 6d9bc9d3f4 Don't constantly refresh the cd device if it doesn't support checking for media changes.
Filter out irrelevant devices on OS X.
2011-08-09 21:30:28 +02:00
John Maguire 176efeb4b0 Add debug logging to cdda lister. 2011-08-09 20:28:50 +02:00
John Maguire d0a3cd2455 Fix crash in cdio on Mac. 2011-08-08 13:59:21 +02:00
David Sansome cbc05354ee Merge branch 'master' of https://code.google.com/p/clementine-player 2011-08-05 08:33:42 +01:00
Black Jack 3de111d84f Fix a crash that occurs when mounting a device with an empty backends container. Fixes issue 2121 2011-08-05 08:20:04 +01:00
Arnaud Bienner c3c4e87827 Remove now useless debug message 2011-08-05 02:35:38 +02:00
Arnaud Bienner f7859f591c Adding CD devices in devices tab. Fixes issue 701. 2011-08-05 02:15:16 +02:00
David Sansome 9fadf57acc Revert "Move TaskManager::Task and UrlHandler::LoadResult structs out of their parent classes - PythonQt doesn't understand nested structs."
This reverts commit 5234798a7f.
2011-07-23 15:32:12 +01:00
David Sansome 5234798a7f Move TaskManager::Task and UrlHandler::LoadResult structs out of their parent classes - PythonQt doesn't understand nested structs. 2011-05-21 10:43:25 +00:00
David Sansome 5c1139747f Update a log line in the device kit lister 2011-05-19 23:02:30 +00:00
David Sansome c22c5eb917 Fix a build failure on Windows 2011-04-29 21:01:20 +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 3d6677fe6d Allow radio services (Spotify) to store whole songs in playlist items 2011-04-26 22:06:58 +00:00
David Sansome 071f1f4f7e Add loads more debug logging on startup 2011-04-24 18:07:09 +00:00
David Sansome 3eedc916ad Add a new logging system 2011-04-22 16:50:29 +00:00
David Sansome eddc47cc64 Recognise iPods correctly when using GIO. 2011-04-12 17:27:01 +00:00
John Maguire 41ef30151a Remove debug output. 2011-04-04 13:16:13 +00:00
John Maguire ab363a54ea Fix free space & capacity counts for MTP devices on Mac. 2011-04-04 13:15:56 +00:00
David Sansome 9f04aa7bb2 Remove an unused variable. 2011-03-28 12:52:20 +00:00
David Sansome f37467ac69 Don't try to create a pixmap from an invalid HICON on Windows. Fixes issue 1417 2011-03-13 22:14:23 +00:00
David Sansome 2b08d27a88 Show loading indicators in the library model and the status bar when asynchronously loading songs during initialisation. 2011-02-26 14:27:57 +00:00
Paweł Bara 7de912d3a1 moving the responsibility for naming playlists into mimeData() methods (into models)
this means that pretty names for new playlists now also work when double clicking (in certain mode) or dragging and dropping
fixes issue #1477
2011-02-16 18:29:35 +00:00
Paweł Bara 0182829223 user-friendly name for 'Open in new playlist' playlists (fixes issue #1445) 2011-02-14 17:00:13 +00:00
Paweł Bara 60ac6768b8 Fresh new 'open in new playlist' action (Updates issue #1431). 2011-02-09 17:51:59 +00:00
Paweł Bara 4cd01a43b7 fixing names of all the 'add to playlist' items in context menus (Fixes issue #1421) 2011-02-08 22:42:09 +00:00
Paweł Bara 9a9d8ad177 don't let invalid CUE related media files into library (invalid == those which were not recognized by TagLib)
better logging of erroneous DB queries (error + query + bound values instead of just error)
2011-02-05 13:43:04 +00:00
David Sansome 7880026767 Add some better error handling to the WMDM device lister if parts of WMP aren't installed 2011-01-22 11:29:47 +00:00
David Sansome 135b32642e Refactor all the code that handles adding items to the playlist - whether it be by a context menu item, double clicking in a view or dragging. Everything now uses the models' mimeData() instead of duplicating the same code everywhere. 2011-01-10 22:26:13 +00:00
David Sansome e3a9bd7b26 Make DBUS bits optional on Linux. Thanks Nickollai. Fixes issue #1177 2010-12-26 13:38:35 +00:00
David Sansome ced9a8b6e2 Test we can connect to udisks before connecting signals and reset the pointer of the interface. Thanks mail@holger-mense.de. 2010-12-25 14:25:05 +00:00
David Sansome 9b1765d1b0 The DeviceKit service not being around is not necessarily an error - it might get started automatically. Thanks mail@holger-mense.de. Fixes issue #1060 2010-12-25 13:23:25 +00:00
David Sansome 89e3fde23b Add missing copyright headers to the icecast source and objective-c 2010-11-23 11:42:19 +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 ac90d74a28 Don't show CD drives in the devices tab 2010-10-17 20:52:07 +00:00
David Sansome 95556df6aa Move database schema into a subdirectory of data/ 2010-10-17 11:22:34 +00:00
David Sansome 56d72a00bf Try the next UI experiment - wide buttons down the side like Qt Creator 2010-10-01 19:27:01 +00:00
John Maguire e993909bd0 Fix USB mass storage devices on Mac.
Fixes issue #821
2010-09-27 17:27:08 +00:00
John Maguire 2072d6cf9e Fix crashes to do with iThings on Mac. 2010-09-20 21:03:31 +00:00
David Sansome 8c0b17c000 Ooops, perhaps the code to stop devices from auto-expanding would work better in the DeviceView class. 2010-09-18 14:29:43 +00:00
David Sansome 44f0934fed Don't crash when physically removing a device 2010-09-18 13:54:23 +00:00
John Maguire b61a05889a Disable detection of iPhone 4 and iPad until libgpod supports them.
Updates issue #742
I've blacklisted the iPhone 4 and iPad for now.
2010-09-13 17:08:10 +00:00
David Sansome c65a687678 Remove GIO devices from the list that are unmounted outside clementine 2010-09-12 19:20:06 +00:00
David Sansome c2ac3f8f32 Don't mount GIO devices automatically, instead put them in a "not mounted" state in the GUI and mount them when double-clicked on. Fixes issue #719. Probably fixes issue #723. 2010-09-11 12:29:44 +00:00
David Sansome 8f29764817 Fix a Qt 4.7 assert when drawing device item backgrounds 2010-09-10 19:59:29 +00:00
David Sansome aa6e67eb1f Some native path separator fixes for libgpod on Windows, should fix loading of classic iPods on Windows. 2010-09-09 21:49:51 +00:00
John Maguire be6e887375 Fix quirks table and add my device manually :-)
Also fixes error dialog for organise files.
2010-09-04 20:11:14 +00:00
John Maguire 885a711d3a Detect MTP device removal & free space/capacity on Mac. 2010-09-04 19:32:36 +00:00
David Sansome 28a7039977 Show a warning when the user tries to connect a MTP device or iPod when they've compiled out support for libmtp or libgpod 2010-09-04 12:57:34 +00:00
David Sansome bb4bb28c04 Automatically mount GIO volumes that get plugged in. Nautilus already does this for us in Gnome, this makes it work as expected in KDE too. 2010-09-04 12:34:01 +00:00
David Sansome d69f239eea Disable the "Copy to library" option in the device view if the device isn't a filesystem device 2010-09-04 11:27:59 +00:00
David Sansome c9e5a3dce7 Lock access to WMDM devices 2010-09-04 11:18:59 +00:00
David Sansome 034555942b Return some hardware information for WMDM devices, and fix drive paths on Windows 7 2010-09-04 11:09:59 +00:00
John Maguire 902e4906e2 Some more Mac MTP work.
Reminder: Ship libusb-compat, not legacy libusb as it is fucked.
2010-09-02 22:35:00 +00:00
John Maguire 75a576a5c2 MTP support for Mac... Currently crashes the entire USB bus so I wouldn't use it. 2010-09-02 21:20:27 +00:00
John Maguire 916502fcca Ignore non-USB disk mounts on Mac. 2010-09-02 18:24:39 +00:00
John Maguire 310fa00701 Get address and bus number of MTP devices on Mac. 2010-09-02 18:10:40 +00:00
John Maguire 1b78e8137c Remove libusb references. 2010-09-01 21:51:45 +00:00
John Maguire 9e34783602 Add references for MTP detection code. 2010-09-01 21:50:05 +00:00
John Maguire 08f257d3ee Clean up Mac MTP detection code. 2010-09-01 21:43:23 +00:00
John Maguire cce7fadc89 Dodgy code for detecting MTP devices on Mac without crashing (I'm looking at you libmtp). 2010-09-01 20:31:10 +00:00
David Sansome 1747241041 Don't crash on XP SP < 2, and output some more debugging info when guessing drive letters. 2010-08-30 20:37:53 +00:00
David Sansome 1dd6ac323e Get the drive letter for MSC WMDM devices on Windows 7 2010-08-30 19:58:01 +00:00
David Sansome e779190b2f Update free space on WMDM devices 2010-08-30 17:23:24 +00:00
David Sansome 30911ba1ad Make the second line of the device a bit smaller on Linux again 2010-08-30 14:47:30 +00:00
David Sansome e4efa8a93e Show the total song count on each device, instead of the mountpoint 2010-08-30 14:45:27 +00:00
David Sansome 210d7636f4 Oops, fix some build errors in the WMDM device 2010-08-30 12:38:09 +00:00
David Sansome 0ed30857db Fix free space reporting for WMDM and MTP 2010-08-30 12:28:03 +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 4b381e00fd Transcode files when copying them to devices 2010-08-29 19:22:21 +00:00
David Sansome 5873fe80a6 Pick a good default format to transcode to 2010-08-29 16:12:55 +00:00
David Sansome d8ea4660e7 Store the device's transcode preference in the database 2010-08-29 15:32:36 +00:00
John Maguire 3db95b0c9c Add ipod supported file types. 2010-08-29 14:49:54 +00:00
David Sansome d1ae0c8509 Show a list of formats supported by a device in the properties dialog 2010-08-29 13:49:40 +00:00
David Sansome 2f505aeb02 Lock access to MTP devices - if two threads try to connect at once it causes a crash 2010-08-29 13:49:24 +00:00
David Sansome 3e174b01b6 Get a list of file formats supported by a WMDM device 2010-08-29 00:34:35 +00:00
David Sansome 5001a5b3d1 Get a list of file formats supported by an MTP device 2010-08-29 00:08:39 +00:00
John Maguire d98e16e1b9 Fix copying to iDevice when artwork directory doesn't exist. 2010-08-28 23:37:10 +00:00
David Sansome 136a72b0cc Show individual file progress from WMDM devices too 2010-08-28 22:15:54 +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 8306ddc90b Convert paths to native windows seperators in many places throughout the UI 2010-08-28 19:07:23 +00:00
David Sansome f395d1a560 Avoid using such small font sizes 2010-08-28 18:43:01 +00:00
David Sansome 03adb9a893 Try to parse a drive letter out of a WMDM device name, so we can use it as a filesystem device and have ipod support 2010-08-28 18:21:37 +00:00
David Sansome a91d6795fe Support deleting files from WMDM devices 2010-08-28 14:56:53 +00:00
David Sansome 6990b88b0f Save the entire path to files on a WMDM device 2010-08-28 14:48:41 +00:00
David Sansome 299fb16c99 Add some better error handling when copying files to WMDM devices, and receive progress notifications (they're not used yet except to output to stderr) 2010-08-28 14:33:23 +00:00
David Sansome d980fd5ff8 Remove the pointless CreateInThread method from BackgroundThread and instead move objects to the right thread after creation. 2010-08-27 18:36:57 +00:00
David Sansome a04309bc7d Fix compile problem with glib >= 2.25. Fixes issue #662 2010-08-27 16:43:11 +00:00
David Sansome 35708a09c5 Lazy load more context menus and dialogs 2010-08-27 16:15:54 +00:00
John Maguire 774ae905e6 Disable focus rect on Mac for more widgets. 2010-08-26 12:34:03 +00:00
David Sansome 3a67124fd9 Support copying files to WMDM devices. Sometimes doesn't crash 100% of the time. 2010-08-23 19:13:27 +00:00
John Maguire 2e03a2f093 *Fix device lister shutdown on mac
*Remove a bunch of debug
*Fix a windows translation
2010-08-23 10:26:00 +00:00
David Sansome 7821a48cb7 Get a list of songs from a WMDM device 2010-08-22 19:18:22 +00:00
David Sansome 7ff4fa261e Respond to WMDM notifications 2010-08-22 16:25:22 +00:00
David Sansome f2e13a0cb7 Create a real unique ID for each WMDM device 2010-08-22 16:11:14 +00:00
David Sansome 8c3b16a93d Properly shut down the WMDM lister 2010-08-22 15:42:21 +00:00
David Sansome 6790b43e62 Register for WMDM device notifications 2010-08-22 15:26:59 +00:00
David Sansome c86f7ff1f1 Get free space information from WMDM devices 2010-08-17 21:09:28 +00:00
David Sansome 78db71c02c Semi-working WMDM device lister 2010-08-15 23:26:04 +00:00
David Sansome 164d4f6f6f Throw away the WPD lister and add a WMDM lister 2010-08-15 18:08:09 +00:00
David Sansome ec22230f3c Add a WPD lister. Doesn't do anything yet, other than compile 2010-08-14 22:43:19 +00:00
John Maguire 871a853ff7 Fix compile on mac. 2010-08-14 18:37:16 +00:00
David Sansome ff19d31403 Support removing files from MTP devices 2010-08-14 17:06:38 +00:00
David Sansome 9fda03aa60 Support copying files to MTP devices 2010-08-14 16:39:45 +00:00
David Sansome 3f5e188045 Initial support for MTP devices 2010-08-14 15:57:05 +00:00
David Sansome 9c4282c61c Fix a bug where forgotten devices couldn't be unmounted 2010-08-14 12:42:16 +00:00
David Sansome 39132c4dcd In the organise dialog, prompt before connecting a device that hasn't been connected before 2010-08-14 12:30:51 +00:00
David Sansome c0ea45a9c9 Show an error dialog when copying or deleting files failed. 2010-08-14 11:51:50 +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 2e646494aa Update a device's free space after copying or removing files from it 2010-08-11 18:47:53 +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 9d2a4783ff Don't show empty rows in the Hardware Information view 2010-08-10 18:45:34 +00:00
David Sansome 5e00eb11de Pass shared_ptrs to music storage things to the organiser thread so they won't get deleted if the device is disconnected 2010-08-09 21:50:46 +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 4e12ef71c8 Remove old header 2010-08-09 21:14:03 +00:00
David Sansome 0ccc3a5f0a Remove dependency on libplist++ 2010-08-09 20:22:55 +00:00
John Maguire 46fe33b300 Add new icons to device properties list. 2010-08-09 20:15:12 +00:00
John Maguire 9e9d33165f * Add green ipod pngs.
* Fix transparency on ipod touch/iphone.
2010-08-09 20:06:53 +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
John Maguire f078edf0db Add ipod touch/iphone icon. 2010-08-09 19:14:42 +00:00
John Maguire 8f9492a975 bah 2010-08-09 18:42:17 +00:00
John Maguire 9ddba7251a * Get the given name for an iDevice.
* Clean up device information code & get a few more interesting values.
2010-08-09 18:40:20 +00:00
David Sansome 5739dbf1f0 Make copying to afc devices work :D 2010-08-08 19:11:34 +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 23c02830de Don't display ssh mounts in the devices list 2010-08-07 16:30:42 +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
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