Re: [Savonet-users] [savonet/liquidsoap] ON_METADATA not called when live show is broadcast. (#624)

2018-09-16 Thread Niall Lindsay
Metadata is also not updated when pushing a song to the queue over TELNET ![screen shot 2018-09-16 at 10 30 59](https://user-images.githubusercontent.com/9781846/45594958-a985fc80-b99b-11e8-8bd0-7cb1b34e2485.png) ![screen shot 2018-09-16 at 10 31

Re: [Savonet-users] add_protocol issue

2018-09-16 Thread sébastien dagnicourt
OK, just for information, the python script is realy simple: #!/usr/bin/python3 import owncloud import sys f = sys.argv[1].replace('ocfl://','') fd = sys.argv[2] oc = owncloud.Client('https://mynextcloud_url') oc.login('login','password') oc.get_file(f, fd) User is the same for launching the

Re: [Savonet-users] add_protocol issue

2018-09-16 Thread Romain Beauxis
Hi, Le dim. 16 sept. 2018 à 09:55, sébastien dagnicourt a écrit : > I made a little script in python to fetch my files from my nextcloud share. > I add a add_protocol function to fetch them in liquidsoap. > So far it doesn't work in liquidsoap but the command works in a shell. > > Below the code

Re: [Savonet-users] add_protocol issue

2018-09-16 Thread Romain Beauxis
Le dim. 16 sept. 2018 à 11:08, sébastien dagnicourt < sebastien.dagnico...@gmail.com> a écrit : > > OK, just for information, the python script is realy simple: > > #!/usr/bin/python3 > import owncloud > import sys > > > f = sys.argv[1].replace('ocfl://','') > fd = sys.argv[2] > oc =

Re: [Savonet-users] add_protocol issue

2018-09-16 Thread sébastien dagnicourt
Yes, I saw that and I had already the same idea ;) No more luck ... How liquidsoap knows that the script got the playlist ? I mean, does the temp file is known by liquidsoap ? I saw in other examples that people are doing something like get_process_line("") to have the result of the command. Le

Re: [Savonet-users] add_protocol issue

2018-09-16 Thread sébastien dagnicourt
Hi, Already tested it with 30 and 60 seconds. The command took under 10 seconds in a shell so don't know where is my mystake. If i check the file i got un /tmp the content is OK ! Le dim. 16 sept. 2018 17:02, Romain Beauxis a écrit : > Hi, > > Le dim. 16 sept. 2018 à 09:55, sébastien

[Savonet-users] [savonet/liquidsoap] Liquidsoap 1.3.4 win64 can't read non-english files and metadata (#627)

2018-09-16 Thread KruegerDead
Liquidsoap build v 1.3.4 (win64) can't read folders, filenames, and metadata with non-english characters, e.g. Russian (Cyrillic), characters from swedish and german language ö å Ä. log: `2018/09/16 21:58:00 [decoder:3] Unable to decode

Re: [Savonet-users] add_protocol issue

2018-09-16 Thread Romain Beauxis
Le dim. 16 sept. 2018 à 11:27, sébastien dagnicourt < sebastien.dagnico...@gmail.com> a écrit : > > Yes, I saw that and I had already the same idea ;) > No more luck ... > > How liquidsoap knows that the script got the playlist ? I mean, does the temp file is known by liquidsoap ? > I saw in other

[Savonet-users] Fwd: add_protocol issue

2018-09-16 Thread sébastien dagnicourt
Hi, I made a little script in python to fetch my files from my nextcloud share. I add a add_protocol function to fetch them in liquidsoap. So far it doesn't work in liquidsoap but the command works in a shell. Below the code made for testing purpose: def nextcloud(~rlog,~maxtime,arg) =

Re: [Savonet-users] add_protocol issue

2018-09-16 Thread Romain Beauxis
Le dim. 16 sept. 2018 à 10:15, sébastien dagnicourt < sebastien.dagnico...@gmail.com> a écrit : > Already tested it with 30 and 60 seconds. The command took under 10 seconds in a shell so don't know where is my mystake. > If i check the file i got un /tmp the content is OK ! Ok. Your next step is

Re: [Savonet-users] add_protocol issue

2018-09-16 Thread sébastien dagnicourt
OK, don't have more time today to tests some more things. For the telnet, server trace don't show more than that : [2018/09/16 19:20:02] Pushed ["nc://genre1/playlist1.txt";...]. [2018/09/16 19:20:02] Resolving "nc://genre1/playlist1" (timeout 30s)... [2018/09/16 19:20:02] Pushed