Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 18 Sep 2014, 20:10
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
pcue-0.1.9 - tagging audio files from .cue, .txt, and more
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [11 Posts]  
Author Message
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Sun 02 Sep 2012, 12:21    Post subject:  pcue-0.1.9 - tagging audio files from .cue, .txt, and more
Subject description: gtkdialog scripts... 2013-11-02
 

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):
Code:

tagview -c


for mp3 (or any other format supported by ptag):
Code:

tagview -c -t=mp3


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.
pcue-0.1.9.pet
Description 
pet

 Download 
Filename  pcue-0.1.9.pet 
Filesize  12.84 KB 
Downloaded  385 Time(s) 
uni2ascii-4.18-i486.pet
Description  compiled in Precise
pet

 Download 
Filename  uni2ascii-4.18-i486.pet 
Filesize  69.66 KB 
Downloaded  188 Time(s) 
uni2ascii-4.18.tar.bz2
Description  source code
bz2

 Download 
Filename  uni2ascii-4.18.tar.bz2 
Filesize  124.15 KB 
Downloaded  201 Time(s) 
mkcue-1.0.tar.gz
Description  source package
gz

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

 Download 
Filename  mkcue-1.0.pet 
Filesize  3.32 KB 
Downloaded  411 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 Sat 02 Nov 2013, 10:44; edited 14 times in total
Back to top
View user's profile Send private message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Sun 02 Sep 2012, 12:25    Post subject:  

Here's a sample of the gui using txt2tag.
txt2tag.jpg
Description 
jpg

 Download 
Filename  txt2tag.jpg 
Filesize  106.74 KB 
Downloaded  399 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
View user's profile Send private message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: 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
View user's profile Send private message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: 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
View user's profile Send private message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: 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
View user's profile Send private message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: 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
View user's profile Send private message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: 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
View user's profile Send private message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: 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
View user's profile Send private message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Sat 17 Aug 2013, 11:07    Post subject:  

0.1.7 is up. Just some bug fixes.
_________________
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
View user's profile Send private message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Tue 20 Aug 2013, 20:47    Post subject:  

Updated to version 0.1.8. I updated to Puppy Precise and noticed my remove_special_characters script wasn't working properly like it did in Racy. I updated the script and had to make it use uni2ascii. It will only use it if found, otherwise it will use iconv to remove any non ASCII characters.
_________________
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
View user's profile Send private message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Sat 02 Nov 2013, 10:44    Post subject:  

updated to version 0.1.9

fixed some bugs

_________________
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
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [11 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
Jump to:  

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
[ Time: 0.0775s ][ Queries: 13 (0.0144s) ][ GZIP on ]