Author |
Message |
plinej
Joined: 13 Aug 2006 Posts: 1554
|
Posted: Fri 15 Jul 2011, 21:02 Post subject:
Ptag 0.9.3 (2012-09-24) Subject description: gtkdialog script for meta data tagging (pmetatagger replacement) |
|
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.php?t=24941&sid=55514c6fc3652249778f20c7b5988927
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).
 |
Description |
|

Download |
Filename |
ptag-0.9.3.pet |
Filesize |
35.52 KB |
Downloaded |
703 Time(s) |
Last edited by plinej on Mon 24 Sep 2012, 11:16; edited 35 times in total
|
Back to top
|
|
 |
plinej
Joined: 13 Aug 2006 Posts: 1554
|
Posted: Fri 15 Jul 2011, 21:02 Post subject:
|
|
Here's the pic
Description |
|
Filesize |
61.03 KB |
Viewed |
2202 Time(s) |

|
|
Back to top
|
|
 |
Flash
Official Dog Handler

Joined: 04 May 2005 Posts: 12814 Location: Arizona USA
|
Posted: Sat 16 Jul 2011, 00:28 Post subject:
|
|
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.
|
Back to top
|
|
 |
plinej
Joined: 13 Aug 2006 Posts: 1554
|
Posted: Sat 16 Jul 2011, 01:06 Post subject:
|
|
Yes, it will be able to do that. Working on the mp3 gui right now.
|
Back to top
|
|
 |
Dougal

Joined: 19 Oct 2005 Posts: 2504 Location: Hell more grotesque than any medieval woodcut
|
Posted: Sun 17 Jul 2011, 15:37 Post subject:
|
|
Frampton Comes Alive!
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
|
Back to top
|
|
 |
plinej
Joined: 13 Aug 2006 Posts: 1554
|
Posted: Thu 21 Jul 2011, 00:08 Post subject:
|
|
just posted 0.1
|
Back to top
|
|
 |
plinej
Joined: 13 Aug 2006 Posts: 1554
|
Posted: Thu 21 Jul 2011, 09:24 Post subject:
|
|
updated to 0.1.1
I noticed that the kill button wasn't working properly so I fixed that.
|
Back to top
|
|
 |
plinej
Joined: 13 Aug 2006 Posts: 1554
|
Posted: Thu 21 Jul 2011, 09:39 Post subject:
|
|
I just noticed it seems to have issues with spaces somewhere. I'll have to figure that out after work tonight.
|
Back to top
|
|
 |
plinej
Joined: 13 Aug 2006 Posts: 1554
|
Posted: Thu 21 Jul 2011, 20:48 Post subject:
|
|
0.1.2 is up. It's a bugfix for files with spaces and a couple other minor things.
|
Back to top
|
|
 |
plinej
Joined: 13 Aug 2006 Posts: 1554
|
Posted: Fri 22 Jul 2011, 00:01 Post subject:
|
|
0.1.3 is up, just some modifications to handling artwork.
|
Back to top
|
|
 |
plinej
Joined: 13 Aug 2006 Posts: 1554
|
Posted: Fri 22 Jul 2011, 22:05 Post subject:
|
|
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.
|
Back to top
|
|
 |
plinej
Joined: 13 Aug 2006 Posts: 1554
|
Posted: Sat 23 Jul 2011, 22:21 Post subject:
|
|
0.1.5 is now up. Squashed another bug with the artwork in the mp3 gui and added a couple of minor tweaks.
|
Back to top
|
|
 |
sc0ttman

Joined: 16 Sep 2009 Posts: 2571 Location: UK
|
Posted: Sun 24 Jul 2011, 11:27 Post subject:
ptag 0.1.5.1 Subject description: tiny updates, if you want them |
|
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
Description |
|

Download |
Filename |
ptag-0.1.5.1.pet |
Filesize |
15.46 KB |
Downloaded |
520 Time(s) |
_________________ Akita Linux, VLC-GTK, Pup Search, Pup File Search
|
Back to top
|
|
 |
plinej
Joined: 13 Aug 2006 Posts: 1554
|
Posted: Sun 24 Jul 2011, 12:07 Post subject:
|
|
I don't think there should be any space issues anywhere but I'll take a look at your modifications and put them in the next update.
|
Back to top
|
|
 |
plinej
Joined: 13 Aug 2006 Posts: 1554
|
Posted: Sun 24 Jul 2011, 12:36 Post subject:
|
|
AppRun needs to be like this:
Code: | #!/bin/ash
DIR="`dirname \"$1\"`"
cd "$DIR"
ptag "$1" |
It works fine with files with spaces for me.
|
Back to top
|
|
 |
|