Martin is right, altough I think he meant any parameter that does NOT have a question mark is required :-)
Long time ago, lastfm use to allow streaming without user & password, so you may find some examples without them. Let us know if you found it in the doc so we can fix it.. Romain 2013/1/14 Martin Konečný <[email protected]>: > From the error, any parameter that has a question mark is required. In your > case, the user and password is required before that function turns into the > expected source. > > M > > On Jan 14, 2013 4:34 PM, "afri donc_oe" <[email protected]> wrote: >> >> Hi, >> >> I'm trying to use lastfm as a fallback but somehow my liquidsoap (v1.0.1.) >> does not recongnize the input.lastfm() method, see below: >> >> $ liquidsoap --check >> 'output.icecast(%mp3,input.lastfm("lastfm://globaltags/Rock"))' >> At line 1, char 33-60: >> this value has type >> (?id:_,?autostart:_,?bind_address:_,?buffer:_,?debug:_,?max:_, >> ?new_track_on_metadata:_,password:_,?poll_delay:_,?timeout:_,user:_, >> ?user_agent:_)->_ >> but it should be a subtype of >> source(_) >> >> Of course my script is more complex, but this is a Minimal Not-Working >> Example. What's wrong with the input.lastfm() method? I used it as described >> in the documentation: >> http://savonet.sourceforge.net/doc-1.0.1/cookbook.html#lastfm >> >> Stephan had the same problem, as described here: >> http://www.mail-archive.com/[email protected]/msg06670.html >> >> But the only answer is "I cannot see anything obviously wrong" ... Indeed, >> me neither ... but what is it - why is it not working? >> >> Thanks for your help! >> donschoe >> >> >> ------------------------------------------------------------------------------ >> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, >> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current >> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft >> MVPs and experts. SALE $99.99 this month only -- learn more at: >> http://p.sf.net/sfu/learnmore_122412 >> _______________________________________________ >> Savonet-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/savonet-users >> > > ------------------------------------------------------------------------------ > Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS > and more. Get SQL Server skills now (including 2012) with LearnDevNow - > 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. > SALE $99.99 this month only - learn more at: > http://p.sf.net/sfu/learnmore_122512 > _______________________________________________ > Savonet-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/savonet-users > ------------------------------------------------------------------------------ Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512 _______________________________________________ Savonet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/savonet-users
