Page 3 of 5

Posted: Sun Jan 07, 2007 5:16 am
by Bex
Sometimes I also have this problem but it has always worked on the second attempt, wonder why?

Posted: Mon Jan 08, 2007 2:48 pm
by tinana
How funny, I also have this problem with half my files. I'm glad to see that others may've found a work-around. I can't wait to try out this fix at home.

Posted: Sun Nov 25, 2007 10:23 am
by Guest
Would it be possible to update so that it is compatable with MM3?

I changed the 1st few lines so that it would be recognized with MM3, but it will not tag files from a taglist. It reports the error that comes up when the number of files does not match the number of tags in the list.

Thanks

Posted: Sun Dec 16, 2007 11:35 pm
by sperk
I use this script alot. Does it work with MM3?

Posted: Mon Jun 02, 2008 11:24 pm
by lrds
Yes it works with MM3. You just need to modify the OnStartUp to the code below.

Code: Select all

Sub OnStartUp 
      Dim MenuItem 
      Set MenuItem = SDB.UI.AddMenuItem(SDB.UI.Menu_Tools, 1, -3) 
         MenuItem.Caption = "Auto-Tag from Tag-List..." 
         MenuItem.IconIndex = 26 
         MenuItem.UseScript = Script.ScriptPath 
         MenuItem.OnClickFunc = "TagFromTagList" 
      Set MenuItem = Nothing 
End Sub 

Re: Import tag info (track titles) from .txt files?

Posted: Sun Feb 22, 2009 3:50 pm
by Guest
I can't seem to get this to work. Can anyone help?

Re: Script fixed

Posted: Tue Feb 24, 2009 12:23 pm
by Guest
mjmesiti wrote: So I changed the following line:

TagListLines = Count(TagListContent, Chr(13))

to:

TagListLines = Count(TagListContent, Chr(13)) - 1
I got it to work. I took the - 1 back off that changed line and it worked.

Re: Import tag info (track titles) from .txt files?

Posted: Fri Feb 27, 2009 6:53 am
by Music_Cat
Mine only works with Notepad - not Excel. In Excel it still gives the 'lines don't match' error?

Re: Import tag info (track titles) from .txt files?

Posted: Thu Mar 19, 2009 6:14 pm
by MattTown
Music_Cat wrote:In Excel it still gives the 'lines don't match' error?
If you are using Excel to write a text file of a worksheet containing your intended text lines, I found that Excel puts "double quotes" around any line which contains commas, and that messes with the text pattern that the format strings are looking for.

I do use Excel to write text files for import to a tagging program, and find that I have to go into the written text file using notepad and do a search/replace of the double quote character with nothing.

Re: Import tag info (track titles) from .txt files?

Posted: Fri Mar 20, 2009 1:53 am
by Music_Cat
Thanks for that info!

Image

Re: Import tag info (track titles) from .txt files?

Posted: Sun Mar 22, 2009 12:46 am
by MattTown
As an update to my previous, I was using Excel to save a file as "Text File (MSDOS)(.txt)". It appears that when saving from Excel as "Unicode text (.txt)", Excel does not embed stray double quotes.

Re: Import tag info (track titles) from .txt files?

Posted: Sun Mar 22, 2009 2:11 am
by Guest
MattTown wrote:As an update to my previous, I was using Excel to save a file as "Text File (MSDOS)(.txt)". It appears that when saving from Excel as "Unicode text (.txt)", Excel does not embed stray double quotes.
I dis assume that - thanks.... :D

Re: Import tag info (track titles) from .txt files?

Posted: Fri Sep 25, 2009 9:49 am
by deeznudts
Wow I've been looking for something like this for forever! Thank you so much resume man. If he can't do I don't know who can.

Re: Import tag info (track titles) from .txt files?

Posted: Thu Apr 08, 2010 8:19 pm
by spencoid
i am trying to add txt tags to midi files. i wrote a program that creates .txt files for each entry in a tab delimited text file. i can make this more generally useful and available to others if another program like this is needed. i also have programs that dump text events from meta data in .mid files which is how i create the tabbed text file.

i am using the txt importer script but all i get imported is the title, none of the other tags. i read somewhere about needing to use the script name but can not find documentation on what the script names are for the common fields. here is an example of the text in one of my .txt files that does not work. i am using UTF8 encoding. might that be the problem?
Filename=D01028
Title=Cheek to Cheek, Isn't this a Lovely Day
Composer=Berlin
Artist=Carroll, Adam
Album=Duo-Art

Re: Import tag info (track titles) from .txt files?

Posted: Sat Apr 10, 2010 12:48 pm
by spencoid
I got a private message reply from trixmoto that solves this problem so I am sharing it here. There needs to be an exact match between the tag filed name and the entry in the txt file. It is apparently the field name in the sql database that is needed which can be different from the display name in MediaMonkey. To display the name of the album, you need to use "AlbumName" not album. Artist is ArtistName. Composer is "Author" The ones that displayed without problems were the ones that were named more obviously such as Genre for genre and Comment for comment. There is a list that shows the field names but to really understand how it works, you probably need to correlate the field name with the display name. I have not looked but this might be found in the mediamonkey.ini file?? http://www.mediamonkey.com/wiki/index.php/SDBSongData