bgoglin / lltag Goto Github PK
View Code? Open in Web Editor NEWAutomatic command-line mp3/ogg/flac file tagger and renamer
Home Page: http://bgoglin.free.fr/lltag/
License: GNU General Public License v2.0
Automatic command-line mp3/ogg/flac file tagger and renamer
Home Page: http://bgoglin.free.fr/lltag/
License: GNU General Public License v2.0
lltag is a frontend to tag (and rename) mp3/ogg/flac files automagically. See http://bgoglin.free.fr/lltag/ for details. lltag installation instructions =============================== You don't care about this if you use Debian or Gentoo or any other distribution that includes prepackaged lltag versions. Run 'make' followed by 'make install' as root. *Both* command-lines must use the same variables for configuring installation paths. By default, everything is installed in /usr/local/. Most directories might be changed by overriding their default values on the command-line. For instance, a traditional installation (binary in /usr/bin, data in /usr/share, and configuration in /etc) might be achieved with: $ make PREFIX=/usr SYSCONFDIR=/etc MANDIR=/usr/share/man $ make install PREFIX=/usr SYSCONFDIR=/etc MANDIR=/usr/share/man If you don't want or can't install as root, you may use $ make PREFIX=/home/login/where/you/want $ make install PREFIX=/home/login/where/you/want Note that 'make uninstall' (with same options) allows to uninstall. lltag requirements ================== lltag theoretically only requires Perl base to work. However, depending on what type of files you want to work on, you'll need to install either the Perl MP3::Tag module (for MP3 files) or mp3info (for MP3 files, without ID3v2 support), vorbiscomment (for OGG) or metaflac (for FLAC). Additionally, when using CDDB features, LWP (the libwww-perl module) is required. These dependencies are automatically installed when installing Debian or Gentoo prepackaged versions, or at least recommended. lltag may also benefit from a smart readline perl library when the user edits the tags by hand. The recommended library is Term::ReadLine::Gnu (also called GNU Readline Library Wrapper Module) which provides great inline editing and GNU history features. Term::ReadLine::Perl may also be used but it might not be able to save the history between two lltag invocation. If you experience any problem, please see http://bgoglin.free.fr/lltag or report to <lltag AT googlegroups.com>.
Ubuntu 18.04.2
Certain files result in an error:
lltag --mp3v2 --show-tags album 01___Neverwhere_1_London_Below.mp3
01___Neverwhere_1_London_Below.mp3:
Use of uninitialized value $v2_field in string eq at /usr/share/perl5/Lltag/MP3v2.pm line 64.
Use of uninitialized value $v2_field in string eq at /usr/share/perl5/Lltag/MP3v2.pm line 64.
Use of uninitialized value $v2_field in string eq at /usr/share/perl5/Lltag/MP3v2.pm line 64.
Use of uninitialized value $v2_field in exists at /usr/share/perl5/Lltag/MP3v2.pm line 81.
Use of uninitialized value $v2_field in uc at /usr/share/perl5/Lltag/MP3v2.pm line 84.
ALBUM=Neverwhere
Others are OK:
lltag --mp3v2 --show-tags album 01_Cluster_One__Pink_Floyd.mp3
01_Cluster_One__Pink_Floyd.mp3:
ALBUM=The Division Bell
Problem file:
https://file.io/jmJwU5
lltag is having issues with unicode while tagging, see below.
locale is set to UTF-8 and I've tried to add a
use open qw(:std :utf8);
to no avail.
git⸢master」% perl lltag /mnt/music8/+TAGGED/+live/Ölhävers\ -\ Folkölstider\ \(Live\ Westgothafestivalen\ 1996\).mp3
Processing file "/mnt/music8/+TAGGED/+live/Ãlhävers - Folkölstider (Live Westgothafestivalen 1996).mp3"...
Trying to parse filename with internal formats...
Did not find any format file.
Didn't find any parser!
Current tag values are:
ARTIST: ÃLhäVers
TITLE: FolköLstider
ALBUM: Live Westgothafestivalen
DATE: 1996
COMMENT: rosamannen
```
Hi,
Tried to access CDDB feature today, no luck:
Enter CDDB query [q] (no default, h for help) ? pantera great southern trendkill
Sending CDDB request...
ERROR: HTTP request to CDDB server (tracktype.org:80) failed.
https://tracktype.org/ shows something like a landing page for unexisting domains.
tagging a ogg file with --tag "FOOBAR=BAZ" FILE.ogg strips some of the tags:
Original File:
ALBUM=Creep Live
DISCTOTAL=0
ARTIST=Brandi Carlile
COMPILATION=0
TITLE=Creep
TOTALDISCS=0
REPLAYGAIN_TRACK_PEAK=1.114610
TOTALTRACKS=0
ALBUMARTIST=Brandi Carlile
DATE=2008
TRACKNUMBER=1
REPLAYGAIN_TRACK_GAIN=-7.94 dB
TRACKTOTAL=0
After lltag edited tags:
ARTIST=Brandi Carlile
TITLE=Creep
ALBUM=Creep Live
TRACKNUMBER=1
DATE=2008
RATING=7
ALBUMARTIST=Brandi Carlile
REPLAYGAIN_TRACK_PEAK=1.114610
REPLAYGAIN_TRACK_GAIN=-7.94 dB
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.