IPB

Welcome Guest ( Log In | Register )

> Notice!

Please take a minute to check our Frequently Asked Questions. Use Search to reveal possible related topics.

Also make sure you've read the Forum Guidelines before posting in this forum.

 
Reply to this topicStart new topic
> New York Times Manual of Style script?, Help me convert this MusicBrainz perl script
dreamslides
post May 7 2012, 00:41
Post #1


Member


Group: Full Members
Posts: 7
Joined: 7-May 12
Member No.: 16418
Mp3tag Version: 2.50



I've attached Attached File  titlecase.zip ( 2.36K ) Number of downloads: 72

the Python script I was using with MusicBrainz Picard. The beauty of this plugin was that it followed the New York Times Manual of Style in deciding what to make lowercase or not. After exploring this and a script I found online at http://liquidparallax.com/2007/10/19/mp3ta...ollection/#titl I've modified it and created a version that's in the same spirit of the original plugin.

For the most part you can look in the attached Attached File  Title_Case__It__s_a_Smart_Conversion_.zip ( 426bytes ) Number of downloads: 67

and you will find the lines where they specify lowercase characters to be nearly identical. So I just copied over the one from the Python script and replaced the one in the mp3tag script. It works fine and does what I was hoping for :-)

Thanks everyone for reading this thread, I got lucky and found a script I could adapt.

This was my modification if you want to have a look
Attached File  Title_Case__New_York_Times_Manual_of_Style_.zip ( 490bytes ) Number of downloads: 74


This post has been edited by dreamslides: May 8 2012, 01:03
Attached File(s)
Attached File  Title_Case__It__s_a_Smart_Conversion_.mta ( 297bytes ) Number of downloads: 79
 
Go to the top of the page
 
+Quote Post
ohrenkino
post May 7 2012, 06:51
Post #2


Member


Group: Full Members
Posts: 4733
Joined: 9-December 09
From: Norddeutschland / Northern Germany
Member No.: 11458
Mp3tag Version: 2.64a



QUOTE (dreamslides @ May 7 2012, 01:41) *
Hey can you guys take a look at this perl script?
I have no programming skills and thought this may not be so difficult for one of you to assist me on, the script would be useful to anyone on here as well if you can help :S

Thanks everyone!

You might want to have a look at this thread - as this uses MP3tag resources:
http://forums.mp3tag.de/index.php?showtopic=13185

This post has been edited by dano: May 7 2012, 08:14


--------------------
42 - wie war die Frage / what was the question / comment était la question
Go to the top of the page
 
+Quote Post
DetlevD
post May 7 2012, 19:27
Post #3


Member


Group: Full Members
Posts: 5031
Joined: 26-May 06
From: Wuppertal, Germany, Planet Earth
Member No.: 3194
Mp3tag Version: 2.63



QUOTE (dreamslides @ May 7 2012, 01:41) *
Hey can you guys take a look at this perl script? I'd like to have the same thing for use in mp3tag. ...

I want to mention, that you have offered not a Perl script, but a Python script!

What have you tried so far on your transcription of the "New York Times Manual of Style" rules into Mp3tag Scripting language and where did you realize problems?

DD.20120507.2022.CEST

This post has been edited by DetlevD: May 7 2012, 19:30


--------------------
* Beyond that, don't ask, when you don't know what to do with the answer. *
♥ home is where the heart is ♥
Go to the top of the page
 
+Quote Post
dreamslides
post May 7 2012, 20:30
Post #4


Member


Group: Full Members
Posts: 7
Joined: 7-May 12
Member No.: 16418
Mp3tag Version: 2.50



See above

This post has been edited by dreamslides: May 8 2012, 00:21
Attached thumbnail(s)
Attached Image
 

Attached File(s)
Attached File  Fix_AccurateRipResult.mta ( 543bytes ) Number of downloads: 80
Attached File  Case_conversion.mta ( 33bytes ) Number of downloads: 80
Attached File  New_York_Times_Manual_of_Style.mta ( 694bytes ) Number of downloads: 76
 
Go to the top of the page
 
+Quote Post
DetlevD
post May 7 2012, 20:56
Post #5


Member


Group: Full Members
Posts: 5031
Joined: 26-May 06
From: Wuppertal, Germany, Planet Earth
Member No.: 3194
Mp3tag Version: 2.63



QUOTE (dreamslides @ May 7 2012, 21:30) *
... I upload the files here ...

Please attach the mta files (maybe zipped) to your forum post, not elsewhere on the internet.
Do I understand it right that you got all the mta rules running without any problem?
I would avoid to use the pseudo tagfield _ALL and use instead _TAG.

DD.20120507.2148.CEST

This post has been edited by DetlevD: May 7 2012, 20:57


--------------------
* Beyond that, don't ask, when you don't know what to do with the answer. *
♥ home is where the heart is ♥
Go to the top of the page
 
+Quote Post
dreamslides
post May 7 2012, 22:49
Post #6


Member


Group: Full Members
Posts: 7
Joined: 7-May 12
Member No.: 16418
Mp3tag Version: 2.50



See above

This post has been edited by dreamslides: May 8 2012, 00:21
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 20th October 2014 - 22:10