Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

New: Windows Media Audio v2 (MTP, PlaysForSure) plugin
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
 
Post new topic   Reply to topic    Total Commander Forum Index -> Plugins and addons: devel.+support (English) Printable version
View previous topic :: View next topic  
Author Message
EricB
Senior Member
Senior Member


Joined: 25 Mar 2008
Posts: 233
Location: The Netherlands

PostPosted: Thu Jan 05, 2012 3:32 pm    Post subject: Reply with quote

I would even settle for embedded, but it is not working in my case, using either MediaAudio1 or 2. Sad but true. Maybe I can dig up some documentation somewhere, since WMP is able to do the trick with either embedded and separate art.

Meanwhile, is it possible to implement some improved timestamp handling? E.g. whenever I transfer files from the player to local HD, timestamp always becomes 01-01-1980. The date/time of the start of transfer would be preferable in this case. This is of course only needed if the device does not handle datetime properly. Same goes for transferring jpg's from a camera. Is it possible to set datetime to the exif datetime? As I said in a previous post, this would lead to a full replacement of the outdated WIACam / CanonCam plugins.

Regards, EricB
Back to top
View user's profile Send private message
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 24590
Location: Switzerland

PostPosted: Fri Jan 06, 2012 4:54 am    Post subject: Reply with quote

Quote:
Meanwhile, is it possible to implement some improved timestamp handling? E.g. whenever I transfer files from the player to local HD, timestamp always becomes 01-01-1980.


What is shown in the file list on the player? 01-01-1980 or an empty column?
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
EricB
Senior Member
Senior Member


Joined: 25 Mar 2008
Posts: 233
Location: The Netherlands

PostPosted: Fri Jan 06, 2012 5:04 am    Post subject: Reply with quote

Quote:
What is shown in the file list on the player? 01-01-1980 or an empty column?


Both Creative Zen player and Canon IXUS 85 IS camera show an empty column for datetime. When copying files from player that already exist on local HD, overwrite dialog shows odd datetime for source file, like 31/12/2559 60:16:60. I did not check this for the camera yet, but it is likely to be the same.

Regards, EricB
Back to top
View user's profile Send private message
Aleq
Junior Member
Junior Member


Joined: 07 Jun 2006
Posts: 34
Location: CZ, EU

PostPosted: Tue Jan 10, 2012 6:35 am    Post subject: Reply with quote

When connecting Android 4.0 ICS over MTP, I can see both storage locations, but folders are shown as files (except .android_secure) and nothing can be opened (error)

UPDATE: This might be an issue of unstable ICS implementation, please ignore this bugreport unless confirmed. Thank you for your understanding.[/u]
Back to top
View user's profile Send private message
AlexU
Junior Member
Junior Member


Joined: 11 Jan 2012
Posts: 4

PostPosted: Wed Jan 11, 2012 6:38 am    Post subject: Reply with quote

I have the same issue with Android 4.0 and the new plugin. If I use Total Commander 7.50 with the old version of the MTP plugin (which does not rely on WMP), I have no problems and I have much faster transfer rates compared to using the Windows Explorer for MTP.

I am a little concerned that the new implementation will not be as fast if it uses WMP. The old custom implementation of the protocol seemed to be much fast than anything I have seen.
Back to top
View user's profile Send private message
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 24590
Location: Switzerland

PostPosted: Wed Jan 11, 2012 8:13 am    Post subject: Reply with quote

It's not a custom implementation, it was just the older 32-bit only protocol. Unfortunately Microsoft didn't port it to 64-bit, so I had to switch to the new protocol.

I do not see any speed difference here between the old and the new protocol with my devices. I'm using the buffer size recommended by the protocol for transfers. Maybe using a larger buffer size may help.
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
AlexU
Junior Member
Junior Member


Joined: 11 Jan 2012
Posts: 4

PostPosted: Wed Jan 11, 2012 4:03 pm    Post subject: Reply with quote

Ok, i see. The old implementation seemed to be better. Perhaps it is indeed some kind of bug with Android 4.0, but it is interesting that the old implementation seems to work MUCH better without any errors. I would not pay to much attention to speed if it is unstable with the new protocol.

Wouldn't it be possible to use some library for MTP to be indepedant from Microsoft? For example libmtp? Then again perhaps GPL might be a problem for the plugin.
Back to top
View user's profile Send private message
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 24590
Location: Switzerland

PostPosted: Thu Jan 12, 2012 8:20 am    Post subject: Reply with quote

Quote:
I would not pay to much attention to speed if it is unstable with the new protocol.

What instability? I haven't seen any with my devices. Please explain.

Quote:
Wouldn't it be possible to use some library for MTP to be indepedant from Microsoft?

Sorry, this would require a device driver, and Microsoft's driver would have to be removed - not really practical.
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
AlexU
Junior Member
Junior Member


Joined: 11 Jan 2012
Posts: 4

PostPosted: Sat Jan 14, 2012 8:46 am    Post subject: Reply with quote

If you use a Galaxy Nexus with the v2 plugin, then you will have massive problems. Files and folders are missing, some folders are shown as files with no content etc. With the old plugin, everything is working perfectly fine.

