Re: [Savonet-users] [savonet/liquidsoap] Update metadata from BUTT (input.harbor) (#710)

2019-02-13 Thread PB-SF
Hi.

Could it be that you confuse the ICE metadata with the title information?

The ICE metadata are entered in BUTT via the "stream info". These are not 
passed on to the listener and are not displayed in any player. That's why I'm 
not sure what you want to do with them in liquidsoap?

Do you mean the title information displayed to the listener in the player (VLC, 
etc.) in the title bar, which will be passed to Liquidsoap in BUTT via the 
Stream tab. Either manually in the field "Update song name manually" or per 
file in the field "Update song name from file"

Maybe you have more detailed information about the metadata you use and what 
you want to do with it.

I do not think it's a problem with Liquidsoap. Should that be the case, we can 
also gladly continue this directly by email and @toots can close this here.

Greetz

-- 
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/710#issuecomment-463356408___
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users


Re: [Savonet-users] [savonet/liquidsoap] Transition between Sources not working propertly (#695)

2019-01-22 Thread PB-SF
Hi. Thank you for your prompt reply.

Unfortunately that did not work. With your suggestion, Liquidsoap will not 
switch to the automation input anymore and it will only be silent when no 
moderator is connected.

Nevertheless, I tested it further. The moderator is still hard cut off with no 
fade.

I forgot to mention that we are already using a buffer solution in harbor input.
```input.harbor(id="mod",buffer=30.,max=60.,"mount",port=0815,password="hackme")```



-- 
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/695#issuecomment-456525575___
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users


[Savonet-users] [savonet/liquidsoap] Transition between Sources not working propertly (#695)

2019-01-21 Thread PB-SF
We use Liquidsoap to manage moderator access and to compensate for failures of 
our automation through a backup list.

As an automation mAirList is used on an external server.

The moderators connect to Liquidsoap via
 ```input.harbor```

In order to make the transition between automation and moderator pleasant for 
the listeners, we try to build a transition between the two sources.

Currently the code is as follows:
```
def jtrans(j,old,new)
  old = fade.final(old)
  new = fade.initial(new)
  sequence([old,j,new])
end

s = fallback(id="Mod <-> 
mAirList",track_sensitive=false,transitions=[jtrans(j),jtrans(j)],[mod,mairlist])
```

When a moderator connects, the automation hides clean, the jingle is played, 
and the moderator cleanly fades in.

Unfortunately, this does not work backwards. The moderator is cut off with a 
hard cut, the jingle plays and the automation is faded in.

We have already tried many options on transitions (add, merge, sequence, etc.) 
unfortunately so far unsuccessful.

Is there a way to solve it?

-- 
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/695___
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users


[Savonet-users] [savonet/liquidsoap] Trying to get harbor username and timestamp for dump filename (#661)

2018-11-17 Thread PB-SF
I set up a liquidsoap script for our radio station. Most things work really 
fine.
We use a input.harbor with authentication for our moderators

#Moderatoren Authentifizierung
def harbor_auth(port,user,password) = 
  (port == 8080 and user == "user1" and password == "pass1") or
  (port == 8080 and user == "user2" and password == "pass2")
end
auth1 = harbor_auth(8080)

#Live Moderatoren Harbor
moderator = input.harbor(id="Mod 
Harbor",port=8080,auth=auth1,icy=true,dumpfile="/path/to/recorded/dumps/$(user)_$(timestamp)-%m-%d-%Y-%H:%M:%S.mp3","modi")
output.dummy(id="Mod Dummy",fallible=true, moderator)

Each connection of a moderator schould create a dump file for our archive.
Is there a way to get the current username from the authentication in a 
variable to use it in the dump function of the input.harbor? Also tagged with a 
timestamp? So that the files are stored according to moderator and time?

My current script write the file in exactly that string i used in code above.
I tryed several ways to get the right syntax, but nothing worked.
For help, I would be grateful :)

Liquidsoap verison 1.3.3 on a ubuntu 14.04 dedicated server.

-- 
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/661___
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users