The time now is Fri 24 May 2013, 15:38
All times are UTC - 4 |
| Author |
Message |
plinej
Joined: 13 Aug 2006 Posts: 1517
|
Posted: Sun 02 Sep 2012, 12:21 Post subject:
pcue-0.1.6 - tagging audio files from .cue, .txt, and more Subject description: gtkdialog scripts... 2013-01-15 |
|
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):
| Code: |
pcue your_cue_file.cue -s -d
|
for mp3 (or any other ptag supported format):
| Code: |
pcue your_cue_file.cue -s -d -t=mp3
|
shntool can be found here:
http://www.murga-linux.com/puppy/viewtopic.php?search_id=2062460504&t=69767
------------------------------------------------------------------------------------
Selecting a .txt file to tag a directory of audio files:
for flac (default):
| Code: |
txt2tag your_text_file.txt
|
for mp3 (or any other audio format supported by ptag):
| Code: |
txt2tag your_text_file.txt -t=mp3
|
example txt file:
| Code: |
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
|
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.
| Description |
|

Download |
| Filename |
pcue-0.1.6.pet |
| Filesize |
12.99 KB |
| Downloaded |
152 Time(s) |
| Description |
source package
|

Download |
| Filename |
mkcue-1.0.tar.gz |
| Filesize |
93.04 KB |
| Downloaded |
119 Time(s) |
| Description |
compiled in Racy 5.3
|

Download |
| Filename |
mkcue-1.0.pet |
| Filesize |
3.32 KB |
| Downloaded |
114 Time(s) |
_________________ An archive of quite a few pet packages, mostly that I've compiled, is located at http://my.opera.com/jpline/blog
Last edited by plinej on Tue 15 Jan 2013, 23:50; edited 11 times in total
|
|
Back to top
|
|
 |
plinej
Joined: 13 Aug 2006 Posts: 1517
|
Posted: Sun 02 Sep 2012, 12:25 Post subject:
|
|
Here's a sample of the gui using txt2tag.
| Description |
|

Download |
| Filename |
txt2tag.jpg |
| Filesize |
106.74 KB |
| Downloaded |
170 Time(s) |
_________________ An archive of quite a few pet packages, mostly that I've compiled, is located at http://my.opera.com/jpline/blog
|
|
Back to top
|
|
 |
plinej
Joined: 13 Aug 2006 Posts: 1517
|
Posted: Sun 02 Sep 2012, 20:49 Post subject:
|
|
had a bug in the tagview script. 0.1.1 is up now.
_________________ An archive of quite a few pet packages, mostly that I've compiled, is located at http://my.opera.com/jpline/blog
|
|
Back to top
|
|
 |
plinej
Joined: 13 Aug 2006 Posts: 1517
|
Posted: Mon 03 Sep 2012, 19:56 Post subject:
|
|
had a bug in the txt2tag script. 0.1.2 is up now.
_________________ An archive of quite a few pet packages, mostly that I've compiled, is located at http://my.opera.com/jpline/blog
|
|
Back to top
|
|
 |
plinej
Joined: 13 Aug 2006 Posts: 1517
|
Posted: Mon 24 Sep 2012, 11:18 Post subject:
|
|
updated to 0.1.3
_________________ An archive of quite a few pet packages, mostly that I've compiled, is located at http://my.opera.com/jpline/blog
|
|
Back to top
|
|
 |
plinej
Joined: 13 Aug 2006 Posts: 1517
|
Posted: Fri 28 Sep 2012, 22:11 Post subject:
|
|
updated to 0.1.4
The pcue script had a bug in 0.1.3
_________________ An archive of quite a few pet packages, mostly that I've compiled, is located at http://my.opera.com/jpline/blog
|
|
Back to top
|
|
 |
plinej
Joined: 13 Aug 2006 Posts: 1517
|
Posted: Thu 13 Dec 2012, 17:57 Post subject:
|
|
0.1.5 is up
fixed some bugs among other things as well as creating a script/gui for cd ripping and creating cue files. See first post for more info.
_________________ An archive of quite a few pet packages, mostly that I've compiled, is located at http://my.opera.com/jpline/blog
|
|
Back to top
|
|
 |
plinej
Joined: 13 Aug 2006 Posts: 1517
|
Posted: Tue 15 Jan 2013, 23:51 Post subject:
|
|
0.1.6 has been uploaded - bugfix
_________________ An archive of quite a few pet packages, mostly that I've compiled, is located at http://my.opera.com/jpline/blog
|
|
Back to top
|
|
 |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|