|
From: Linus W. <lin...@gm...> - 2009-09-10 23:15:37
|
2009/9/11 Nyall Dawson <ny...@zo...>: > Ok, with DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST, tracks can be > transferred and things are looking good. OK added the flag to all the NWZ walkmen, just as good, I don't trust 'em. > One thing that confused me a > lot was that I get an error if I try to transfer a track which already > exists on the player... so I kept thinking things were still broken > when they were actually working alright. Is this normal though? It's vendor specified. An object has a unique ID and on some devices it is actually possible to have two files with the exact same name because they are actually object storage databases which just enumerate the objects sent to them (Creative devices work this way.) In the Sony Walkman case we can safely assume that the filename is stored in a flat file system inside the device, then there is already a file with that name and the device gets an internal "file exists" error and signals some random error code back since that error is really not part of the MTP protocol. Linus |