pcue-0.9 - tagging audio files from .cue, .txt, and more
Posted: Sun 02 Sep 2012, 16:21
I made some more scripts to tag audio files from .cue, .txt, and also the ability to edit a full directory of audio files at once. I decided I didn't want this to depend on cuetools so I wrote my own cue parsing script which I think works better than cuetools. You can start the scripts from the menu, from rox (right click on .flac, .txt, or .cue files), or from the command line.
I added the ability to tag other audio formats besides the default flac format. All of the other formats will require that ptag be installed:
ptag can be downloaded in the following thread: http://www.murga-linux.com/puppy/viewtopic.php?t=69948
------------------------------------------------------------------------------------
When selecting a .cue file you will have the options to split the entire album to individual flac files and tagging the files or tagging audio files that are already split.
This option below will tag audio files from the specified cue for audio files that are already split (-s option). The -d option is specified if you don't want to rename the files to $ALBUM-$DISCNUMBER$TRACKNUMBER-$TITLE. Don't use the -d if you want to rename. If you don't use the -s or -d it will split the file to individual flac files, tag, and rename. To split the files you will need shntool installed.
for flac (default):
for mp3 (or any other ptag supported format):
shntool can be found here:
http://www.murga-linux.com/puppy/viewto ... 04&t=69767
------------------------------------------------------------------------------------
Selecting a .txt file to tag a directory of audio files:
for flac (default):
for mp3 (or any other audio format supported by ptag):
example txt file:
1) edit your text file so the Artist name is on the line before the Album name and both are within the first 4 lines
2) the Comment will consist of the line that starts with 'source' (if applicable)
3) track names must be preceded by the track number on individual lines of the text file
4) audio files need to be in same directory as the txt file
------------------------------------------------------------------------------------
To edit a full directory of audio files meta data:
for flac (default):
for mp3 (or any other format supported by ptag):
The -c option is to create a .cue file from parsed meta data. pcue will then open the created .cue file. The script will get the album specific meta data from the first track only and the rest of the tracks will only display tracknumber, title, and performer. If you don't use the -c option the metadata will just be displayed in the terminal and nothing else will be done.[/url]
---------------------------------------------------------------------------------------------------
as of version 0.1.5
added a script called cddb_cue that will rip a cd using cdparanoia, use cddb_query and/or CD Text information to gather information about the disc, and use mkcue (source and compiled package attached) to create a cue file. If you choose to separate tracks the cue file will be opened in pcue. cddb_cue is the command line tool and cddb_cue_gui can be loaded from the menu for a gui.
I added the ability to tag other audio formats besides the default flac format. All of the other formats will require that ptag be installed:
ptag can be downloaded in the following thread: http://www.murga-linux.com/puppy/viewtopic.php?t=69948
------------------------------------------------------------------------------------
When selecting a .cue file you will have the options to split the entire album to individual flac files and tagging the files or tagging audio files that are already split.
This option below will tag audio files from the specified cue for audio files that are already split (-s option). The -d option is specified if you don't want to rename the files to $ALBUM-$DISCNUMBER$TRACKNUMBER-$TITLE. Don't use the -d if you want to rename. If you don't use the -s or -d it will split the file to individual flac files, tag, and rename. To split the files you will need shntool installed.
for flac (default):
Code: Select all
pcue your_cue_file.cue -s -d
Code: Select all
pcue your_cue_file.cue -s -d -t=mp3
http://www.murga-linux.com/puppy/viewto ... 04&t=69767
------------------------------------------------------------------------------------
Selecting a .txt file to tag a directory of audio files:
for flac (default):
Code: Select all
txt2tag your_text_file.txt
Code: Select all
txt2tag your_text_file.txt -t=mp3
Code: Select all
The Allman Brothers Band
Garden State Arts Center, Holmdel, NJ
1996-06-25
Source:AKG 398>Aerco>Sony D5>Cassette Master Section B Left Center Row J
Transfer:Cassette Master>Denon DRW 840>(Pass Thru) Sony R300 SBM>Optical>MeritLine USB Adapter>PC>CD Wave>FLAC Frontend (Level 8)
Taped & Transfered: Freddie G
1. Don't Want You No More
2. It's Not My Cross To Bear
3. Ain't Wastin' Time No More
4. Ramblin' Man
5. Good Clean Fun
6. Worried Down With The Blues
7. Tombstone Eyes
8. Stand Back
9. True Gravity
10. I Know I Oughta Leave
11. End Of The Line
12. Change My Way of Living
13. No One To Run With
14. Back Where It All Begins
ENC:
15. Franklins Tower Jam>Blue Sky
16. Whipping Post
2) the Comment will consist of the line that starts with 'source' (if applicable)
3) track names must be preceded by the track number on individual lines of the text file
4) audio files need to be in same directory as the txt file
------------------------------------------------------------------------------------
To edit a full directory of audio files meta data:
for flac (default):
Code: Select all
tagview -c
Code: Select all
tagview -c -t=mp3
---------------------------------------------------------------------------------------------------
as of version 0.1.5
added a script called cddb_cue that will rip a cd using cdparanoia, use cddb_query and/or CD Text information to gather information about the disc, and use mkcue (source and compiled package attached) to create a cue file. If you choose to separate tracks the cue file will be opened in pcue. cddb_cue is the command line tool and cddb_cue_gui can be loaded from the menu for a gui.