I do not know the problem. This is the same issue as described by Aleq. Perhaps it is related to Android 4.0, but the old plugin works very well for me.
Back to top
View user's profile Send private message
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 24590
Location: Switzerland

PostPosted: Mon Jan 16, 2012 9:07 am    Post subject: Reply with quote

Sorry, can't help you - just use the old plugin. This plugin is meant for media players, not for tablets.
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
AlexU
Junior Member
Junior Member


Joined: 11 Jan 2012
Posts: 4

PostPosted: Tue Jan 17, 2012 3:30 pm    Post subject: Reply with quote

It is a phone, which is used as media player by many people. I think Android devices are going to be the primary devices that use MTP in the future. However, I think that it is possible that your code is using Microsofts protocol absolutely correctly and the problem is an incompatibility, which is not your fault. Unfortunately, the old plugin only seems to work with 7.50. Anyway, thanks and keep up the good work.
Back to top
View user's profile Send private message
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 24590
Location: Switzerland

PostPosted: Wed Jan 18, 2012 9:03 am    Post subject: Reply with quote

Maybe it helps to update the Samsung KIES software. It should also update the driver.

Quote:
Unfortunately, the old plugin only seems to work with 7.50.

The plugin works with TC up to 8.0, but it's 32-bit only.
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
wenntel
Junior Member
Junior Member


Joined: 20 Oct 2008
Posts: 18

PostPosted: Wed Jan 18, 2012 12:59 pm    Post subject: Reply with quote

Got 2 errors today when using TC to empty my digital camera, video camera and smartphone...

Did some investigation and come to these 2 senario's.

1. With NO media device present:
a. enter WPD2 plugin (no subfolder will be present, as nothing is connected)
b leave te WPD2 plugin again (without having done something)
c. use command "CM_unloadpolugins"
d. click outside of TC (eg on Windows-bar)

Application Error
---------------------------
Exception EAccessViolation in module TOTALCMD.EXE at 03320EC4.
Access violation at address 037220F0. Read of address 037220F0.
---------------------------
OK
---------------------------


Doing the same (except step d: try to reenter the plugin) with a MediaDevice present gives a the following error:


---------------------------
Total Commander 7.56a
---------------------------
Exception in wpdplug.wfx:FsFindFirstW!
Access violation at address 037020F0. Read of address 037020F0
Windows 7 SP1 6.1 (Build 7601)

Please report this error to the Author, with a description
of what you were doing when this error occurred!

Windows exception: C0000005
Stack trace:
037020F0
46B8D1 46B9AA 4030D0 4030D0 4023DB 4023DB
402235 4023DB 4026A4 4026A4 676D60 4E1F91
4E1707 >646D9C 4D6B15 4D7C58 442F4F 445316
444523 422CC0 444491 422CC0 444F62 422CC0
444523 422CC0 42838C 428424 6C53C9
Raw:
4030D0 46B1E5 68593E 407642 46B8D1 46B8E7
4164DA 688637 40208E 4023DB 68593E 46B9AA
4030D0 4030D0 5D002C 4030D0 46B1E5 434B2B
407642 46B8D1 46B8E7 4033BC 4021B4 4023DB
434B2B 46B9AA 4030D0 4030D0 63FFFE 4019D4
401DE5 401E4D 4023DB 4023DB 4033BC 402359
402235 4033BC 4021B4 4023DB 4026A4 4036AD
6BE5AE 402235 4013DD 401502 401DE5 401E4D
4023DB 4026A4 676A6E 61F399 5F9A43 68692C
5F9A43 67D3C2 5FD757 5FD77A 444491 422CC0

Press Ctrl+C to copy this report!
Continue execution?
---------------------------
Yes No
---------------------------


I don't think many people use the cm_unloadplugins so probably not really important. I did because I wanted to update the WPD plugin to the latest version (and it was already loaded and thus the file was blocked). This is the result. But crashing of TC is worth mentioning...I thought....
Back to top
View user's profile Send private message
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 24590
Location: Switzerland

PostPosted: Thu Jan 19, 2012 8:39 am    Post subject: Reply with quote

Thanks, I will try to reproduce it.
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
EricB
Senior Member
Senior Member


Joined: 25 Mar 2008
Posts: 233
Location: The Netherlands

PostPosted: Thu Jan 19, 2012 3:22 pm    Post subject: Reply with quote

Christian,

I've made a trace using WPDMon (from the MTP Porting Kit) while transferring a single music file without embedded art using the Creative software to the Zen player. This file shows album art while playing. Is this of any use for debugging?
The music file was first added to the library of the Creative software and it then also showed album art in the library, which means that the folder.jpg in the original music source folder was somehow picked up. Then the file was synced to the player using the software while running wpdmon both monitoring API and PnP traffic.

Regards, EricB
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> Plugins and addons: devel.+support (English) All times are GMT - 6 Hours
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
Page 4 of 7

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Impressum: This site is maintained by Ghisler Software GmbH

Using phpBB © 2001-2005 phpBB Group