[solved] playlists disappear when copied to sdcard! - Android Q&A, Help & Troubleshooting

hello,
i have some playlists on my computer that contain URL's of web radio stations, and i would love to use them on my android phone.
however, after copying them to the sdcard, they disappear immediately after unmounting it.
i noticed that some playlists are unaffected by this - if they point to existing music files.
is there a way to solve this?
ps: i'm using cyanogenmod 7.2 - but i have seen other posts on xda-dev addressing similar problems, but no solution.
i hope it's not wrong to post to this subforum...
pps: just so you nderstand, it's been a lot of work to get those lists compiled, because not all web radio stations reveal their playlist files.
i've been using these lists on my computer for quite a while and they work with most media players.
they're mostly .pls but also some .m3u.

i have searched the web and came up with an answer!
android.stackexchange.com/questions/19583/disappearing-deleted-pls-files
The problem sounds like it is with the Media Scanner. When it scans the directory that the .pls file is in, it sees the playlist file (the .pls) but if the directory does not have any other media files in there (like .mp3 for example) then it automatically assumes that the playlist is empty so it deletes it. You can create a file in the directory called .nomedia and the Media Scanner will not even scan the directory, leaving your .pls files alone.
Click to expand...
Click to collapse
Creating an empty file .nomedia inside the playlist base directory solved the issue.

now i can't find a media player that opens these playlists.
i'm getting "file format not supported" or even more general errors.
i'm stumped - tried about everything from the stock mediaplayer to winamp and various others from f-droid...
i don't understand, here on my linux computer i can open these playlists in just about any application.
they are normal, utf-8 encoded files, i added 2 examples (had to rename them from .pls to .txt).
any ideas please?

Related

how to get media player to ignore folders

Hey all..
I have a few media players installed on my hero, but on the preinstalled one is there a way to get it to ignore a folder? I am currently learning spanish and have about 500 mp3's on the phone. It unfortunatly lists them all on the media player. I want to get it to ignore them so when i let it play my entire playlist on random it wont choose any of those.
is there a way? I have MixZing lite which does have an option to look at specific folders, but it wont intergrate with the lock screen (which is really very handy!). I tried adding the .nomedia onto the directory but to no avail....
I had the same problem, so far all I've done is hide the entire folder by stiking a '.' on the front of the folder e.g. hide the folder 'hidestuffinhere' by renaming it '.hidestuffinhere' using Astro or something.
The media player ignores everything under these folders:
\Media\Alarms
\Media\Ringtones
\Media\Notifications
However, if you move your spanish mp3s into these folders, they'll show up in alarms, ringtones or notifications.
sweet! that will solve my ringtones issue to then
just moved ringtones to the folder /media/ringtones but not showing up in the ringtone selection... should i do a reboot first?
Try a reboot,
If it doesn't work, backup your SD to your PC. Then format the SD card through the phone and recopy your data back.
That worked for me.
Cannot rename a folder starting with a "."
wheeljack said:
I had the same problem, so far all I've done is hide the entire folder by stiking a '.' on the front of the folder e.g. hide the folder 'hidestuffinhere' by renaming it '.hidestuffinhere' using Astro or something.
Click to expand...
Click to collapse
Tried to do the same on my HTC pro but file explorer does not allow me to rename a folder with a name starting with a dot "." ??????
tbondexpert said:
Tried to do the same on my HTC pro but file explorer does not allow me to rename a folder with a name starting with a dot "." ??????
Click to expand...
Click to collapse
you need to use linda file explorer or similar.
ricostuart said:
you need to use linda file explorer or similar.
Click to expand...
Click to collapse
Yeah, I use Astro, and it works fine.
Yep just used Astro to change my download folder (where I download ringtones to on my sd card) anyways in the music player it used to show a load of unknown albums and list the weird ringtones I had downloaded.
Changed the folder through Astro .downloads and now the music player doesn't pick up those unwanted files.
The other alternative is:
Using notepad, create an empty file
save the file as .nomedia (do not save as .txt, but "All files")
add the file .nomedia to the folder you want to avoid showing media from
This works for video, photos and MP3. They can still be accessed using file explorer.
Hope that helps

