Jump to content

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


andrewilley

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.

Andre

Archived

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

×
×
  • Create New...