Re: [Savonet-users] Metadata update function stops

2018-09-20 Thread Bruno Lima
ast(%mp3.. When I try to execute I get this: At line 43, char 9-51: this value has type [(_*((default:_)->_))] but it should be a subtype of [(_*string)] Maybe I have to change the "list.hd( get_process_lines..." to return the correct format? Note that this was the

Re: [Savonet-users] Metadata update function stops

2018-09-20 Thread Bruno Lima
I'm using liquidsoap 1.3.4 now but there seems to be some problem in the way I'm getting metadata from MySQL. The function I'm using is the following: # Function to get metadata from MySQL def update_meta() = new_title = list.hd( get_process_lines( "mysql my_db -u user -ppassword -sNe

Re: [Savonet-users] Metadata update function stops

2018-09-14 Thread Bruno Lima
the definition of function "update_meta". Line 37, char 4 before "end": Parse error! Did it change the way functions should be defined in this version? Im using: def update_meta() = ... ... 5.0 end De: Bruno Lima Enviado: seg

Re: [Savonet-users] Metadata update function stops

2018-09-10 Thread Bruno Lima
and the logs seem to indicate a clear bug in the software. However, 1.1.1 is a rather old version. Would you be able to test it with version 1.3.3? I'm happy to provide instructions on how to update liquidsoap. Romain Le jeu. 6 sept. 2018 à 11:50, Bruno Lima mailto:bruno_nl...@hotmail.com

[Savonet-users] Metadata update function stops

2018-09-06 Thread Bruno Lima
Hello, I need to get title and artist metadata from MySQL table and update it on stream every 5 seconds. I wrote a script that did this based on earlier responses here but for some reason the "update_meta()" function that should be executed every 5 seconds is only being execute twice and then

[Savonet-users] Insert Metadata on Stream

2018-08-06 Thread Bruno Lima via Savonet-users
Hi, 2018-07-27 14:47 GMT-05:00 Bruno Lima : Hi, I described my problem in more details here: https://github.com/savonet/liquidsoap/issues/584 I have a jackd input on liquidsoap and mp3 and opus outputs. I need to get the metadata from a MySQL table and update it on the output stream every

[Savonet-users] Insert Metadata on Stream

2018-07-27 Thread Bruno Lima
Hi, I described my problem in more details here: https://github.com/savonet/liquidsoap/issues/584 I have a jackd input on liquidsoap and mp3 and opus outputs. I need to get the metadata from a MySQL table and update it on the output stream every 10 seconds. The metadata is Title and Artist.

[Savonet-users] Help to insert metadata on stream

2018-07-01 Thread Bruno Lima
Hello, I'm using liquidsoap with icecast to make an online radio stream. The problem I have is that there is no metadata such as artist and title in my input stream. This metadata is in a XML file and also in a MySQL table. So, I need to attach this metadata to my output stream when sending to