added fix-comment subcommand

move the spotify url from comments to own tag (spotify)
This commit is contained in:
2026-05-02 23:13:30 +02:00
parent 5373a828e3
commit 54d2195b76
4 changed files with 119 additions and 3 deletions

View File

@@ -183,5 +183,9 @@ func createVorbisMetaBlock(m Metadata) flacvorbis.MetaDataBlockVorbisComment {
vorbisMeta.Add("ALBUMARTIST", albumArtist)
}
if m.SpotifyID != nil {
vorbisMeta.Add("SPOTIFY", *m.SpotifyID)
}
return *vorbisMeta
}