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 Fri 18 Apr 2014, 18:38
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Pmetatagger-2.1 - a gtkdialog audio meta tagger
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post new topic   Reply to topic View previous topic :: View next topic
Page 6 of 6 [89 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6
Author Message
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Fri 01 Feb 2008, 17:49    Post subject:  

Yeah, it'll be possible. I'll just have to think about the best way to implement it.
Back to top
View user's profile Send private message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Wed 30 Apr 2008, 19:13    Post subject:  

updated to 1.9

I modified a little code to make it play nicer with the etree scripts I posted. I also added a checkbox on the main gui for replay gain. If you want to add replay gain to your flac and ogg files just check the box. For ogg you'll need to install the vorbisgain package if you haven't already. I haven't managed to incorporate any of disciple's requests yet. I haven't been very motivated to do much coding lately.
Back to top
View user's profile Send private message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Wed 20 Aug 2008, 21:57    Post subject:  

updated to 2.0

Just some minor changes so a file can be tagged completely from the command line without the gui. I wanted to do this so I can make a file converter that retains tags. Right now I've got a simple script that converts flac to mp3 retaining the tags. I also made a script that will parse a txt file for tagging info (basically my own version of the etree scripts without the need for a bunch of perl modules). I'll post the scripts below if anyone wants them.

To use the "txt2ptag" script just enter it at the cli when you're in a directory of audio files that contains a txt file with the necessary information. The script will look for whatever file type there is the most of in the current directory to tag. The txt file will need to meet the following requirements to work correctly:

line 1 needs to be the artist name.
line 2 needs to be the date of the recording.
line 3 needs to be the album name.

The source will be found if a line starts with the word "source".
The tracks need to have numbers at the beginning of the line and will need to have a line before the tracks starting with any of the following words: "source" "tracklist" "setlist" or "disc" (case doesn't matter since grep -i will be used).

The "flac2mp3" script will convert an entire directory of flac files to mp3 (retaining the tags). A new directory will be created inside the current directory that will be named "whatever the current directory name is".mp3 and all of your mp3s will be in that new directory. The script will NOT delete your flac files. You can of course change the following at the top of the script:

INPUT=flac
OUTPUT=mp3
BITRATE=192
CHANNELS=2
RATE=44100

You can change them to any other ffmpeg supported file formats and settings. Maybe you want to do shn to ogg, change "INPUT=shn" & "OUTPUT=ogg".
scripts_to_use_with_pmetatagger-2.0.tar.gz
Description 
gz

 Download 
Filename  scripts_to_use_with_pmetatagger-2.0.tar.gz 
Filesize  1.29 KB 
Downloaded  441 Time(s) 
Back to top
View user's profile Send private message 
brymway

Joined: 08 Dec 2007
Posts: 410

PostPosted: Tue 09 Sep 2008, 00:37    Post subject:  

plinej-

Thanks for a fantastic program. I downloaded easytag but it's too complicated and has too many unclear features. I am using pmetatagger instead. I read this thread and am not sure if I understand it all so I'll ask.

I have 17 gigs of (the evil) m4p itunes music across the room on our imac. My ipod was recently stolen and so I picked up a Sansa Fuze, now completely free of mac and windows. Of course there is a trade off. I'm now using a program on the mac that I downloaded that takes forever to change the m4p music into mp3, then loading it on a usb stick, walk across the room, mount it, make a folder and put all the songs per album in it, then going thru and manually entering all the tag info for each song. Then I move it onto my laptop harddrive for storage and mount my Sansa. Puppy reads it like a usb thumb drive. I open the music folder and drag-copy the new album folder on my music player and viola! I'm done....whew! Needless to same it's a very long tedious task and I'm only getting started. I am using the Pmetatagger version 1.8 that came stock on Dingo 4.0.

Here's my question. Is there any capabilities with anything you've been incorporating to work with Ptag that would shorten any steps I'm making or is this my lot in life?

By the way, I curse the day itunes came into existence. They are no better than microsoft.

spit...
Back to top
View user's profile Send private message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Tue 09 Sep 2008, 09:42    Post subject:  

You could try to use the script I posted above, just change the input to m4p (INPUT=m4p). As long as ffmpeg supports the m4p files it should work just fine. You'll need to install Pmetatagger-2.0 as well.
Back to top
View user's profile Send private message 
brymway

Joined: 08 Dec 2007
Posts: 410

PostPosted: Tue 09 Sep 2008, 21:28    Post subject:  

Trying it out I moved flac3mp3 to a directory that had some m4ps in it, opened flac as text, changed the input to m4p and saved. Then clicked the executable and it made a new file of my m4ps with the same files.mp3. I clicked on one of them, gzine opened up, my cd spun and the my computer crashed. Any ideas?
Back to top
View user's profile Send private message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Tue 09 Sep 2008, 22:57    Post subject:  

I'm not sure what it could be. All of the mp3s were created in a new directory inside of the current directory right? Do the mp3s appear to be okay in size? Can you play any of the new mp3s from the command line like this:

# ffmpeg -i YOUR-MP3-FILE-HERE.mp3 -f au - | aplay
Back to top
View user's profile Send private message 
brymway

Joined: 08 Dec 2007
Posts: 410

PostPosted: Tue 09 Sep 2008, 23:01    Post subject:  

no aplay doesn't even work on my computer. I type aplay and it just sits there with a blinking cursor
Back to top
View user's profile Send private message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Wed 10 Sep 2008, 08:09    Post subject:  

@ brymway,

Check your private messages
Back to top
View user's profile Send private message 
ravensrest


Joined: 22 Feb 2008
Posts: 321
Location: Hood Canal, WA

PostPosted: Sat 29 Nov 2008, 14:46    Post subject:  

Jason, in attempting to use Pmetatagger 2.0 to tag some ogg files with vorbiscomment, I noted that in the box titles for both 'Enter the composer' and 'Enter the lyricist' the words 'composer' and 'lyricist' were not appearing. Further, neither the words nor their values were being written to the ogg file nor to the temp file you create.

I removed the $ from before the words 'lyricist' and 'composer' in lines:

605
606
814
818
822
826
900
901
926
927

of your code, and everything works fine now. I believe this problem is present in 1.9 also.

Other than that, thanks for a very useful script.

BS
Back to top
View user's profile Send private message 
ravensrest


Joined: 22 Feb 2008
Posts: 321
Location: Hood Canal, WA

PostPosted: Sat 29 Nov 2008, 20:54    Post subject:  

OK, I think I have found a second and larger problem. Still using ogg files and Vorbiscomment. All the required Vorbis files and libraries are present, and I am using gtk3.

The Skip and Next buttons seem to do what they are supposed to do. If you hit Skip and answer the ensuing dialog about whether to use old info or not NO, you can skip thru all your files and the correct tags will be shown with one anomaly. The first file that you skip to has a track number shown that is one too high. After that they resume their correct numbers.

But if you select YES, then as you skip thru the files, the previous data appear to be presented if the current file has already been tagged. When you come to an untagged file, the previous data are only presented for the first such file and the file number is correct. After entering the title, you click Next and although the next file is correctly opened, no previous data are present and the track number goes to 1. It looks like this may occur at line 730 where you grep the track number from File2, but set it to zero if there is none (untagged file)? Later you increment it back to 1. Changing line 732 to:

NUMGUI=`expr $NUMBER - 1`

Seems to resolve the problem.

Also, if I choose a tag-dump file, shouldn't the data from that file show up in the dialog boxes of the main gui? They don't for me, just the name of the file, although the info from the tag-dump file is correctly written to the current ogg file.

Tried looking at your code a bit, but this may be beyond my talents. Help?

BS

Last edited by ravensrest on Sun 30 Nov 2008, 14:23; edited 1 time in total
Back to top
View user's profile Send private message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Sun 30 Nov 2008, 14:20    Post subject:  

PM the updated script to me and I'll post your fixes as a new version. I really don't have alot of time anymore to work on this stuff.
Back to top
View user's profile Send private message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Sun 30 Nov 2008, 16:22    Post subject:  

2.1 is posted and contains ravensrest' fix. When I get a chance I'll look at the other reported problem.
Back to top
View user's profile Send private message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Mon 08 Aug 2011, 20:13    Post subject:  

Just incase anyone looks at this thread I wanted to post that this project is dead and I started over with Ptag.

http://www.murga-linux.com/puppy/viewtopic.php?t=69948
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 6 of 6 [89 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
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.0765s ][ Queries: 13 (0.0062s) ][ GZIP on ]