View Issue Details

IDProjectCategoryView StatusLast Update
0014310MMASynchronizationpublic2017-08-30 11:00
Reportermarek Assigned To 
PriorityimmediateSeveritymajorReproducibilityhave not tried
Status closedResolutionfixed 
Fixed in Version1.3.0 
Summary0014310: MMW inserts invalid path during USB sync
DescriptionMMA now detects invalid paths during USB sync. Recently it has detected invalid path inserted by MMW in following form:

4618-9159:Music/Unknown/Sleigh Ride.mp3/

it should be:

4618-9159:Music/Unknown/Sleigh Ride.mp3

MMW 4.1.17.1840
TagsNo tags attached.
Fixed in build723

Activities

Ludek

2017-07-25 12:30

developer   ~0048402

Last edited: 2017-07-25 12:50

So far I haven't been able to simulate this.

MMW always auto-adds .<extension> to the target mask and there doesn't seem to be a way how to make '/' the last char.
To find more...

Ludek

2017-07-25 19:11

developer   ~0048407

Marek added more debug info to the next MMA build to find more...

peke

2017-07-26 00:33

developer   ~0048413

I Raised priority.

By next build you meant 719 build?

marek

2017-08-10 14:56

developer   ~0048510

I have DB from build 719 with this kind of path. It is located here:

https://www.dropbox.com/s/p0b3go6a1oi8ro3/mmstore.zip?dl=0

The files have this path in both media and sync_operations table. Theirs date_added is lower than date_sync_mediastore so it is not synced from mediastore. They are really somehow from MMW.

Btw. the paths are weird even for theirs artwork. Here is an example:
Normally the artwork and data path are:
3239-3134:Music/Audiobooks/Buddha - Deepak Chopra/albumart.jpg
3239-3134:Music/Audiobooks/Buddha - Deepak Chopra/03 3_1.wma

Here the paths are:
3239-3134:Music/Audiobooks/Buddha - Deepak Chopra/96 96_2.mp3/albumart.jpg
3239-3134:Music/Audiobooks/Buddha - Deepak Chopra/96 96_2.mp3/

Ludek

2017-08-14 16:56

developer   ~0048534

Last edited: 2017-08-14 17:05

The issue is in MMA.

MMA sends such a paths when pairing tracks during Wi-Fi sync.

DIDL example:
<DIDL-Lite xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/"><item id="71" parentID="0" restricted="0"><dc:title>9 PM (Till I Come)</dc:title><upnp:class>object.item.audioItem.musicTrack</upnp:class><upnp:album>Chillout</upnp:album><upnp:artist>ATB</upnp:artist><upnp:MM_TrackType>0</upnp:MM_TrackType><res protocolInfo="http-get:*:audio/mpeg:*" duration="00:07:43.926">\Music\ATB\Chillout\02 ATB - 9 PM (Till I Come).mp3\</res></item></DIDL-Lite>

As you can see the path sent by MMA is
\Music\ATB\Chillout\02 ATB - 9 PM (Till I Come).mp3\

So MMW thinks that the track is already on the device under this path. I added workaround to MMW 4.1.18.1845 to auto-remove the extra slash.

Assigned to Marek to fix it on MMA side.

marek

2017-08-15 20:33

developer   ~0048542

Fixed in build 723

MMA has assert for this and it never use path in this format. But there was a fix recently in xml builder that caused this regression. So MMA was sending the path in invalid format during wifi sync.

peke

2017-08-30 11:00

developer   ~0048611

Verified 724