Setting tags to multiple MP3 files

  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8388
  • Loc: USA

Post 3+ Months Ago

I have 1136 MP3 which I want to set the same author and then other tags to them. I don't want to do that file by file manually since it's going to take a long time... is it possible for me to write a PHP script to do that, and if so, how would I start and how would it be?

If there is already a program like that, how could I do that? The tags would be in Russian, so I think I would need to do some encoding there too...


Thanks in advance :)
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8388
  • Loc: USA

Post 3+ Months Ago

NVM: iTunes did that for me.... though, when I imported the Russian music to iTunes, it messed up the encoding on a lot of the files (Ïòèöû óëåòàþò â äàëü) and even renamed some of them to Track ##...
  • joebert
  • Fart Bubbles
  • Genius
  • User avatar
  • Posts: 13502
  • Loc: Florida

Post 3+ Months Ago

Search results seem to indicate there are settings in iTunes you have to play with for unicode characters.
  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8388
  • Loc: USA

Post 3+ Months Ago

I found the convert ID3 tags thing, and that did not help me. Some of the fields either turned to question marks or something else entirely.

Maybe I didn't find what you found in your search results... maybe you could post a link to the page that seems to indicate to those settings in iTunes that I have to play with for unicode characters?
  • spork
  • Brewmaster
  • Silver Member
  • User avatar
  • Posts: 6244
  • Loc: Seattle, WA

Post 3+ Months Ago

This sounds like a good little project to take on to learn a new scripting language. ;)
  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8388
  • Loc: USA

Post 3+ Months Ago

I found some AppleScript that was written especially for this problem, but I don't know how to use it.

http://code.google.com/p/as-convert-russian/
  • spork
  • Brewmaster
  • Silver Member
  • User avatar
  • Posts: 6244
  • Loc: Seattle, WA

Post 3+ Months Ago

Bogey wrote:
I found some AppleScript that was written especially for this problem, but I don't know how to use it.

Not yet you don't.
  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8388
  • Loc: USA

Post 3+ Months Ago

So, it's only for OS X... not going to work for me.

Spork wrote:
This sounds like a good little project to take on to learn a new scripting language. ;)

Which scripting language do you think would help me here?
  • spork
  • Brewmaster
  • Silver Member
  • User avatar
  • Posts: 6244
  • Loc: Seattle, WA

Post 3+ Months Ago

Python seems to have quite a few ID3-manipulation modules available. Here's a decent looking one: http://www.liquidx.net/pytagger

This StackOverflow question has a lot of good replies as well.
  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8388
  • Loc: USA

Post 3+ Months Ago

Thanks... WAMP is for PHP... where could I find a server for Perl?
  • spork
  • Brewmaster
  • Silver Member
  • User avatar
  • Posts: 6244
  • Loc: Seattle, WA

Post 3+ Months Ago

Perl? Do you mean Python?

Why do you need a web server?
  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8388
  • Loc: USA

Post 3+ Months Ago

lol I meant python.

I said I needed a web server because I don't know what python is and thought it was a web language :lol:

Sorry, I'll do some research next time before posting. I forget that I can't have a normal person to person chat on forums :lol: like I can on the phone or if met in person.


I made a simple python test page (using the code from SimplePrograms and the page that turns on simply blinks on and off.

The code I put into test.py is:

PYTHON Code: [ Select ]
print 'Hello, world!'
 
parents, babies = (1, 1)
while babies < 100:
    print 'This generation has {0} babies'.format(babies)
    parents, babies = (babies, parents + babies)
 
friends = ['john', 'pat', 'gary', 'michael']
for i, name in enumerate(friends):
    print "iteration {iteration} is {name}".format(iteration=i, name=name)
  1. print 'Hello, world!'
  2.  
  3. parents, babies = (1, 1)
  4. while babies < 100:
  5.     print 'This generation has {0} babies'.format(babies)
  6.     parents, babies = (babies, parents + babies)
  7.  
  8. friends = ['john', 'pat', 'gary', 'michael']
  9. for i, name in enumerate(friends):
  10.     print "iteration {iteration} is {name}".format(iteration=i, name=name)


I installed python 2.7.3.
  • spork
  • Brewmaster
  • Silver Member
  • User avatar
  • Posts: 6244
  • Loc: Seattle, WA

Post 3+ Months Ago

If you installed Python locally you can just open up a Command Prompt window, navigate to the directory containing the Python script, and run it directly:

Code: [ Select ]
c:\some\directory>python test.py


I think Python even installs filetype handlers nowadays, so the 'python' invocation is probably unnecessary:

Code: [ Select ]
c:\some\directory>test.py
  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8388
  • Loc: USA

Post 3+ Months Ago

Yeah, I got it to turn on. It turns on a command prompt saying 'Hello World!' and some other text after it (Those loops) but then it turns off just as fast as it turns on. That's what I mean it blinks.

I don't know why.
  • spork
  • Brewmaster
  • Silver Member
  • User avatar
  • Posts: 6244
  • Loc: Seattle, WA

Post 3+ Months Ago

I'm confused. You opened a command prompt and then ran the script, right? If you're trying to double-click the file, it's just going to open, run, and then close.

Post Information

  • Total Posts in this topic: 15 posts
  • Users browsing this forum: No registered users and 142 guests
  • 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 post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.