OP25 Alpha tags broken — again.

Status
Not open for further replies.

telvana

Member
Joined
Nov 19, 2014
Messages
91
Greetings,

I am running OP25 Boatbod Master fork w/ Liquidsoap. I’ve had this issue before, and never did quite resolve it, it seemed to have fixed itself. Well, the issue is back.

The alpha tags are working just fine, but they are way out of sync, and I can’t even figure out how out of sync they are due to how large of a feed I run. I believe I have about 30 different TGIDs and since they are so out of sync it’s nearly impossible to narrow down just what is causing it.

I suppose I just don’t even know where to look, I’ve messed about with the alpha tag delay, but that doesn’t seem to do much, if anything, at all. Where should I be looking to get them to sync up?
 

wgbecks

Active Member
Joined
Jan 17, 2005
Messages
1,020
Location
NE Wisconsin
Icecast servers do not strictly make any provisions to ensure that the tags are in perfect sync with the audio steam. I operate a number of public and private streams using op25 where the meta tags typically can lead or lag the associated audio stream on average by one to two seconds.

What hardware platform are you running op25 on? Slower hardware and marginal network connections can add unwanted delay that
might account for latency or missed tags being displayed. Are you streaming to BCFY or to a private Icecast server? You should not introduce
any additional delay in your meta.json file unless your tags consistently display (arrive) ahead of the associated audio stream.
 

telvana

Member
Joined
Nov 19, 2014
Messages
91
It’s streaming to broadcastify via a gigabit link (symmetrical) and running on a Jetson nano. Doesn’t seem to be the system that matters at all, as it also did it on an i5 7600. I’ll check and see if any added delay is in the json, I am pretty sure I removed it when I configured it.
 

wgbecks

Active Member
Joined
Jan 17, 2005
Messages
1,020
Location
NE Wisconsin
Are you sure that your tags are broken? What media player are you using to check your feed? The reason I ask is that some media players
don't support tags while others my provided an inconsistent display experience. I have had the best luck and most consistent results using Winamp.

If you're sure that the issue isn't with your media player, then try setting your logging verbose to -v 11 to capture the Win amp do_metadata
messages as op25 calls icemeta.py to process the alpha tags. You should get output similar to the text below each time a TG in your
whitelist goes active.

03/11/23 22:17:33.826929 do_metadata state=1: [None] None
03/11/23 22:22:51.439729 do_metadata state=0: [5027] Police Dispatch
03/11/23 22:22:51.671089 do_metadata state=0: [5027] Police Dispatch
03/11/23 22:22:54.443672 do_metadata state=0: [5027] Police Dispatch
03/11/23 22:22:54.738101 do_metadata state=0: [5027] Police Dispatch
03/11/23 22:22:55.098727 do_metadata state=0: [5027] Police Dispatch
03/11/23 22:22:55.563073 do_metadata state=0: [5027] Police Dispatch
03/11/23 22:22:55.779552 do_metadata state=0: [5027] Police Dispatch
03/11/23 22:22:57.662131 do_metadata state=0: [5027] Police Dispatch
03/11/23 22:22:57.961879 do_metadata state=0: [5027] Police Dispatch
03/11/23 22:22:58.191265 do_metadata state=0: [5027] Police Dispatch
03/11/23 22:23:00.215459 do_metadata state=0: [5027] Police Dispatch
03/11/23 22:23:00.526399 do_metadata state=0: [5027] Police Dispatch
03/11/23 22:23:01.802124 do_metadata state=0: [5027] Police Dispatch
03/11/23 22:23:02.009856 do_metadata state=0: [5027] Police Dispatch
03/11/23 22:23:04.405538 do_metadata state=0: [5027] Police Dispatch
03/11/23 22:23:04.784540 do_metadata state=0: [5027] Police Dispatch
03/11/23 22:23:05.083788 do_metadata state=0: [5027] Police Dispatch
03/11/23 22:23:05.763805 do_metadata state=0: [5027] Police Dispatch
03/11/23 22:23:05.979476 do_metadata state=0: [5027] Police Dispatch
03/11/23 22:23:07.268152 do_metadata state=0: [5027] Police Dispatch
03/11/23 22:23:07.485238 do_metadata state=0: [5027] Police Dispatch
03/11/23 22:23:11.378405 do_metadata state=0: [5027] Police Dispatch
03/11/23 22:23:11.769354 do_metadata state=0: [5027] Police Dispatch
03/11/23 22:23:12.058370 do_metadata state=0: [5027] Police Dispatch
03/11/23 22:23:12.296234 do_metadata state=0: [5027] Police Dispatch
03/11/23 22:23:12.512783 do_metadata state=0: [5027] Police Dispatch
03/11/23 22:23:14.153114 do_metadata state=0: [5027] Police Dispatch
03/11/23 22:23:14.616484 do_metadata state=0: [5027] Police Dispatch
03/11/23 22:23:14.986647 do_metadata state=0: [5027] Police Dispatch
03/11/23 22:23:15.358781 do_metadata state=0: [5027] Police Dispatch
03/11/23 22:23:17.472672 do_metadata state=1: [None] None
 

boatbod

Member
Joined
Mar 3, 2007
Messages
3,409
Location
Talbot Co, MD
Usually when I find the tags have gotten badly out of sync I'll just restart the liquidsoap process.
Code:
sudo systemctl restart op25-liq
 
Status
Not open for further replies.
Top