Skip to content

RM-FM/liq-tag-removal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 

Repository files navigation

liq-tag-removal

I created a script designed to remove all liq_ tags from Azuracast media files. This can be useful if you previously enabled the "store tags to file" option in Azuracast's older autocue.cue_in implementation. These tags conflict with the updated Azuracast Rolling Release, which uses Liquidsoap 2.3.x's autocue.internal. It also comes with a dry run feature to initially check your files without making any changes.

Caution

Backup your system / audio files first!

Important

Please also ensure that you have cleared the Extra Metadata in Azuracast's Media File Manager, as older versions of Azuracast may have stored these values there as well:

Media > Music Files > set search to show ALL > select ALL > More > Clear Extra Metadata

Install script

cd /var/azuracast
wget https://raw.githubusercontent.com/RM-FM/liq-tag-removal/main/liq_tag_removal.sh
chmod +x liq_tag_removal.sh

Start a dry run

Check whether your files have related meta tags set. Replace {my_station_short_name} by your station short name (URL Stub).

/var/azuracast/liq_tag_removal.sh --dry-run --path /var/lib/docker/volumes/azuracast_station_data/_data/{my_station_short_name}/media`

Parameters

Get a description of all available parameters:

/var/azuracast/liq_tag_removal.sh --help
usage: liq_tag_removal.sh [-h] -p PATH [-e EXTENSIONS] [-r] [-b] [-d]

Remove certain meta tags from audio files.

options:
  -h, --help            show this help message and exit
  -p PATH, --path PATH  Path to directory with audio files
  -e EXTENSIONS, --extensions EXTENSIONS
                        File extension pattern (comma-separated, default: mp3,flac,ogg,opus,ape,m4a)
  -r, --remove-replaygain
                        Remove "replaygain_" tags
  -b, --backup-metadata
                        Backup metadata to CSV file
  -d, --dry-run         Dry run, just showing what files and tags would be affected

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages