[bug] Resume last played media button is missing - MX Player

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:

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.

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?

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/

bakatrouble said:
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/
Click to expand...
Click to collapse
Have you checked under menu?

ktsamy said:
Have you checked under menu?
Click to expand...
Click to collapse
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):

bakatrouble said:
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:
Click to expand...
Click to collapse
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

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.

bakatrouble said:
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):
Click to expand...
Click to collapse
Please try latest test build from following link:
https://sites.google.com/site/mxvpen/translation/test-build
Feedback will be appreciated.
Thanks

Media state saving is correct in this test build for every link/mount point, thanks!

Related

CAUTION: using .nomedia to hide files

Hey All,
I know this topic has been dabbled in across a few threads, but I think it's worth making a dedicated sticky...
The 'accepted' way to hide media files in Android is to either make the hidden by adding a period to the front of the file name (eg: rename file.ext to .file.ext) or to add a blank file named .nomedia at the root of the folder containing the files you don't want picked up by the media scanner.
Works great in theory, but there are some existing bugs in Android (not sure if they're fixed in any release yet), that causes the media scanner to physically delete these files...!!
http://code.google.com/p/android/issues/detail?id=3692
I understand this only happens when the media scanner initiates another scan, which will happen when you power cycle your device, or unmount and remount your storage. So while you might be safe for now, watch out when you run out of battery and wonder where everything's gone...!
I don't know full details, but I suspect it might do the same for any other instructional files, like: .noimage and anything else like that...
There are some theories on how to make it work properly - like creating an empty folder first, containing the .nomedia file, then adding the media - I understand this issue is only due to the media scanner deleting records from already its database - so if it doesn't know about them first, it shouldn't be an issue... Although I'm not 100% on that - so I'd be careful.
Is this still a problem?
not for me so far, and I always turn my tab off whenever I charge (it's better for the battery)
[email protected] said:
Is this still a problem?
Click to expand...
Click to collapse
Yes it is. I have brilliant corners 1.3.1 and by god I've tried every thing I could to get it to stop deleting media from me sd2 card, to no avail. If anyone hows why it still deletes after I;'ve installed nomedia in the sd2 card's root directory please advise.

How to hide media from the gallery?

I used to be able to do it on 2.2, 2.1, etc. Just create a directory with a dot in front of it ".temps", and use astro to find the files, but maybe something is different with honeycomb? I'm doing the same thing, but gallery still sees all of my files. Thanks.
*Can't figure out how to delete this post, but go ahead and delete it, my mistake.*
maybe just use a specific micro-sd card for your porn.
toddmp said:
maybe just use a specific micro-sd card for your porn.
Click to expand...
Click to collapse
lol - that's what we were all thinking!
lockheedload said:
I used to be able to do it on 2.2, 2.1, etc. Just create a directory with a dot in front of it ".temps", and use astro to find the files, but maybe something is different with honeycomb? I'm doing the same thing, but gallery still sees all of my files. Thanks.
*Can't figure out how to delete this post, but go ahead and delete it, my mistake.*
Click to expand...
Click to collapse
.nomedia file in the directrory
toddmp said:
maybe just use a specific micro-sd card for your porn.
Click to expand...
Click to collapse
Lmao.
Clear cache and reboot -
Ya yesterday I googled this and found some said make a file called .nomedia in the folder and others said to put a . in the folder name so I did both and it didn't work, but then I reboot the TF and then it worked so not sure which one actually did it or if both did.
.nomedia does work. The thing is the media scan only run when you rebooted. I think DevTools or SpareParts (don't have my TF with me right now) has an option to force a media scan so youdon't need to reboot.
I have a similar question, but it might be different case though.
Anyway, I have a lot music folder containing mp3 songs and in each folder there is a file called folder.jpg. I created those folder.jpg files manually to assign each music folder a cover picture. They are all shown up properly in the Music player.
(I had this for long time already for my Windows phone, Android phone, Windows PCs).
The problem I have is that, those folder.jpg files are also shown in the Gallery (for Pictures) and I do not know how to exclude/hide those folder.jpg files from the Gallery.
Any clue will be appreciated.
Spawned a good idea. Given .nomedia is supported, the android devs should expand the idea to help you solve your problem. Something like .nophotos in any music folder you don't want photos to be noticed in, and .nomusic, .novideos, .nodocuments, etc..?
When you say reboot, do you mean power off/on? I use Quickpic to browse photos since it doesn't include album art, but I like the default pic viewer and would like it exclude album art as well. I added the *.nomedia to my /music directory and it still shows album art.
Try changing the name of file from folder.jpg to albumart.jpg. It worked on Android 2.x

(Feature request) Nested folders view

In big video libraries, we may find folders inside folders containing videos, so please add option in setting as ( view as nested folders or multilevel folders) or so, so folders inside folders appear not in one level as of now, but the parent folders appear first then when we press on it the inside folders appear and when we press on them the inside folders appear etc
So we can transfere the library of videos on pc which consist of multilevel folders and they appear the same way on the app i.e. multilevel folders not one level of folders only which could cause confusion sometimes
That could be added as option in setting (view as nested folders or multilevel folders) for anyone who wants to apply them
Thanks alot
I agree. @bleu8888 could this be considered for 2.0?
For reference, the original thread on the old forum: https://groups.google.com/forum/#!topic/mx-videoplayer/EL-clD5zO6g/discussion
Note: this is already on the feature request list under medim priority, #2.3: http://forum.xda-developers.com/apps/mx-player/sticky-running-list-feature-requests-t2718297
Mohamedselim said:
In big video libraries, we may find folders inside folders containing videos, so please add option in setting as ( view as nested folders or multilevel folders) or so, so folders inside folders appear not in one level as of now, but the parent folders appear first then when we press on it the inside folders appear and when we press on them the inside folders appear etc
So we can transfere the library of videos on pc which consist of multilevel folders and they appear the same way on the app i.e. multilevel folders not one level of folders only which could cause confusion sometimes
That could be added as option in setting (view as nested folders or multilevel folders) for anyone who wants to apply them
Thanks alot
Click to expand...
Click to collapse
+1 For folders with sub-folders and similar if not identical names, navigation gets very difficult or even impossible. I have to use a file manager to browse my tutorial videos.
Deleted!
parkerj7uc said:
I love this app
http://i.imgur.com/0OBoXTC.jpg@ted77usa
Click to expand...
Click to collapse
I can't tell if you are saying you like MX Player, or if you are advertising Krome. Either way, please keep needless spam to a minimum. Kindly edit your post, or I'll delete it!
CDB-Man said:
I can't tell if you are saying you like MX Player, or if you are advertising Krome. Either way, please keep needless spam to a minimum. Kindly edit your post, or I'll delete it!
Click to expand...
Click to collapse
It wasn't an advertisment! Sorry if I offended you.
CDB-Man said:
I agree. @bleu8888 could this be considered for 2.0?
For reference, the original thread on the old forum: https://groups.google.com/forum/#!topic/mx-videoplayer/EL-clD5zO6g/discussion
Note: this is already on the feature request list under medim priority, #2.3: http://forum.xda-developers.com/apps/mx-player/sticky-running-list-feature-requests-t2718297
Click to expand...
Click to collapse
Sure. it is one of major feature to be supported in 2.0
What's the ETA on the subfolder multi level view?
This has been a feature request for a couple years.
Any chance we'll see this feature before our sun becomes a red giant?
2kool2Bcruel said:
This has been a feature request for a couple years.
Any chance we'll see this feature before our sun becomes a red giant?
Click to expand...
Click to collapse
[emoji1] [emoji1]
It's already exists almost from past 1 years. In list screen goto menu > view > folders. It will show the folders in hierarchical aka nested view.
People are too lazy to read changelogs...![emoji20]
Sent from my SM-G900H using Tapatalk

files not showing

Mx player not showing any of my files :/hlp plz.
jwalbro2013 said:
Mx player not showing any of my files :/hlp plz.
Click to expand...
Click to collapse
Can you explain in detail?
Whether it does not showing anything or only of the some files are missing?
Go to settings 》List 》Video Folders. Press menu button & reset default settings. It will reset your video library.
If you are still not getting your video files,
From Settings 》List, Disable "Recognise .nomedia" & enable "Show hidden files and folders".
ktsamy said:
Can you explain in detail?
Whether it does not showing anything or only of the some files are missing?
Go to settings 》List 》Video Folders. Press menu button & reset default settings. It will reset your video library.
If you are still not getting your video files,
From Settings 》List, Disable "Recognise .nomedia" & enable "Show hidden files and folders".
Click to expand...
Click to collapse
I tried all of that still nothing is working !!! I have no files at all in mx player.In storage i chose primary external storage as SD CARD does it have anything to do with it!!
jwalbro2013 said:
I tried all of that still nothing is working !!! I have no files at all in mx player.In storage i chose primary external storage as SD CARD does it have anything to do with it!!
Click to expand...
Click to collapse
Can you share the screenshot of Settings >> List >> Video folders ?
It would better if you post a logs after a manual refresh for tgst Just press the refresh buttion on top. Wait for till loading circle turns to normal
Goto menu >> help >> Report bug. Enable Save the logs to disk & press ok. It will show where the file is saved. Go to the sdcard/internal memory with file manager now you will see a like like
report_YYYYMMDD-HHMMSS.zip
Attach the file over here. So that we can look at your issue.
Note:
If you have disabled media storage system application enable it. In that case MX will not get any video list from media storage. So, it will show blank list.
Most of the multimedia apps relies on media storage provider to get the file list quickly without complete scan.
Alternatively you can get video list by manually refreshing from the top button.

[Bug Report] after update player can't see MicroSD card

My device is an Acer Iconia a700 running Android 4.1 stock and unrooted.
Yesterday MX player happily played my media files.
Today after an update of both player and codec to the most recent version it plays nothing.
The folder list is bare and empty except for ringtones and notifications.
The folder list includes /Removable (which is where all my media is kept because the onboard storage is full of boring work stuff)
But I have no video or audio available.
The card is mounted OK
I can see the files using the file manager and long-press and play with MX
But surely I should be able to expect the same behaviour as before this KitKat update ?
saywot said:
My device is an Acer Iconia a700 running Android 4.1 stock and unrooted.
Yesterday MX player happily played my media files.
Today after an update of both player and codec to the most recent version it plays nothing.
The folder list is bare and empty except for ringtones and notifications.
The folder list includes /Removable (which is where all my media is kept because the onboard storage is full of boring work stuff)
But I have no video or audio available.
The card is mounted OK
I can see the files using the file manager and long-press and play with MX
But surely I should be able to expect the same behaviour as before this KitKat update ?
Click to expand...
Click to collapse
Kindly refresh the list. If you are still not getting immediately goto help | bug report. Save the log and upload here.
It will be helpful to resolve the issue.
ktsamy said:
Kindly refresh the list. If you are still not getting immediately goto help | bug report. Save the log and upload here.
It will be helpful to resolve the issue.
Click to expand...
Click to collapse
I've refreshed quite a few times
- the folders/files on the card remain invisible.
I'll have a go at uploading a log when I've looked for alternative players.
This one was OK but I don't have time to fiddle around with it for too long to get it to work.
saywot said:
I've refreshed quite a few times
- the folders/files on the card remain invisible.
I'll have a go at uploading a log when I've looked for alternative players.
This one was OK but I don't have time to fiddle around with it for too long to get it to work.
Click to expand...
Click to collapse
Saving & uploading the logs won't take much time. Log file will a size of few kb.
If you really want to get it resolved, kindly upload. It's upto you.
I can confirm this issue
Hi,
I can confirm this issue on my daughters Tesco Hudl also. The hudl is running android 4.2.2. Up to yesterday it was working perfectly all year long with mx player to play all her kids tv shows. However after the update which downloaded to the tablet yesterday, none of the content on the microsd is detected in the mx player. I have tried manually adding it but to no avail. I also tried uninstalling and reinstalling to rule out the possibility of a corrupted update but still no luck. I am attaching the bug report here. Hopefully this can be resolved quickly since she uses it everyday.
Thanks,
Barry.
boneill81 said:
Hi,
I can confirm this issue on my daughters Tesco Hudl also. The hudl is running android 4.2.2. Up to yesterday it was working perfectly all year long with mx player to play all her kids tv shows. However after the update which downloaded to the tablet yesterday, none of the content on the microsd is detected in the mx player. I have tried manually adding it but to no avail. I also tried uninstalling and reinstalling to rule out the possibility of a corrupted update but still no luck. I am attaching the bug report here. Hopefully this can be resolved quickly since she uses it everyday.
Thanks,
Barry.
Click to expand...
Click to collapse
The log file doesn't contain any scan logs. Refresh the video list.
Once it completes Immediately open Help | Bug Report
Save the logs & upload
Maybe this will help someone.
ktsamy said:
The log file doesn't contain any scan logs. Refresh the video list.
Once it completes Immediately open Help | Bug Report
Save the logs & upload
Click to expand...
Click to collapse
I have managed to get to the bottom of this issue on my device. The issue was in the new update of mx player. I uninstalled and re-installed and started with a fresh version to make sure I was getting an accurate representation of the problem. When I navigated to the settings regarding the folders included in the search, there were two listings active. The main local path and also another one "/removable". However when I checked the path of my microsd on the Hudl, the card is mounted as "/mnt/[sdcard or external, I dont have the device to hand right now to check the exact path name but it is in the mnt path]/". So the issue in this new version seems to have been that it did not automatically include/add the sdcard path to the listings in mx player. I had to manually search for the path and then add it. After this a refresh showed all my media. Perhaps the new version removed some default paths etc, since the old version automatically detected the sdcard everytime. Either way I hope this information helps someone else. Sorry I don't have the exact path to hand, but you get the idea anyway. Mx player is a top notch product and I am delighted it works well for my daughter again.
All the best,
Barry.
boneill81 said:
I have managed to get to the bottom of this issue on my device. The issue was in the new update of mx player. I uninstalled and re-installed and started with a fresh version to make sure I was getting an accurate representation of the problem. When I navigated to the settings regarding the folders included in the search, there were two listings active. The main local path and also another one "/removable". However when I checked the path of my microsd on the Hudl, the card is mounted as "/mnt/[sdcard or external, I dont have the device to hand right now to check the exact path name but it is in the mnt path]/". So the issue in this new version seems to have been that it did not automatically include/add the sdcard path to the listings in mx player. I had to manually search for the path and then add it. After this a refresh showed all my media. Perhaps the new version removed some default paths etc, since the old version automatically detected the sdcard everytime. Either way I hope this information helps someone else. Sorry I don't have the exact path to hand, but you get the idea anyway. Mx player is a top notch product and I am delighted it works well for my daughter again.
All the best,
Barry.
Click to expand...
Click to collapse
The new logic was introduced in 1.7.32
If your primary sdcard (it may be internal or external) is mounted under /mnt/ then mx player will list /mnt/, if primary sdcard is mounted under /storage/emulated/ it will list /storage
It looks like your primary card is mounted under /storage & secondary card is mounted under /mnt
Even in this case, most of the vendors leave symbolic links.
The main issue is that, android doesn't use any standard for external Sd mount points. There is no api to determine the mount point too.
ktsamy said:
The new logic was introduced in 1.7.32
If your primary sdcard (it may be internal or external) is mounted under /mnt/ then mx player will list /mnt/, if primary sdcard is mounted under /storage/emulated/ it will list /storage
It looks like your primary card is mounted under /storage & secondary card is mounted under /mnt
Even in this case, most of the vendors leave symbolic links.
The main issue is that, android doesn't use any standard for external Sd mount points. There is no api to determine the mount point too.
Click to expand...
Click to collapse
Thanks for the reply. The card with the content in question(the physical microsd that I put in and out of the slot) is definitely mounted under /mnt/. You are correct the initial paths shown were /storage/ and /removable/. I had to manually add the /mnt/ one in the new version. Just out of curiosity, is the new logic the root of the issue for me? Before the update at the weekend the previous version detected the microsd immediately when it was inserted and then refreshed but the new one would not until the /mnt/ path was added manually.
Cheers,
Barry.
boneill81 said:
Thanks for the reply. The card with the content in question(the physical microsd that I put in and out of the slot) is definitely mounted under /mnt/. You are correct the initial paths shown were /storage/ and /removable/. I had to manually add the /mnt/ one in the new version. Just out of curiosity, is the new logic the root of the issue for me? Before the update at the weekend the previous version detected the microsd immediately when it was inserted and then refreshed but the new one would not until the /mnt/ path was added manually.
Cheers,
Barry.
Click to expand...
Click to collapse
If you have device with you, can you send the mount point list. If you don't know how to do, install fx explorer. From the options open file systems.
Can you post the screenshots (especially user storage area)
It will be helpful to diagnosis
ktsamy said:
If you have device with you, can you send the mount point list. If you don't know how to do, install fx explorer. From the options open file systems.
Can you post the screenshots (especially user storage area)
It will be helpful to diagnosis
Click to expand...
Click to collapse
I don't have the device with me at work unfortunately but as soon as I get home I will take the screen shots and the info you requested from fx explorer and upload here for you. I'll be in touch again in a few hours. Thanks again for all the help.
Cheers,
Barry.
boneill81 said:
I don't have the device with me at work unfortunately but as soon as I get home I will take the screen shots and the info you requested from fx explorer and upload here for you. I'll be in touch again in a few hours. Thanks again for all the help.
Cheers,
Barry.
Click to expand...
Click to collapse
Thanks.
There is no need of mx player screenshot.
Just take the screenshot of fx explore home & File systems (from options).
I think it will be enough.
boneill81 said:
I don't have the device with me at work unfortunately but as soon as I get home I will take the screen shots and the info you requested from fx explorer and upload here for you. I'll be in touch again in a few hours. Thanks again for all the help.
Cheers,
Barry.
Click to expand...
Click to collapse
Would you try latest test version? This issue might be fixed.
https://sites.google.com/site/mxvpen/translation/test-build

Categories

Resources