297 Commits

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