Looking to pay a Liquidsoap programmer
  • I'm having a very pesky and irritating problem in liquidsoap that is explained in detail in this thread ->

    http://forum.sourcefabric.org/discussion/14549/urgent-my-scheduled-liquidsoap-script

    It seems that no developer quite get what i am asking and experiencing, giving the relatively new status of the project neither the Savonet support resources (mailing lists, irc) nor other resources on the web helped on this..the little bits and pieces of answers i got didn't work and took forever to get a reply for them.

    I realise this is not an Airtime issue and related to Liquidsoap, but theres absolutely no other place to post this..and the issue is extremely urgent.
    Sadly Liquidsoap support is so lack that i have to hire a programmer to fix this.

    PLEASE do no see this as a ranting or ungrateful behaviour towards Airtime team, you guys make an AMAZING job for us, i understand the pressure and your current project's demand of you, ..but as constructive criticism to Savonet team, this had to be said!

    If there is programmer/know-how that like to make a few bucks debugging this issue live on my server contact me here or in PM.

    Post edited by Guytrance at 2012-10-01 08:46:01
  • 14 Comments sorted by
  • Vote Up0Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    I hope for you ;)
    you know here a lot of people try to help, but we have ours works too, and it's not really easy to answer quickly. don't forget that :-)

    now a good thing to do :
    explain clearly what you want to do.
    give here your last ls_script
  • Hey Albert.

    I never intended to criticise any of you, i understand you do have other life as we all, i was just pointing out that the Savonet support is very very lack, and in situations like this its realy frustrating..they dont have representatives to deal with issues..the ones that do deal with it on the mailing lists unfortunately takes care of issues once a week or so..
    there are people out there who really like this solution (Liquidsoap) but have difficult time troubleshooting it..i'm just saying.. :)

    The problem that i have is very simple (it looks like) yet extremely hard to find answers for..i just coded the schedule and wanted to rotate some playlists so i wont have dead air..as a continue to that thread..moving, changing the order, renaming default..every trick i knew about it didn't helped. this issue needs to be debugged live in the server (imo). thats why i offered payment to do so.

    But ill try this yet again, attached the file. :) 
    (this file play scheduled shows but ignores the defualt=rotate command and gives me dead air when i try to have music 24/7) 

     The 34k one...(cant delete the first one for some reason lol)
    Post edited by Guytrance at 2012-10-01 09:39:48
  • Vote Up0Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    your script will need to work on 2.1.3 or on the next version 2.2 ?
    I said that because script is not exactly the same...
  • Reply to @Albert+FR:

    I have 2.2 RC1 installed...
  • Vote Up0Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    I've I said before, that's seems to be normal
    your re-declare default twice..

    I'm searching how to write that...
  • yes but when i try to narrow the declarations it always says default has not been previously defined...no matter what i try.

  • Vote Up0Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    you need to change :

    default = rotate(weights=[1,2,1,5],[jingles,replays,jingles,singles])
    ignore(output.dummy(default, fallible=true))

    and :

    default=fallback([
    switch([
    # ({ (0w or 1w or 2w or 3w or 4w or 5w or 6w) and 7h-12h}, silkmornings),
    ({ (0w or 2w or 3w) and 2h-7h}, chillout),
    ({ (3w) and 19h-21h}, hortaweekly),
    ({ (0w) and 20h-21h}, moranhelman),
    ({ (6w) and 21h-23h}, tranceilsessions),
    # ({ (5w) and 18h-19h}, danmeyer),
    ({ (6w) and 18h-19h}, dashalove),
    ])
    ])

    by something like that :

    # Schedule
    #silkmornings = rotate(weights = [1, 6], [jingles,silk])
    chillout = rotate(weights = [1, 6], [jingles,chill])
    hortaweekly = rotate(weights = [1, 1], [jingles,hortaclassic])
    moranhelman = rotate(weights = [1, 1], [jingles,helmano])
    tranceilsessions = rotate(weights = [1, 1], [jingles,tilsessions])
    #danmeyer = rotate(weights = [1, 1], [jingles,danmeyerdeep])
    dashalove = rotate(weights = [1, 1], [jingles,dasha])

    rotating = rotate(weights=[1,2,1,5],[jingles,replays,jingles,singles])

    default=fallback([
    switch([
    ({ (0w or 1w or 2w or 3w or 4w or 5w or 6w) and 23h-07h}, rotating),
    ({ (0w or 2w or 3w) and 2h-7h}, chillout),
    ({ (3w) and 19h-21h}, hortaweekly),
    ({ (0w) and 20h-21h}, moranhelman),
    ({ (6w) and 21h-23h}, tranceilsessions),
    ({ (5w) and 18h-19h}, rotating),
    ({ (6w) and 18h-19h}, dashalove),
     ])
    ])

    ignore(output.dummy(default, fallible=true))
  • At line 139, character 14: The variable rotating defined here is not used
      anywhere in its scope.

    I dont know if this is related..and it dosent seem to interfere with the broadcast...but eversince i installed 2.2, running liquidsoap -c ls_script.liq 

    Gives me:

    Traceback (most recent call last):
      File "pyponotify.py", line 28, in <module>
        from api_clients import *
    ImportError: No module named api_clients

    Post edited by Guytrance at 2012-10-01 10:02:50
  • Vote Up0Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    two different errors here
    and i don't really understand the firt one (perhaps rotating is not a good name...)

    for the second, have you modified others scripts than ls_script ? or call to others scripts from ls_script ?
  • Regarding the second error, nope i havent, it was an error given since i installed 2.2.

    Regarding the first one, lol...i dont know what to write hehehe, everything i give besides default gives that error.
  • At line 139, character 12: The variable albert defined here is not used
      anywhere in its scope

    ;)
  • Vote Up0Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    re-put your file here please
  • Reply to @Albert+FR:

    attached to original post as advised..
  • Vote Up0Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    with the last change ;-)