Ptag 0.9.6 (2019-10-12)
Posted: Sat 16 Jul 2011, 01:02
audio conversion scripts to use with ptag to retain tag information:
http://www.murga-linux.com/puppy/viewtopic.php?t=70882
Support for shn, ofr, ofs, wv, ape, mpc, & mpp via apetag.
http://murga-linux.com/puppy/viewtopic.php?t=70417
Support for flac via metaflac (built in puppy).
Support for ogg via vorbiscomment (built in puppy).
Support for mp4, m4a, m4b, m4p, & m4v via AtomicParsley:
http://murga-linux.com/puppy/viewtopic. ... c7b5988927
Support for mp3 & tta via id3tools (id3convert, id3tag, id3info) which are built into puppy. Unfortunately id3tag is a little limited as far as what fields can be tagged (Title, Album, Comment, Year, Track Number/Total Tracks, & Genre). Does anyone know of a way to tag extra fields with id3tag with id3v2 frames like --TPUB (Publisher)?
To be able to tag all fields in the gui and use the artwork functions you need to install either eyeD3 (depends on python2.6):
http://murga-linux.com/puppy/viewtopic.php?t=70034
or id3ted (depends on taglib which is linked in the thread below):
http://murga-linux.com/puppy/viewtopic.php?t=69861
If you want to use the artwork function and don't want to install eyeD3 or id3ted then download id3pic:
http://murga-linux.com/puppy/viewtopic.php?t=70011
id3v2 is another cli tool using libid3 (libid3 is already in puppy) that supports all the tagging fields in the gui (can't figure out how to attach artwork with it though):
http://murga-linux.com/puppy/viewtopic.php?t=70012
The basic tagging fields will work just fine with the cli tools already in puppy but if you want to install the bare minimum to manage artwork and the extra fields install id3pic & id3v2 linked above.
id3tag & id3v2 tag with version2.3 tags.
id3ted tags with version2.4 tags.
eyeD3 tags with default version2.4 but can do version2.3 instead.
You can run this program from the menu "ptag" or from the cli. If you run from the cli just change into the directory your files are in and use these options:
ptag -v (displays version number)
ptag youraudiofile.mp3 (opens specified file only)
ptag -dir (will open every supported file one after another)
ptag -dir -ct (will copy the tags from the file before except for the TITLE and TRACK will be Track+1)
ptag -dir -ptag (will extract artwork & dump the tags of all supported audio files in directory)
ptag youraudiofile.mp3 -ptag (will extract artwork & dump the tags of the specified file)
Right now I don't have a way to specify which tagging tool you want to use with mp3 or tta. The script will just find them in the following order (id3ted, eyeD3, id3v2, id3tag). Whichever it finds in that order first is what it will use to tag.
I would recommend using some test files first so you can play around with the program and make sure it does what you think it should. Please post any bugs and feel free to ask for added options.
As of version 0.6, replay gain support was added.
Flac support is already built into puppy with metaflac.
mpc & mpp support depends on mpcgain from the musepack package:
http://www.murga-linux.com/puppy/viewtopic.php?t=70416
mp3 support depends on mp3gain:
http://www.murga-linux.com/puppy/viewtopic.php?t=70432
ogg support depends on vorbisgain:
http://www.murga-linux.com/puppy/viewtopic.php?t=70433
aac support depends on aacgain:
http://www.murga-linux.com/puppy/viewtopic.php?t=70434
wv support depends on wvgain from wavpack package:
http://www.murga-linux.com/puppy/viewtopic.php?t=70426
Once again, none of these extra packages are required but if you want the extra features you'll need to install them.
As of version 0.8:
-added button to dump tags to a file (audiofile_w/o_extension.ptag).
-added a file selector to select a .ptag file to tag the file opened in the gui.
The fields will update in the gui after selecting the .ptag file. I can't figure out if it's possible to to update the Genre combobox in the gui after selection of a .ptag but the new genre will be tagged to the file.
Not all fields get copied to the .ptag files. Here are the fields that get copied:
TITLE (all formats)
DISCID (vorbiscomment, metaflac, apetag)
ARTIST (all formats)
PERFORMER (all formats) (AtomicParsley & mp3 field is ALBUMARTIST but saved as PERFORMER)
ALBUM (all formats)
COMMENT (all formats)
COMPOSER (all formats)
DATE (all formats) (AtomicParsley & mp3 field is YEAR but saved as DATE)
DISCNUMBER (all formats)
TRACKNUMBER (all formats)
TRACKTOTAL (all formats)
LYRICIST (all except AtomicParsley)
PUBLISHER (all except AtomicParsley)
GENRE (all formats)
I wanted the .ptag files to all have the same format so it will be easy to use a ptag file from a flac file to tag a mp3 after encoding. I think I've accomplished everything I wanted to within the gui.
version 0.9:
Cleaned up the code quite a bit & set up the scripts to be internationalized with an English mo file. Please feel free to contribute any other language and I'll add it to the package.
version 0.9.1:
changed the scripts to not use the command <file> since it is a hit or miss command. It seems to really be broken in Lucid Puppy 528. I compiled the newest version but it contains a 2+ mb database file. That dependency has been removed now.
version 0.9.2:
added German translation mo file. Updated the scripts to search for the best suitable version of gtkdialog (gtkdialog4 being the first).
http://www.murga-linux.com/puppy/viewtopic.php?t=70882
Support for shn, ofr, ofs, wv, ape, mpc, & mpp via apetag.
http://murga-linux.com/puppy/viewtopic.php?t=70417
Support for flac via metaflac (built in puppy).
Support for ogg via vorbiscomment (built in puppy).
Support for mp4, m4a, m4b, m4p, & m4v via AtomicParsley:
http://murga-linux.com/puppy/viewtopic. ... c7b5988927
Support for mp3 & tta via id3tools (id3convert, id3tag, id3info) which are built into puppy. Unfortunately id3tag is a little limited as far as what fields can be tagged (Title, Album, Comment, Year, Track Number/Total Tracks, & Genre). Does anyone know of a way to tag extra fields with id3tag with id3v2 frames like --TPUB (Publisher)?
To be able to tag all fields in the gui and use the artwork functions you need to install either eyeD3 (depends on python2.6):
http://murga-linux.com/puppy/viewtopic.php?t=70034
or id3ted (depends on taglib which is linked in the thread below):
http://murga-linux.com/puppy/viewtopic.php?t=69861
If you want to use the artwork function and don't want to install eyeD3 or id3ted then download id3pic:
http://murga-linux.com/puppy/viewtopic.php?t=70011
id3v2 is another cli tool using libid3 (libid3 is already in puppy) that supports all the tagging fields in the gui (can't figure out how to attach artwork with it though):
http://murga-linux.com/puppy/viewtopic.php?t=70012
The basic tagging fields will work just fine with the cli tools already in puppy but if you want to install the bare minimum to manage artwork and the extra fields install id3pic & id3v2 linked above.
id3tag & id3v2 tag with version2.3 tags.
id3ted tags with version2.4 tags.
eyeD3 tags with default version2.4 but can do version2.3 instead.
You can run this program from the menu "ptag" or from the cli. If you run from the cli just change into the directory your files are in and use these options:
ptag -v (displays version number)
ptag youraudiofile.mp3 (opens specified file only)
ptag -dir (will open every supported file one after another)
ptag -dir -ct (will copy the tags from the file before except for the TITLE and TRACK will be Track+1)
ptag -dir -ptag (will extract artwork & dump the tags of all supported audio files in directory)
ptag youraudiofile.mp3 -ptag (will extract artwork & dump the tags of the specified file)
Right now I don't have a way to specify which tagging tool you want to use with mp3 or tta. The script will just find them in the following order (id3ted, eyeD3, id3v2, id3tag). Whichever it finds in that order first is what it will use to tag.
I would recommend using some test files first so you can play around with the program and make sure it does what you think it should. Please post any bugs and feel free to ask for added options.
As of version 0.6, replay gain support was added.
Flac support is already built into puppy with metaflac.
mpc & mpp support depends on mpcgain from the musepack package:
http://www.murga-linux.com/puppy/viewtopic.php?t=70416
mp3 support depends on mp3gain:
http://www.murga-linux.com/puppy/viewtopic.php?t=70432
ogg support depends on vorbisgain:
http://www.murga-linux.com/puppy/viewtopic.php?t=70433
aac support depends on aacgain:
http://www.murga-linux.com/puppy/viewtopic.php?t=70434
wv support depends on wvgain from wavpack package:
http://www.murga-linux.com/puppy/viewtopic.php?t=70426
Once again, none of these extra packages are required but if you want the extra features you'll need to install them.
As of version 0.8:
-added button to dump tags to a file (audiofile_w/o_extension.ptag).
-added a file selector to select a .ptag file to tag the file opened in the gui.
The fields will update in the gui after selecting the .ptag file. I can't figure out if it's possible to to update the Genre combobox in the gui after selection of a .ptag but the new genre will be tagged to the file.
Not all fields get copied to the .ptag files. Here are the fields that get copied:
TITLE (all formats)
DISCID (vorbiscomment, metaflac, apetag)
ARTIST (all formats)
PERFORMER (all formats) (AtomicParsley & mp3 field is ALBUMARTIST but saved as PERFORMER)
ALBUM (all formats)
COMMENT (all formats)
COMPOSER (all formats)
DATE (all formats) (AtomicParsley & mp3 field is YEAR but saved as DATE)
DISCNUMBER (all formats)
TRACKNUMBER (all formats)
TRACKTOTAL (all formats)
LYRICIST (all except AtomicParsley)
PUBLISHER (all except AtomicParsley)
GENRE (all formats)
I wanted the .ptag files to all have the same format so it will be easy to use a ptag file from a flac file to tag a mp3 after encoding. I think I've accomplished everything I wanted to within the gui.
version 0.9:
Cleaned up the code quite a bit & set up the scripts to be internationalized with an English mo file. Please feel free to contribute any other language and I'll add it to the package.
version 0.9.1:
changed the scripts to not use the command <file> since it is a hit or miss command. It seems to really be broken in Lucid Puppy 528. I compiled the newest version but it contains a 2+ mb database file. That dependency has been removed now.
version 0.9.2:
added German translation mo file. Updated the scripts to search for the best suitable version of gtkdialog (gtkdialog4 being the first).