Hallo zusammen,
Ich habe mir gerade ein Konstrukt aus Icecast2 mit Streamanzeige + Bild und Liquidsoap gebaut. Das ganze läuft auch super! Mein Problem besteht darin, ich bekomme gewisse Metadaten nicht von einem Live-Input in der Liquidsoap nicht durchgereicht, Titel, Artist, Album, Hörer, wird durchgereicht, sprich aktualisiert, Genre und Discription leider nicht.
Das bedeutet, switcht Liquidsoap zwischen Playlist und Live Input wechseln folgende Daten je nach Source automatisch, Titel, Artist, Album, Hörer. Genre und Discription nicht, und genau die Brauche ich. Nun habe ich mich schon durch die API von Liqiudsoap gewüllt, hoch und runter, zig Examples getestet, nun steh ich auf dem Schlauch, vieleleicht weiß ja einer von euch was ich da noch machen könnte.
Hier der Code meiner play,liq
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | #!/usr/bin/liquidsoap -vvv #set("log.file.path","/tmp/liquid/play.log") # Print log messages to the console, # can also be done by passing the -v option to liquidsoap. set("log.stdout", true) # Use the telnet server for requests set("server.telnet", true) set("harbor.bind_addr","0.0.0.0") #Playlist myplaylist = (mksafe(playlist("/home/ralf/play.txt"))) #Jingles jingles = playlist("/home/ralf/play.txt") #Securityfile #security = single("/home/ralf/default.mp3") radio = myplaylist # Now add some jingles radio = random(weights = [1, 4],[jingles, radio]) radio = fallback(track_sensitive = false, [radio]) #live = input.harbor("live3",port=8080,password="hackme") live = input.http("http://192.168.10.100:8000/live1") full = fallback(track_sensitive=false, [live,radio]) #full= on_metadata(on_meta, full) #full = fallback(track_sensitive=false, # [input.http("http://192.168.10.100:8000/live1"), # radio]) output.icecast(%mp3, mount="/live", host="192.168.10.100", port=8000, user="source", password="hackme", genre="", full) |
Danke Euch schon mal.
MfG