Uniden Alpha Tag Script

Status
Not open for further replies.

xicarusx

Member
Feed Provider
Joined
Oct 2, 2008
Messages
104
Location
Sayre, PA
Hi,

I have written a python script for Uniden Scanners to allow upload of Alpha Tags to Broadcastify or any other icecast/shoutcast server. You can update multiple servers at the same time if you wish and use HTTP or HTTPS to update the metadata. The configuration is pretty self explanatory. Runs perfectly with SDS200 and older models as long as there is a USB Serial interface. I run this on my Raspberry Pi that I stream from and update 2 Icecast servers. You can run it in a screen session or as a service.

metatags.service this has a pre-start delay to make sure USB is connected and available and so that DNS service is running.

Code:
[Unit]
Description=Uniden Alpha Tags
Requires=sound.target
Wants=network-online.target
After=icecast.service network-online.target sound.target

[Service]
Type=simple
ExecStartPre=/bin/sleep 35
ExecStart=/usr/bin/python3 /home/pi/uniden_meta/uniden_meta.py
User=pi
Group=pi

[Install]
WantedBy=multi-user.target

 
Status
Not open for further replies.
Top