Quantcast
Channel: Squeezebox : Community : Forums
Viewing all articles
Browse latest Browse all 6235

MP3 tag manipulation under pCP

$
0
0
TL : DR
I'm looking for a way to manipulate (strip, re-write) the tags in an MP3 file from the command line under pCP.

Explanation
I've been developing a shell script that takes an LMS playlist and exports the tracks as individual MP3 files for use in the car. 90% of my library is in the form of 'full album' FLAC files with separate CUE files, or individual FLAC tracks, so writing new MP3 files with my own tags is straightforward (sox -> lame).

The other 10% is made up of files that I only have in OGG, M4A or MP3. My script has an option to either copy these over unchanged or to transcode them to MP3. For transcoding I'm using sox -> lame for OGG and faad -> lame for M4A, but there's no point in transcoding MP3 to MP3, so these are always copied over unchanged.

In all the cases where I use lame to create MP3 files I'm writing a consistent set of tags: Title, Artist, Album and a Comment (to store the 'provenance' of the file). But in the cases where an MP3 file is copied over unchanged, it may have a variety of tags included. So for the sake of consistency I'm interested in stripping the existing tags and writing my own new tags.

If I could use lame to write a new MP3 file without transcoding that would be a good option, but I don't think such an option exists. So I think a command line tagger is what I need, and in particular, one that is available under pCP.

Does such a tool exist? As a supplementary requirement, I'm hoping that any such tool will also allow me to read the Artist and Album tags from the original file before stripping them out.

Viewing all articles
Browse latest Browse all 6235

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>