It is streaming !
but no metadata are send :(
the Song time is anytime listed as unknown
On 05.07.2013, at 16:38, daslicht <[email protected]> wrote:
> Hello Friends,
>
> after updating LiquidSoap to the latest version, my cue sheets are now parsed
> properly !!!
>
> But anyways I still have some errors:
>
> https://gist.github.com/daslicht/5934936
>
> Hopefully someone understands whats going wrong
>
> Here is my current Setup:
>
> script.liq:
> #!/usr/bin/liquidsoap
> # Log to stdout
> set("log.file",false)
> set("log.stdout",true)
> set("log.level",4)
>
> # playlist
> cue = "AnSolas&LightRocker-LiveSet2012.cue"
>
> radio = cue_cut(playlist(cue))
> radio = mksafe(radio)
>
> output.icecast(%mp3(bitrate=128),
> host = "localhost", port = 8000,
> password = "bewelcome", mount = "stream.mp3",
> radio)
>
> ...
> AnSolas&LightRocker-LiveSet2012.cue:
> FILE "/home/radio/Mixdown-MixdownFinalA_16Bit_BWF.WAV" WAVE
> TRACK 01 AUDIO
> TITLE "Sebtembuar"
> INDEX 01 00:00:00
> TRACK 02 AUDIO
> TITLE "Lets GoA!"
> INDEX 01 09:01:00
> TRACK 03 AUDIO
> TITLE "Silkyway"
> INDEX 01 19:35:00
> TRACK 04 AUDIO
> TITLE "Together (2012 Remix )"
> INDEX 01 33:37:00
> TRACK 05 AUDIO
> TITLE "November Dreams"
> INDEX 01 42:16:00
> TRACK 06 AUDIO
> TITLE "Guitar Disco"
> INDEX 01 51:20:00
>
>
> Best Regards
> Marc
>
>
>
> On 05.07.2013, at 11:01, Akos Veres <[email protected]> wrote:
>
>> I'm really interested in this aproach myself ... we play podcasts and if I
>> can change the title once the song comes in, would be awesome. So I'm
>> watching this thread closely.
>>
>> Best regards,
>> Ákos Veres
>>
>> _____________________________________________
>> http://akos.me - A little about me.
>>
>>
>> On Fri, Jul 5, 2013 at 10:54 AM, daslicht <[email protected]> wrote:
>> Anyone ?
>>
>> On 03.07.2013, at 10:09, daslicht <[email protected]> wrote:
>>
>>> Hello,
>>> ok I am back :)
>>>
>>> so here is my current Script:
>>>
>>>
>>> #!/usr/bin/liquidsoap
>>> # Log to stdout
>>> set("log.file",false)
>>> set("log.stdout",true)
>>> set("log.level",4)
>>>
>>> # Initial playlist
>>> cue = "AnSolas&LightRocker-LiveSet2012.cue"
>>>
>>> radio = cue_cut(mksafe(playlist(cue)))
>>>
>>>
>>> output.icecast(%vorbis,
>>> host = "localhost", port = 8000,
>>> password = "bewelcome", mount = "stream.ogg",
>>> radio)
>>>
>>> Thats the CueSheet:
>>> TITLE "May All Beings Be Happy"
>>> PERFORMER "AnSolas & LightRocker"
>>> REM ** Generated by CueMaster v1.6 **
>>> REM Time : 6:02:00
>>> REM Length: 362 seconds
>>> REM Year : 2013
>>> REM Genre : Electronic
>>> REM DiscID: 0d016802
>>> FILE "Mixdown-MixdownFinalA_16Bit_BWF.mp3" MP3
>>> TRACK 01 AUDIO
>>> TITLE "Sebtembuar"
>>> INDEX 01 00:00:00
>>> TRACK 02 AUDIO
>>> TITLE "Lets GoA!"
>>> INDEX 01 09:01:00
>>> TRACK 03 AUDIO
>>> TITLE "Silkyway"
>>> INDEX 01 19:35:00
>>> TRACK 04 AUDIO
>>> TITLE "Together (2012 Remix )"
>>> INDEX 01 33:37:00
>>> TRACK 05 AUDIO
>>> TITLE "November Dreams"
>>> INDEX 01 42:16:00
>>> TRACK 06 AUDIO
>>> TITLE "Guitar Disco"
>>> INDEX 01 51:20:00
>>>
>>> But i thing the cue-sheet is not properly parsed, when I start liquidsoap I
>>> get the following messages:
>>>
>>> 2013/07/03 10:03:25 [AnSolas&LightRocker-LiveSet2012(dot)cue:3] Loading
>>> playlist...
>>> 2013/07/03 10:03:25 [AnSolas&LightRocker-LiveSet2012(dot)cue:3] No mime
>>> type specified, trying autodetection.
>>> 2013/07/03 10:03:25 [playlist parser:4] Trying audio/x-scpls parser
>>> 2013/07/03 10:03:25 [playlist parser:4] Trying audio/mpegurl parser
>>> 2013/07/03 10:03:25 [AnSolas&LightRocker-LiveSet2012(dot)cue:3] Playlist
>>> treated as format audio/mpegurl
>>> 2013/07/03 10:03:25 [AnSolas&LightRocker-LiveSet2012(dot)cue:3]
>>> Successfully loaded a playlist of 27 tracks.
>>> …
>>> [request:3] Unknown protocol " INDEX 01 09" in URI " INDEX 01
>>> 09:01:00"!
>>> [request:3] Nonexistent file or ill-formed URI " TRACK 04
>>> AUDIO"!
>>>
>>> The CueSheet contains 27 Lines of code and each line seams to be
>>> interpreted as a Song !?
>>> Is there a special cue-sheet syntax necessary ?
>>>
>>> see full log:
>>> https://gist.github.com/daslicht/7b220d4a44f7daeb0be6
>>>
>>>
>>> What am I missing ?
>>>
>>>
>>> Best regards
>>> Marc
>>>
>>>
>>>
>>>
>>> On 24.03.2013, at 16:33, David Baelde <[email protected]> wrote:
>>>
>>>> Hi,
>>>>
>>>> On Sat, Mar 23, 2013 at 7:32 PM, daslicht <[email protected]> wrote:
>>>>> * Play a cue sheet
>>>>
>>>> You seem to have figured this one out yourself, using cue_cut().
>>>>
>>>>> * Return current song (can I call a LiquidSoup Script with PHP or NodeJS?)
>>>>
>>>> If you need to query liquidsoap for the current song, then a simple
>>>> on_air server command should do. You can also use the store_metadata()
>>>> which stores the last N metadata packets it sees, and offers a telnet
>>>> command for reading them.
>>>>
>>>>> * Call Script on Song change (call PHP or NodeJS)
>>>>
>>>> For this you have on_track (or on_metadata, it usually doesn't make a
>>>> big difference). If you need to call an external script you have
>>>> system(). For example: source =
>>>> on_track(fun(m)->system("/path/to/script"),source). Or something like
>>>> fun(m)->system("/path/to/script "^quote(m["title"])) if you want to
>>>> pass a metadata to the script being called.
>>>>
>>>> If you have basic needs and a minimum scripting ability, you should be
>>>> able to write your own scripts along the lines I indicated.
>>>>
>>>> HTH
>>>> --
>>>> David
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Everyone hates slow websites. So do we.
>>>> Make your web apps faster with AppDynamics
>>>> Download AppDynamics Lite for free today:
>>>> http://p.sf.net/sfu/appdyn_d2d_mar
>>>> _______________________________________________
>>>> Savonet-users mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/savonet-users
>>>
>>
>>
>> ------------------------------------------------------------------------------
>> This SF.net email is sponsored by Windows:
>>
>> Build for Windows Store.
>>
>> http://p.sf.net/sfu/windows-dev2dev
>> _______________________________________________
>> Savonet-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/savonet-users
>>
>>
>> ------------------------------------------------------------------------------
>> This SF.net email is sponsored by Windows:
>>
>> Build for Windows Store.
>>
>> http://p.sf.net/sfu/windows-dev2dev_______________________________________________
>> Savonet-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/savonet-users
>
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users