OP25 Cannot start liquidsoap

Status
Not open for further replies.

maredzki

Member
Feed Provider
Joined
Feb 21, 2019
Messages
72
What is bad about it stat I cannot stop/start the service, it just hangs, I have to reboot the pi :)
 

maredzki

Member
Feed Provider
Joined
Feb 21, 2019
Messages
72
I'm getting ready to clone my other working pi and changing the configuration a little bit if I cannot figure it out.
 

boatbod

Member
Joined
Mar 3, 2007
Messages
3,339
Location
Talbot Co, MD
Not seen that error before. The mksafe() is supposed to keep the stream alive. I wonder if the machine is going to sleep and this is why you can't stat the service?
 

maredzki

Member
Feed Provider
Joined
Feb 21, 2019
Messages
72
It has been running for the last 18 hours since we last messaged, it has the "strange error" logged in the message though.

I was trying to find how to display alpha tags instead of the channel ID but couldn't find anything on RR's website. Can you point me in the right direction?

Code:
pi@raspberrypi:~ $ sudo systemctl status op25-liq.service
● op25-liq.service - op25-liq
   Loaded: loaded (/etc/systemd/system/op25-liq.service; enabled; vendor preset: enabled)
   Active: active (running) since Mon 2020-05-04 20:31:08 CDT; 18h ago
 Main PID: 1770 (liquidsoap)
    Tasks: 11 (limit: 2200)
   Memory: 20.3M
   CGroup: /system.slice/op25-liq.service
           ├─1770 /usr/bin/liquidsoap op25.liq
           ├─1780 /bin/sh -c ./audio.py -s
           └─1782 python ./audio.py -s

May 05 03:01:55 raspberrypi liquidsoap[1770]: strange error flushing buffer ...
May 05 03:01:55 raspberrypi liquidsoap[1770]: strange error flushing buffer ...
May 05 03:01:59 raspberrypi liquidsoap[1770]: strange error flushing buffer ...
May 05 03:01:59 raspberrypi liquidsoap[1770]: strange error flushing buffer ...
May 05 03:02:03 raspberrypi liquidsoap[1770]: strange error flushing buffer ...
May 05 03:02:07 raspberrypi liquidsoap[1770]: strange error flushing buffer ...
May 05 03:02:11 raspberrypi liquidsoap[1770]: strange error flushing buffer ...
May 05 03:02:15 raspberrypi liquidsoap[1770]: strange error flushing buffer ...
May 05 03:02:19 raspberrypi liquidsoap[1770]: strange error flushing buffer ...
May 05 03:02:19 raspberrypi liquidsoap[1770]: strange error flushing buffer ...
 

boatbod

Member
Joined
Mar 3, 2007
Messages
3,339
Location
Talbot Co, MD
It has been running for the last 18 hours since we last messaged, it has the "strange error" logged in the message though.

I was trying to find how to display alpha tags instead of the channel ID but couldn't find anything on RR's website. Can you point me in the right direction?

Code:
pi@raspberrypi:~ $ sudo systemctl status op25-liq.service
● op25-liq.service - op25-liq
   Loaded: loaded (/etc/systemd/system/op25-liq.service; enabled; vendor preset: enabled)
   Active: active (running) since Mon 2020-05-04 20:31:08 CDT; 18h ago
Main PID: 1770 (liquidsoap)
    Tasks: 11 (limit: 2200)
   Memory: 20.3M
   CGroup: /system.slice/op25-liq.service
           ├─1770 /usr/bin/liquidsoap op25.liq
           ├─1780 /bin/sh -c ./audio.py -s
           └─1782 python ./audio.py -s

May 05 03:01:55 raspberrypi liquidsoap[1770]: strange error flushing buffer ...
May 05 03:01:55 raspberrypi liquidsoap[1770]: strange error flushing buffer ...
May 05 03:01:59 raspberrypi liquidsoap[1770]: strange error flushing buffer ...
May 05 03:01:59 raspberrypi liquidsoap[1770]: strange error flushing buffer ...
May 05 03:02:03 raspberrypi liquidsoap[1770]: strange error flushing buffer ...
May 05 03:02:07 raspberrypi liquidsoap[1770]: strange error flushing buffer ...
May 05 03:02:11 raspberrypi liquidsoap[1770]: strange error flushing buffer ...
May 05 03:02:15 raspberrypi liquidsoap[1770]: strange error flushing buffer ...
May 05 03:02:19 raspberrypi liquidsoap[1770]: strange error flushing buffer ...
May 05 03:02:19 raspberrypi liquidsoap[1770]: strange error flushing buffer ...
The "strange error" messages can be ignored. I've seen them occasionally but they don't appear to have any negative impact on the system.

Alpha tags come from the trunk-tags.tsv file which is referenced from your trunk.tsv. The format of the tags file is numeric tgid followed by a <tab> and then the text description optionally followed by another <tab> and a numeric priority. One line per tgid.
 

maredzki

Member
Feed Provider
Joined
Feb 21, 2019
Messages
72
In trunk.tsv "TGID Tags File" should list "trunk-tags.tsv" and that file should be located in the same directory as trunk.tsv, correct?

trunk-tags.tsv
123(tab)Description
234(tab)Description
 

boatbod

Member
Joined
Mar 3, 2007
Messages
3,339
Location
Talbot Co, MD
In trunk.tsv "TGID Tags File" should list "trunk-tags.tsv" and that file should be located in the same directory as trunk.tsv, correct?

trunk-tags.tsv
123(tab)Description
234(tab)Description
Correct.
Code:
11335    QA WaterSew
11337    QA DPW Roads
11338    QA ParksRec
11501    Talbot Fire Disp    1
11502    Talbot Fire Tac2
11503    Talbot Fire Tac3
11504    Talbot Fire Tac4
 
Status
Not open for further replies.
Top