Jump to content

Final entry in playlist files skipped if it doesn't have a valid line-end


Recommended Posts

Silly little bug that I noticed while looking into some playlist issues for another thread, and I couldn't work out why there was a one-song discrepancy between my PC and Poweramp: if the final entry in a playlist does not have a line-end terminator (CR/LF or LF), the line is ignored. I only spotted this while as I was cutting and pasting stuff around a test playlist file, and inadvertently omitted the final line-end. Text parsers should assume an implied end-of-line when reaching the end of a file.


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

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...