Handle empty lines in m3u parser
|Status:||Closed||Start date:||January 14, 2013|
This patch is in reply to: http://redmine.audacious-media-player.org/boards/1/topics/662
The m3u files at slayradio.org contain extra empty lines, which break Audacious' m3u parser. The parser exits at the first empty line it encounters. As a work-around, a patch like attached works, since it skips empty lines, which should be harmless anyway. The M3U specs don't mention those extra lines, however.
What do you think?
#1 Updated by John Lindgren about 4 years ago
- Status changed from New to Resolved
- Target version set to 3.3.4
Thanks for the patch. It was enough to change the "break" statement to a "goto NEXT" without changing split_line():
#2 Updated by John Lindgren about 4 years ago
- Status changed from Resolved to Closed
- % Done changed from 0 to 100