[Q] .pls/.m3u woes

I have a problem with my mp3's on my harddisk, or rather, the problem occurs when I try to copy them to my phone (on the sd-card if that matters). My cd's are ripped and for each cd, the is a .pls file indicating the order of the files (the files are not prefixed 01, 02, etc.).
My problem is that I have found no player on android (S2) that can use my .pls files (they are just text files with 1 file on each row, relative path) and the .pls file is placed in the same folder as the mp3 files. Then each cd has their own folder.
I have tried winamp, poweramp, builtin prog, video players and more. No program can understand the contents of my .pls files, but many do accept .pls files. How must the files be built in order to work? (format)
I have also tried with .m3u files and .m3u8 files, but it is the same story as with .pls.
I am at a loss. How do I transfer playlists from my pc (.pls or .m3u) to android?
Also, why is it that winamp cannot even see my mp3 files? Is it because I place them om the SD-card? It only finds a couple provided by Samsung.
galmok said:
My problem is that I have found no player on android (S2) that can use my .pls files (they are just text files with 1 file on each row, relative path) and the .pls file is placed in the same folder as the mp3 files. Then each cd has their own folder.
Click to expand...
Click to collapse
You might give AudioPlayer a try.
- free version has ads, but runs ok without internet connection
- available on SlideME (direct download apk file, no google account needed) or Market
I tried AudioPlayer 1.10 on Android 2.3.6 (Samsung Galaxy Player 4.2). It will read m3u playlists with relative paths, whether opened directly in player or passed from file manager.
Playlist editing is limited. You can't view the list or reorder items, but you can remove the current item. Saving a changed list seems buggy. When I saved right away in the directory that comes up, I got relative paths. But when I back out some levels and come back to that same directory and save, then I get absolute paths that begin "../../../../../../../../sdcard". So it seems like it works best if you already have your playlists made.
I also tried renaming the m3u list to .pls (and added .pls as a playlist extension in player settings). This .pls list worked if the player opened it directly, but not if I went through the file manager.
For now, I'm keeping it as one of my installed players. It is simple to use. I like it for what it does. It has multiple seek buttons (you can set the time interval) which are handy for navigating long sound files. And it opens the now obscure RealAudio format for me, once I added .rm .ram file extensions in the settings (though this decoding might be dependent on hardware).

[FIX][CM9][CM10]Music files NOT appearing in Music Players

WARNING: you need root for this!
A common problem with ICS and JB Stock as well as ROMs is that the music isn't appearing in the music player.
This is caused due to presence of a file ".nomedia" in your music player folders.
Up until now, you either had to use inbuilt music player ES File Explorer or search and delete all .nomedia files and hope that you get lucky.
But searching your entire phone AND sdcard can take hours, especially if you've got a big (16/32 GB) sd-card.
Also, thousands of .nomedia files could turn up if you've got lots of media files (hello manga addicts ). I have Mango installed and had nearly 3 GB of manga on my phone (), thus the search (using SolidExplorer) hadn't finished even after 3 hours.
Well, don't worry!
I've got the quickest solution to your problem:
Connect phone to computer via USB cable, or better yet use sd-card reader to directly connect the sd-card.
Use your computer to search and delete all ".nomedia" files. It's much faster .
Re-mount sd-card on your phone.
Now use Root Explorer or any other file explorer with root access.
navigate to <root directory>/data/
delete the ".nomedia" file present over there.
Enjoy your music!
Press the THANKS button, I need it.
The problem isn't quite so simple. I don't have have .nomedia files anywhere in my music folders, and yet it doesn't scan them.
I too dont have .nomedia file anywhere ! I think the problem is in libs ?
Try this.
If you have the patience, install mixzing player. reboot your phone. then open mixzing first. go into folders, then the folder where you store your music, then wait. The names of the songs should change from filenames to the id3 information. Repeat for each folder, scrolling so that the info appears for each track; all while not actually playing anything. Now open your stock player, the tracks should have appeared. If they haven't, force stop the media scanner and try again.
Hit thanks if it helps !
Sent from my GT-S5830 using xda app-developers app
rahul93 said:
I too dont have .nomedia file anywhere ! I think the problem is in libs ?
Click to expand...
Click to collapse
TjBurn said:
The problem isn't quite so simple. I don't have have .nomedia files anywhere in my music folders, and yet it doesn't scan them.
Click to expand...
Click to collapse
Are you guys sure you checked the /data and /data/data files? Get your SD mounted on a pc and search for .nomedia files; include hidden files in your search.
Should work. Did for me AND a couple of my friends, all facing same problems and having different ROMs.
Just in case, tell me the names of the ROMs you people are using.
Will try to help.
Running a fresh install of PAC by nims11 and I have all my media visible. So no worries.
Did notice some corrupted jpgs , deleted them
Sent from my GT-S5830 using xda app-developers app

