Hi all !

Now that the work on lastfm is almost done and exported as a tool, we have 
gained an aditional proper xml parsing of :
* XSPF
* Podcast (RSS+XML)
* ASX
* SMIL

As lastfm playlists are also XSPF playlists, I would like to be able to use 
lastfm:// urls into input.http, but that raises some concerns:
* input.http loops on the first song from any xml playlist, it should instead   
plays all files until possible and then reload the playlist and loop..
* How should we pass to the operator the metadatas that are included and 
parsed from the xml playlists.

Additional question, raised by David would be: shouldn't we resolve input.http 
urls the same way as for protocols ? 
This would mostly lead to an even more generic input(uri) operator, that 
instead of trying to download and then play, would stream the uri...

Now for the strange and nasty bug, I still don't understand why liquidsoap 
fires an anonymous session init for lastfm when it starts.
This triggers sometimes an exception that is not either catched, whereas I 
catched everything in my code.
This leads to awfully crashing liq when this request fails, like when lastfm 
or network is down.. Try it you'll see :)


Apart from those two points, I'm ok to start another test and release 
process...


Romain

Répondre à