Commit Graph

172 Commits

Author SHA1 Message Date
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