Hungama Music and Video app, How to import downloaded videos to pc? please help

help!!!!!!!
I have installed Hungama app from Google playstore now after that is downloaded some videos from this app and the video are there inside the application only,
then i installed ES file explorer where i can access the android/data/com.hungama.myplay.activity/files/video/.
inisde this folder all the videos can be found but the problem is that every video is having a filename with extension .cache
at first time when i entered to the folder and copied one from them and pasted there in same folder than moved the copy to another folder and renamed the filename by changing only its extension from .cache to .mp4 while having the app running in background, after renaming the file with .mp4 extension i tried to open it with MX video Player, it was played well without any buffering like an file in sdcard. i thought its easy, therefore selected all the files from that folder and copied them to another location in the sd card and tried to rename all files at once by changing their file extension from .cache to mp4 ,
But this time MX player and every mp4 player failed and now also no video is playing outside that particular app.
What could be the solution?? please post your suggestions soon,, and help!!!!
if possible can anyone here check this video file for the error why it cant be played after playing once in android MX player...
"filehosting.org/file/details/686141/video_2800254777.mp4"
Progress..?
d1310 said:
help!!!!!!!
I have installed Hungama app from Google playstore now after that is downloaded some videos from this app and the video are there inside the application only,
then i installed ES file explorer where i can access the android/data/com.hungama.myplay.activity/files/video/.
inisde this folder all the videos can be found but the problem is that every video is having a filename with extension .cache
at first time when i entered to the folder and copied one from them and pasted there in same folder than moved the copy to another folder and renamed the filename by changing only its extension from .cache to .mp4 while having the app running in background, after renaming the file with .mp4 extension i tried to open it with MX video Player, it was played well without any buffering like an file in sdcard. i thought its easy, therefore selected all the files from that folder and copied them to another location in the sd card and tried to rename all files at once by changing their file extension from .cache to mp4 ,
But this time MX player and every mp4 player failed and now also no video is playing outside that particular app.
What could be the solution?? please post your suggestions soon,, and help!!!!
if possible can anyone here check this video file for the error why it cant be played after playing once in android MX player...
"filehosting.org/file/details/686141/video_2800254777.mp4"
Click to expand...
Click to collapse
Tested on app version 5.2.18
When the app opens a .cache file, it "decrypts" it. When a file is decrypted, its name will have "decrypt" at the end
EX: encripted "audio_134298.cache"
decrypted "audio_134298decrypt.cache"
So, my solution was to download an FTP server on my phone, then connect to it through windows CMD and download the decrypted songs with a wildcard
(Make sure to CD into wherever you wanna download the songs first BEFORE doing the commands)
Code:
ftp -i
open
PHONE_IP PORT
cd Android/data/com.hungama.myplay.activity/files/track/
mget *decrypt.cache
mdelete *decrypt.cache
When I did the process described above, there were only 21 decrypted songs (Even though my library has +500 songs) (I don't know if the same 21-rule applies to videos), so you'll have to press PLAY (from the hungama app) 21 times, and then repeat the download process (mget and then mdelete to free up space)
After that's done, I fired up "Bulk Rename Utility" and changed all extensions to .mp3 (since I was converting music), and also removed the "decrypt" characters from the filenames.
But BEWARE, decrypted files are not the final form of the mp3; If you listen to them you will only hear giverish.
But at least we now have meta-data.
I would post a link to one of these files, but:
a) I don't have enough reputation to post links
b) Copyright
At this point it might just be better to write down a list of all your songs and re-download them from hungama<dot>com
Hope this helps
First of all navigate to the browser where it saves the file and Remove .nomedia File from that folder not browse the folder in MX or VLC and Enjoy the videos
d1310 said:
help!!!!!!!
I have installed Hungama app from Google playstore now after that is downloaded some videos from this app and the video are there inside the application only,
then i installed ES file explorer where i can access the android/data/com.hungama.myplay.activity/files/video/.
inisde this folder all the videos can be found but the problem is that every video is having a filename with extension .cache
Click to expand...
Click to collapse
It's not uncommon that an app creates files that other apps don't need to access, or shouldn't access.

