Jump to content
rainer042

m3u file truncated to 0 bytes after removing one song from playlist

Recommended Posts

Hi,

I just tried to remove one song from a .m3u file based playlist, that can be played without problems. In the playlist view I long pressed the title I wanted to remove which was then displayed with a check mark. Next I tapped "delete" and confirmed in pop up with a simple "delete" (not "delete files") again. The song is removed from the list while the other songs are still shown, but when I look at the .m3u file afterwards it has been truncated to 0 bytes and after a restart of PA the list is correctly also shown to be empty.

So a removal of one song from a playlist deletes all entries from a .m3u playlist file.

Thanks
Rainer

 

Share this post


Link to post
Share on other sites

A number of people have experienced this issue of finding zero-byte playlist files (me included) but Max has not been able to track down the circumstances that cause it. Is this process fully repeatable for you if you create few small M3U file-based playlists and then remove one entry from each in Poweramp? 

Andre

Share this post


Link to post
Share on other sites

Hello andrewilley,

I tested to delete one title (randomly selected) from a total of three .m3u based playlists that I have on my sdcard under the "Music/" folder. Then I exited from PA and each of the three playlists had a size of 0bytes. Then I restored the whole folder containing the playlists including the three I had tested and again removed one song from each of the three playlists. Again all of them were empty afterwards.

So for me it seems to happen reliably.

Have a nice day

Rainer

Share this post


Link to post
Share on other sites

Your android version? What is the location of playlist? Have you ever given permissions for the storage of playlists?

(On some Androids, there is no any direct access to sd card/external storage, thus Android Storage Access Framework API is used, which completely hides all file operations from app and gives no control over how files are written. There are some tweaks regarding that in next 819 builds, though).

Share this post


Link to post
Share on other sites

Hello maxmp

the playlists are stored on my "external" micro sdcard. I am not 100% sure I explicitly allowed PA to access the sdcard however it must have access since I tested to add a song to a playlist and then checked if the song was in the .m3u file, and it was. Then I tested removing an entry which led to the empty playlist. I think I had to allow PW once to access my sdcard. In this case a filebrowser was opened where I had to select the device (internal/sd)  that I want to grant access to and then had to confirm this action.

I just rececked to add one title to the playlist and this title is immediately afterwards in the corresponding .m3u file. Next I deleted this very title again from the playlist and after exiting from PA the playlist .m3u file was empty again.

My mobile is a Samsung S8 running Android 8.0.0

 

Share this post


Link to post
Share on other sites

After the lastest update (to Build 820) deleting an entry from a .m3u based playlist now works fine and does no longer result in an empty playlist.

Great!

Thanks
Rainer

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...