Ptag 0.9.6 (2019-10-12)
Ptag 0.9.6 (2019-10-12)
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).
- Attachments
-
- ptag-0.9.6.pet
- 2019-10-12
- (24.8 KiB) Downloaded 103 times
Last edited by plinej on Sat 12 Oct 2019, 17:46, edited 36 times in total.
Very interesting. I'll be trying it out someday on an audio book I've transcribed from CD to mp3. I don't keep the metadata when I convert an audiobook to mp3, so my mp3 player doesn't display anything useful while I'm listening to the book. The track number, author's name and the name of the book would all be nice to know at a glance. I hope Ptag can put that info in the metadata of 200 mp3 files.
- Dougal
- Posts: 2502
- Joined: Wed 19 Oct 2005, 13:06
- Location: Hell more grotesque than any medieval woodcut
Frampton Comes Alive!
Jason: I hope you've noticed the recent developments in the world of gtkdialog...
Jason: I hope you've noticed the recent developments in the world of gtkdialog...
What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind
Some say your nose
Some say your toes
But I think it's your mind
updated to 0.1.4
modified the mp3 gui to only display fields it can tag. If nothing is installed besides the base id3tools in puppy then only the basic fields are available.
For the artwork functions you will need either id3ted, eyeD3, or id3pic. For the extra tagging fields you'll need either id3ted, eyeD3, or id3v2.
modified the mp3 gui to only display fields it can tag. If nothing is installed besides the base id3tools in puppy then only the basic fields are available.
For the artwork functions you will need either id3ted, eyeD3, or id3pic. For the extra tagging fields you'll need either id3ted, eyeD3, or id3v2.
ptag 0.1.5.1
I love this... It is a great tool, and helped me sort out a few albums of mine. Thank you very much.
I have made a .pet, and called it Ptag-0.1.5.1
Here are my (tiny) changes:
- added a ROX-App, and some right click options
- I added tooltips to the main file tagging GUI
- I fixed the file/dir input select thing at the start
EDIT: plinej The tags are not shown for the file at load up, when using the right click option, but I can't figure out how to make that work.. I'm sure you know!! So the ROX-Apps need a slight tweak before they work 100%
EDIT2: It has something to do with spaces in the path to the file,
I think you mentioned that still needed looking at somewhere
I have made a .pet, and called it Ptag-0.1.5.1
Here are my (tiny) changes:
- added a ROX-App, and some right click options
- I added tooltips to the main file tagging GUI
- I fixed the file/dir input select thing at the start
EDIT: plinej The tags are not shown for the file at load up, when using the right click option, but I can't figure out how to make that work.. I'm sure you know!! So the ROX-Apps need a slight tweak before they work 100%
EDIT2: It has something to do with spaces in the path to the file,
I think you mentioned that still needed looking at somewhere
- Attachments
-
- ptag-0.1.5.1.pet
- (15.46 KiB) Downloaded 729 times
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]
AppRun needs to be like this:
It works fine with files with spaces for me.
Code: Select all
#!/bin/ash
DIR="`dirname \"$1\"`"
cd "$DIR"
ptag "$1"
0.2 is up. Added support for flac via metaflac. The extra "Field" & "Tag" spaces are for you to put in your own fields that aren't in the gui. If a flac file is already tagged with extra fields not defined in the gui they will be displayed in those extra fields (the first 14 anyway).
Still plan on ogg vorbis & ape support next. Possibly some others as well. I won't be around much for the next week so this will probably be the last update for at least a week. Possibly a quick bug fix tomorrow if anyone finds a bug but otherwise no more updates.
Still plan on ogg vorbis & ape support next. Possibly some others as well. I won't be around much for the next week so this will probably be the last update for at least a week. Possibly a quick bug fix tomorrow if anyone finds a bug but otherwise no more updates.