View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0013095||MediaMonkey for Android||Playback||public||2016-01-28 11:01||2016-02-14 20:01|
|Priority||urgent||Severity||major||Reproducibility||have not tried|
|Status||closed||Resolution||no change required|
|Target Version||1.1.3||Fixed in Version||1.1.3|
|Summary||0013095: Local player playback fails on tracks from sdcard on Marshmallow devices (xperia Z3 / LG 64)|
From the log media player throws error :
onError: 1, extra:-2147483648
It means MEDIA_ERROR_UNKNOWN
I think that cause of this error is path to files on sdcard:
/storage/public:179,65/Music/Air/Moon Safari/01 Air - La Femme d'Argent.mp3
the name of sdcard "public:179,65" is quite weird and I guess that MediaPlayer can have issue with that.
The log file:
|Tags||No tags attached.|
|Fixed in build|
New Developer option "Use alternative uri" in build 184.108.40.2067
Tested on emulator. When this option is enabled,
our media player use path:
in my case both urls works. We will see what happens on Z3.
There were some issues in debug log so we don't see the tree structure of storages. It is fixed in build 536.
I think that it shoudn't be fixed in player. We have to parse valid path in StorageScanner.
In your case, /storage/1BE5-3605/ is valid path, it uses storage GUID and it works on many devices. But I have never seen the path with /public:179,65/. We will see the diagnistotics in build 538.
Btw we can also use SAF uri for playback. This can be generated from path.
Report of this on the G4:
I have found out that the user uses Marshmallow Concept ROM. So it is not final version. This bug is probably caused by invalid path that is incorrectly generated by system.
Marshmallow contains new system command line app for storage management. By running "sm list-volumes" we can obtain all storages.
Sample list from LG G4:
<code>private mounted null
public:179,65 mounted 9F29-15FD
emulated mounted null</code>
G4 and all other Marshmallow devices have the path to external storage ''/storage/9F29-15FD'' which is correct and ''9F29-15FD'' is UID of storage.
But Z3 Concept rom mounts it as ''/storage/public:179,65'' so it looks like bug in ROM. I think that we shouldn't repair it now and wait for release version of Z3 ROM.
||User is confirming that it works now http://www.mediamonkey.com/forum/viewtopic.php?p=420031#p420031|