Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,813,477 Members 41,193 Now Online
XDA Developers Android and Mobile Development Forum

[bug] Resume last played media button is missing

Tip us?
 
bakatrouble
Old
(Last edited by bakatrouble; 13th June 2014 at 07:15 PM.)
#1  
bakatrouble's Avatar
Junior Member - OP
Thanks Meter 0
Posts: 15
Join Date: Apr 2014
Default [bug] Resume last played media button is missing

Resume last played media button is missing if last played video is from /storage/sdcard1/... folder. Completed videos aren't marked too. (Didn't checked another folders)
It is on its place even if last played media file is same but has another path because of different device mount point (/mnt/ext_sdcard/...)
(Just playing with filtering scanning folders)
OS is Android 4.2.2, PacMan Rom
Device is Huawei U9508
Here's a bug demostration:
 
CDB-Man
Old
#2  
CDB-Man's Avatar
Senior Member
Thanks Meter 78
Posts: 340
Join Date: May 2013
I think MX Player is path specific. I'd recommend changing your defined video folders in your MX settings, so that it only checks 1 mount path of your SD card.
MX Player sub-forum Moderator; Primary User Support
MX Player Sub-forum
Welcome thread and FAQ -- Feature Requests list
Please hit Thanks when someone helps you out!

The Developer/Owner of MX Player is bleu8888. Please post a thread in the MX Player sub-forum for support.
For bugs or glitches, always include an MX Log Collector report.

I do not answer MX Player questions in PM. Post a thread in the MX Player sub-forum for support.

 
bakatrouble
Old
#3  
bakatrouble's Avatar
Junior Member - OP
Thanks Meter 0
Posts: 15
Join Date: Apr 2014
I know that it's solution to change video folders
But why it does work for some folders and for some folders it doesn't?
 
bakatrouble
Old
#4  
bakatrouble's Avatar
Junior Member - OP
Thanks Meter 0
Posts: 15
Join Date: Apr 2014
For example, it does appear for "/mnt/sdcard1/Anime/GTO/GTO - 01.avi", but doesn't for "/storage/ext_sdcard/Anime/GTO/GTO - 01.avi".
...while it's more likely to user select the /storage/... folder in settings, because when you open folder selection dialog, opened path is /storage/emulated/0/
 
ktsamy
Old
#5  
ktsamy's Avatar
Senior Member
Thanks Meter 1,517
Posts: 492
Join Date: Sep 2011
Location: Palani / Surat

 
DONATE TO ME
Quote:
Originally Posted by bakatrouble View Post
For example, it does appear for "/mnt/sdcard1/Anime/GTO/GTO - 01.avi", but doesn't for "/storage/ext_sdcard/Anime/GTO/GTO - 01.avi".
...while it's more likely to user select the /storage/... folder in settings, because when you open folder selection dialog, opened path is /storage/emulated/0/
Have you checked under menu?
Regards,
KTSamy


Hit Thanks if I helped
We are spending our valuable time for you without any cost.
 
bakatrouble
Old
(Last edited by bakatrouble; 13th June 2014 at 07:15 PM.)
#6  
bakatrouble's Avatar
Junior Member - OP
Thanks Meter 0
Posts: 15
Join Date: Apr 2014
Quote:
Originally Posted by ktsamy View Post
Have you checked under menu?
I do know how to fix it, but some others don't.
It think, it's a bug, when you shouldn't select some folders to get this button appear.
Here goes a bug demonstration (screencast):
 
ktsamy
Old
(Last edited by ktsamy; 13th June 2014 at 09:29 PM.)
#7  
ktsamy's Avatar
Senior Member
Thanks Meter 1,517
Posts: 492
Join Date: Sep 2011
Location: Palani / Surat

 
DONATE TO ME
Quote:
Originally Posted by bakatrouble View Post
Resume last played media button is missing if last played video is from /storage/sdcard1/... folder. Completed videos aren't marked too. (Didn't checked another folders)
It is on its place even if last played media file is same but has another path because of different device mount point (/mnt/ext_sdcard/...)
(Just playing with filtering scanning folders)
OS is Android 4.2.2, PacMan Rom
Device is Huawei U9508
Here's a bug demostration:
Yes, I can reproduce the problem.

In my case my external sd card is mounted in /storage/extSdCard. One more location is exists on /mnt/extSdCard which is actually a link not a mount point. But, real path of the file will be /storage/extSdCard/*

When MX Player scans, it saves the real path to avoid file duplicate file listing.

when you set to scan only /mnt/extSdCard on video folders it will list file. But the file state is saved with the real path. Since it's outside of folder to be scanned it will be ignored & resume button will be hidden. As you add /storage/extSdCard to the list resume button will back.

It's because of lack of standardisation in mount point & unnecessary link of mount points across OEMs.

So, you have to be careful when selecting folders.

There are some workarounds that can fix the issue. I will discuss it with the developer. If you have any suggestions, it's highly appreciable.

I have attached the logs collected with mx log collector.

@bleu8888
Can you confirm my statement?

Sent from my Galaxy S5 using Tapatalk
Attached Files
File Type: zip log.txt.zip - [Click for QR Code] (45.0 KB, 0 views)
Regards,
KTSamy


Hit Thanks if I helped
We are spending our valuable time for you without any cost.
 
bakatrouble
Old
#8  
bakatrouble's Avatar
Junior Member - OP
Thanks Meter 0
Posts: 15
Join Date: Apr 2014
About suggestions...
For example, QuickPic doesn't show these links in Explorer mode (there is only "emulated" folder in /storage/), but it may produce some troubles for users, I think.
 
bleu8888
Old
#9  
Senior Member
Thanks Meter 163
Posts: 239
Join Date: Mar 2011
Quote:
Originally Posted by bakatrouble View Post
I do know how to fix it, but some others don't.
It think, it's a bug, when you shouldn't select some folders to get this button appear.
Here goes a bug demonstration (screencast):
Please try latest test build from following link:
https://sites.google.com/site/mxvpen...ion/test-build

Feedback will be appreciated.
Thanks
MX Player Developer
The Following 3 Users Say Thank You to bleu8888 For This Useful Post: [ Click to Expand ]
 
bakatrouble
Old
#10  
bakatrouble's Avatar
Junior Member - OP
Thanks Meter 0
Posts: 15
Join Date: Apr 2014
Media state saving is correct in this test build for every link/mount point, thanks!

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Create a Simple Custom Launcher from Scratch

When you are starting your journey intoany sort of development, it’s never easy at the … more

MediaTek Continues Steps Towards Being Developer-Friendly

Not too long ago MediaTek was very closed off towards the mobile developer … more

Sony PS4 Remote Play Ported to All Android Devices

Im pretty sure that every informed gamer out there perked their ears up when Sony came out … more