Hi, this could be a bug, but I'm not sure. Would be interesting if it's the same with Icecast.
I am not sure if Airtime supports Shoutcast in future and would recommend using Icecast instead. I don't know if you can switch, but I suggest switching to Icecast.
Simple way to verify it, just run command in psql:
select sc.starts as track_starts,sc.ends as track_ends,sc.file_id, sc.media_item_played,s.name,i.starts as show_starts,i.ends as show_ends,i.id as showinstance_id,i.modified_instance from cc_schedule as sc left join cc_show_instances as i on sc.instance_id=i.id left join cc_show as s on i.show_id=s.id where sc.starts<i.starts order by sc.starts;
If it is (any items show up), the workaround is to remove those items from database manually. This problem will be fixed in 2.4.1.
Sorry to resurrect a dead topic but I was seeing this on Airtime 2.5.1 on two Shoutcast streams.
Following @hoerich's suggestion that, I added an Icecast stream and I see it there, too.
Attached are a dump from Airtime's cc_playout_history | cc_files tables
and the playlist log from the Icecast server.
edit: Oops. I should have paid more attention to my formatting on the playlist.pdf from the ICecast server log. I can't delete it, but attached is an update.
Posts: 68Member, Sourcefabric Team, Airtime Moderator
This is a real bug that seems to occur (only?) with Shoutcast. It's a bug in our Liquidsoap script. I think it's doing something like sending the metadata an extra time for each stream we have in the script...
It hasn't been a priority to fix this, but we'll definitely accept a patch if anyone wants to wade into ls_script.liq and see what they can find...
Whilst I have not used Shoutcast (I have not the time to periodically start that server,shoutcast for me best to use external hosting),If you have no real specific reason to install shoutcast ans just wanted to be listed in the directory you could
Make two additional consecutive listen ports (like 10001 and 10002) in icecast xml
I think some where in the ls_lib there is a reference to this as a bug but since I have placed this
s = map_metadata(update=false,append_title, s)
at about line 283 in the ls_script
In fact based on one of the Api server, I have two timed script that sends metadata at intervals
so if someone with a shoutcast server tells me if that works or when I install a server this week I will make a suggestion
My feeling though it might be a tweak in shoutcast
VOISSES
Anyone reading this a find it funny about my grammar , I make no apology ,Go get a translator. "The Problem with education today is that it takes a university degree to switch on a light bulb" "You learn from your mistakes but wise people learn from others mistakes avoid Making mistakes there is not sufficient rooms to make them" "Innuendo","If's","Assumptions" and "Fear" are for politician.Who,What,where,When and How are for those seeking knowledge and care about Humanity. "I might be in Mud but that does not Make me a Wild Hog(pig)" “Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius — and a lot of courage to move in the opposite direction.” "The only thing that remains constant is change itself" May the force be with you,until our path or destiny bring us in tandem.