Commit e8995677 authored by Fabio Ritrovato's avatar Fabio Ritrovato

Lua SD: freebox - there was no problem after all

parent a97b78c2
...@@ -33,7 +33,6 @@ function main() ...@@ -33,7 +33,6 @@ function main()
while line ~= nil do while line ~= nil do
if( string.find( line, "#EXTINF" ) ) then if( string.find( line, "#EXTINF" ) ) then
_, _, duration, artist, name = string.find( line, ":(%w+),(%w+)%s*-%s*(.+)" ) _, _, duration, artist, name = string.find( line, ":(%w+),(%w+)%s*-%s*(.+)" )
--TODO: fix the name not showing special characters correctly
elseif( string.find( line, "#EXTVLCOPT" ) ) then elseif( string.find( line, "#EXTVLCOPT" ) ) then
_, _, option = string.find( line, ":(.+)" ) _, _, option = string.find( line, ":(.+)" )
table.insert( options, option ) table.insert( options, option )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment