Ok, my bad, I hadn't looked at this code for a long time. Yes, liquidsoap 
parses metadata from the `m3u` playlist and it follows this pattern:
```
#EXTINF<anything>,<artist>-<title>
```
So, your case indeed exhibits the two ambiguous cases, where `<artist>` or 
`<title>` contains a dash `-` or a comma `,`.

For the comma, there's an easy fix, which is to consider only the first comma 
in the string. However, for the dash, I'm not sure. Artist and title may both 
contain a dash, in which case there's no way to know in advance what's the 
right way. Think about this:
```
#EXTINF:233,My hot artist - feat. DJ. fancy pants - I looked for you at the 
store -- but you weren't there
D:\Music\song.mp3
```


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/savonet/liquidsoap/issues/625#issuecomment-422811385
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to