avogelba / WinDirStats

WinDirStats - Windows Directory Statistics, private clone from:
https://bitbucket.org/windirstat/windirstat
GNU General Public License v2.0
5 stars 0 forks source link

Support for multimedia devices #46

Open avogelba opened 10 years ago

avogelba commented 10 years ago

Originally reported by: Oliver (Bitbucket: assarbad, GitHub: assarbad)


Users have been requesting support for devices like phones, cameras, tablets. These often do not expose their filesystems as a drive letter and use protocols such as PTP/MTP.


avogelba commented 9 years ago

Original comment by Mike Copperwhite (Bitbucket: root6filters, GitHub: Unknown):


Thanks for developing windirstat.

I'm a Windows C++ developer, regular user and fan of windirstat and I've also got an MTP phone. It's always annoyed me that it's difficult to use windirstat with my MTP phone. It is possible to run an android webdav server on the phone and then map this to a drive letter but it's a slow and messy workaround.

I'd be curious to experiment with extending windirstat to support MTP devices by using the WPD API to enumerate the files and folders on a device but maintaining use of the traditional file system APIs for non-MTP devices. Any thoughts from devs about where in the code it would be easiest to add support? Are there are obvious bottlenecks where file system access occurs?

There's more info about WPD and code samples below: http://blogs.msdn.com/b/wpdblog/ https://msdn.microsoft.com/en-us/library/windows/hardware/Dn614620(v=vs.85).aspx

Would there be any interest in maintaining MTP access within windirstat in future or would I be embarking on my own private hack/fork?

avogelba commented 10 years ago

Original comment by dutch_gecko (Bitbucket: dutch_gecko, GitHub: Unknown):


Opening the device in another program (which then couldn't access the actual location) produced this string:

#!
::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\\\?\usb#vid_18d1&pid_4ee1#05d00be734447c80#{6ac27878-a6fa-4155-ba85-f98f491d4f33}\SID-{10001,,13478064128}
avogelba commented 10 years ago

Original comment by Robert Sirre (Bitbucket: Atreyu, GitHub: Atreyu):


Same here on an HTC one, when I enter the path in the select a folder dialogue, it resolves to a path with two colons and a Guid, which is not accepted as a path, see:

Dialogue.png Dialogue 2.png

avogelba commented 10 years ago

Original comment by Eben Howard (Bitbucket: SquidPony, GitHub: SquidPony):


I am one such user. I have a Samsung Note 3 which has this issue. If you need any specific details/testing I'd be happy to help out.