Jump to content

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


rainer042

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

 

Link to comment
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

Link to comment
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

Link to comment
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).

Link to comment
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

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...