Hey! The delay is b/c the video needs to be downloaded and decoded first.
You should be able to use youtube-dl: url in any operator that uses requests, for instance playlist, request,dynamic etc. Romain Le dim. 24 févr. 2019 à 15:48, Per Gunnarsson via Savonet-users < savonet-users@lists.sourceforge.net> a écrit : > Hello! > > I have been playing around with youtube-dl on Debian testing (liquidsoap > 1.3.6 from opam). > > It works when I play only one song, but there is a delay somehow. > I sometimes have to wait a couple of minutes before the stream comes up. > > Is there a better way to list youtube-dl sources than making lists of > singles? > > The script below played more than one song (but not the third). > > Regards, > > Per Gunnarsson > > set("log.file.path", "/tmp/test.dog") > set("log.level", 4) > > > brasset = single("youtube-dl:https://youtu.be/V7gwPsuccxg") > > lasset = single("youtube-dl:https://youtu.be/hq74Y1yUgq0") > > basset = single("youtube-dl:https://youtu.be/pC7u3UgN3s4") > > hiho = fallback(track_sensitive=true,[ > (brasset), > (lasset), > (basset)]) > > output.icecast(%vorbis(channels=2, samplerate=48000, quality=0.4), > fallible=true, > host="mustafejen.se", > port=8000, > password="top_secret", > mount="mount.ogg", > description="Stream from Ersboda", > genre="Eclectic", > url="https://mustafejen.se/~per", > name="mustafejen", > hiho) > > > > > > > _______________________________________________ > Savonet-users mailing list > Savonet-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/savonet-users >
_______________________________________________ Savonet-users mailing list Savonet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/savonet-users