Page 7 of 12
Great Script!
Posted: Sat Mar 15, 2008 8:47 pm
by Libelula
Hi, just wanted to say thank you for the script. Really helped me out organizing a load of audio books. For some reason each cd had different tags & even the filenames didn't follow the same pattern.
BIG HUG

Posted: Tue Mar 25, 2008 3:00 pm
by sommo
Thanks for this!!!
Posted: Thu Mar 27, 2008 5:13 pm
by Davo
Just started using this exellent script. I'm not that familiar with script parsing but using the examples in the posts i've picked up a fair bit of info. I'd appreciate some help with this situation:-
TITLE = [George Gershwin] The Man I Love
What i'd like to do is remove the parenthesis [ ] & copy the "George Gershwin" part of the title into the COMPOSER field leaving "The Man I Love" as the TITLE.
David
Posted: Thu Mar 27, 2008 6:34 pm
by Davo
Exploring this a bit more i see that if i use:-
TITLE --> <Title>]<Skip> it will remove all the characters from ] to the end of the string. This works ok on the TITLE field but not the COMPOSER field.
A primer on all this stuff would be really good if anyone can point me in the right direction.
David
Posted: Fri Mar 28, 2008 6:51 pm
by Steegy
Can't try for the moment, but
Title --> [<Composer>] <Title>
should do the trick.
Posted: Fri Mar 28, 2008 7:50 pm
by Davo
Thanks Steegy that worked fine & simpler than i thought.
David
Posted: Tue Apr 15, 2008 10:47 am
by sommo
Handy!
Idea: What about replace Tag?
Network oddities.
Posted: Thu Apr 17, 2008 1:54 am
by supremeox
I ran this on all my "Various Artists" tracks so the artist is "various" and the album artist is the artist. My new iPod is now sorting correctly, so far so good.
But when I scanned my library into my second computer on the network, it's appearing the same as before running this script. Is this something that just messes with the database, or are the actual tags in the file changed, and if the tags are changed, what's the explanation for my networked PC finding the data the old way? Do I need to run the script on my other PC, or will that mess everything up?
Thanks.
Posted: Thu Apr 17, 2008 5:39 am
by nynaevelan
Have you saved your changes to the tag?? It reads like you have only made the changes in your original database which is why they are not being picked up in your secondary database.
Nyn
Posted: Mon May 05, 2008 6:18 pm
by Davo
Steegy - Could the "Grouping" tag field be added to ExtractFields.
Thanks - David
Posted: Tue May 06, 2008 3:59 pm
by Steegy
Sure. Using the information from
here and
here, you can add quite some new fields to be used with ExtractFields.
You need to be at the last part of the script code (the EXTRA ENUMERATIONS section).
For the grouping field, you can/should add
"%ZO" to the
CommonTags array,
"Grouping" to the
SongDataFields array and
"%ZO", "Grouping" to the
FieldDict dictionary.
See the example below:
Code: Select all
Dim CommonTags : CommonTags = Array("%A", "%L", "%S", "%G", "%T", "%Y", "%X", "%R", "%C", "%M", "%B", "%U", "%V", "%W", "%P", "%F", "%ZO")
' Enumeration of the most important fields in the SongData object
Dim SongDataFields : SongDataFields = Array( _
"AlbumArtistName", _
"AlbumName", _
"ArtistName", _
"Author", _
"Band", _
"Bitrate", _
"BPM", _
"Comment", _
"Conductor", _
"Copyright", _
"Custom1", _
"Custom2", _
"Custom3", _
"Encoder", _
"Genre", _
"InvolvedPeople", _
"Lyricist", _
"Lyrics", _
"MediaLabel", _
"Mood", _
"MusicComposer", _
"Occasion", _
"OriginalArtist", _
"OriginalLyricist", _
"OriginalTitle", _
"OriginalYear", _
"Publisher", _
"Quality", _
"Rating", _
"Tempo", _
"Title", _
"TrackOrder", _
"Year", _
"Grouping")
Dim FieldDict : Set FieldDict = CreateObject("Scripting.Dictionary")
With FieldDict
.Add "%A", "ArtistName"
.Add "%C", "Author"
.Add "%G", "Genre"
.Add "%L", "AlbumName"
.Add "%M", "BPM"
.Add "%R", "AlbumArtistName"
.Add "%S", "Title"
.Add "%T", "TrackOrder"
.Add "%U", "Custom1"
.Add "%V", "Custom2"
.Add "%W", "Custom3"
.Add "%Y", "Year"
.Add "%P", "Path"
.Add "%ZO", "Grouping"
End With
After that you can use the Grouping field in the same way as the other fields.
Cheers
Steegy
Posted: Tue May 06, 2008 8:24 pm
by Davo
Thanks for the info - I'll give it a go ( my first attempt at altering a script)
David
Posted: Tue May 06, 2008 11:05 pm
by Davo
Fantastic - worked first time. Thanks again for a great script & your help.
David
Posted: Sun Jun 01, 2008 10:13 pm
by sperk
can you use this to remove trailing text from a song title?
e.g. title.artist and you want to remove .artist
thanks
Posted: Sun Jun 01, 2008 10:44 pm
by nohitter151
Why would you want to remove the extension from the file? Doing so would make the file unplayable.