How to exclude whatsapp gif_preview_cache folder from being included by windows scan

Whatsapp version 2.17.427 (latest updated as at 07 Jan 2018)
Phone : Samsung Galaxy S7 Edge
Android : Nougat 7.0
Windows : Windows 7 Ultimate
I would plug in my phone to pc via USB, the Autoplay options will appear, I will select "Import pictures and videos" and then it will start scanning all the folders in my phone, including microSD card.
The results will always include ALL the hundreds of gifs that I scrolled in whatsapp to preview first, before selecting and sending the 1 that I want. So I googled and read about the ".NOMEDIA" file. I did the following :
Folder path : Computer\Samsung Galaxy S7 Edge\Phone\Android\data\com.whatsapp\cache\gif\gif_preview_cache
I copied existing .nomedia files that i can find in my phone to the above folder. Didn't work, scanning still pickup the gifs.
I deleted the .nomedia file I copied, and use the native "My Files" explorer to create a new file in the above folder and name it as .nomedia. Didn't work, scanning still pickup the gifs.
I tried the above 2 methods, but this time, I restarted the phone and re-plugged in the usb. Didn't work, scanning still pickup the gifs.
I tried using ES File Explorer and create the .nomedia file. Didn't work, scanning still pickup the gifs.
I installed Nomedia app. The app didn't even have this gif cache folder on the list. No add folder function too. Next!
I tried renaming using one of my file explorer app by adding a dot to the gif_preview_cache folder so it becomes ".gif_preview_cache". From my pc, the folder disappeared. But I can still see the renamed folder from using file explorer from my phone. So the renaming works. As for the gifs scan, well it "works" because now the folder is considered hidden. Scanning will not pickup. But this is not a good permanent solution because of the problem below.
The problem is that, if i go to whatsapp to preview gifs again, whatsapp will create a NEW gif_preview_cache folder and store all the previewed gifs. Scanning will pickup. So that means, I gotta constantly rename. or it is like the same as deleting the whole folder each time. The .nomedia is supposed to do its job as a permanent solution.
After all these, I know the following will also be unlikely to work, but i still tried anyways by putting .nomedia files in the parent folders "gif" and the parent of gif, "cache". Didn't work, scanning still pickup the gifs.
The only thing i can think of is a workaround by telling whatsapp to save the gifs cache to the dot folder ".gif_preview_cache". I don't see such option available in the app. So this would require hacking whatsapp, so nah.
I am out of ideas now. Does anyone knows why certain folder like the gif_preview_cache is still pickup with the .nomedia file in it?
oh, by the way, "lockscreen_capture_port.png" keeps getting pickup as well in the folder :
Computer\Samsung Galaxy S7 Edge\Phone\Android\data\com.android.systemui\cache
I already put the .nomedia file in it. I believe this info will help, as it is now two different locations. I suspect maybe its the parent folders, maybe the "data" folder or the "Android" folder being excluded by... windows scanning procedures or something, or it is an android problem, I don't know...
I am exhausted of all possible experiments. Any contribution is appreciated. Thank you for your time and expertise!
I hate it too when all my **** pics get sucked into my wife's laptop.
Sent from my PH-1 using XDA Labs

Categories

Resources