Txt Importer 1.1 [MM2+3]

Download and get help for different MediaMonkey for Windows 4 Addons.

Moderators: Peke, Gurus

Nachash
Posts: 7
Joined: Fri Jul 16, 2010 8:22 am

Re: Txt Importer 1.1 [MM2+3]

Post by Nachash »

Is it possible to make a sort of txt exporter?

Sorry for the "little" up :D
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Re: Txt Importer 1.1 [MM2+3]

Post by trixmoto »

My "Custom Report" script can create .txt files.
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
ripndip
Posts: 38
Joined: Fri Oct 02, 2009 12:54 pm

Re: Txt Importer 1.1 [MM2+3]

Post by ripndip »

Im guessing this doesn't work for MM4 because after install it does not show up in options or Autotag from web options. Is there another area I can look for this scripts functionality?


Im looking to import tags from a list of filenames I copied from Amazon, because when I imported the CD the metadata was not imported, I run into this all the time, and this scripts seems like it can fix that.

Anyone know how to use this?
Eyal
Posts: 3119
Joined: Sun Jun 26, 2005 9:27 am
Location: Québec
Contact:

Re: Txt Importer 1.1 [MM2+3]

Post by Eyal »

I never used this script but Auto-Tag from Tag-List works fine for me.
See last post in this thread: http://www.mediamonkey.com/forum/viewto ... f=2&t=8882

:~)
Skins for MediaMonkey: Cafe, Carbon, Helium, Spotify, Zekton. [ Wiki Zone ].
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Re: Txt Importer 1.1 [MM2+3]

Post by trixmoto »

It should work in MM4 without any problems. It should appear in the Tools > Script menu, but you may need to manually edit the "Scripts.ini" file.
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
Edouard29
Posts: 1
Joined: Mon Nov 09, 2020 11:31 am

Re: Txt Importer 1.1 [MM2+3]

Post by Edouard29 »

Hello all,

In case it can be useful for others, I’ve made an Excel file to generate with macro .txt Tag files to be used by plugin TxtImporter.
I attach it below.
https://drive.google.com/file/d/1BVPZAk ... sp=sharing
The file contains a “Guide” tab having a “Full Guide” § but also a “Simple Guide” § and “What to improve” § that I copy below to give an idea.

Simple Guide
1 List in one Green Sheet the files you want to Tag with the "Music List" button. You may list files from different folder by doing it again, the new ones will be added at the end.
2 Fill the Tag value you want to generate on the corresponding Tag properties columns (green columns). Then click on "Tag" button to generate the .txt files and in MediaMonkey launch the plugin "TxtImporter" on the related files.
3 Click on "Clean Files" button to delete the .txt files previously generated. Then click on "Clear Lines" button to remove the lines from this file.


What to improve
1 Correct my broken English (in the file and in the VBA code)
2 "TxtImporter" does not work with UTF-8. By default, I've put the encoding "Windows-1252" (extended Latin) which works fine for me, but not for non-Latin characters but I did not find any way to be universal.
3 Find a way to retrieved directly the first Google lyrics result on this file.


One last thing, my macro force for multiline tag a « Platform-specific new line character » (Cr+Lf for Windows) but when importing in MediaMonkey it seems to generate only Cr (Macintosh Way). It may be related with the line (line 76) code below:
Execute("itm."&tag&" = itm."&tag&"&Chr(13)&"""&str&"""") '!
It generated in my side, issues when using the Plugin “RegExp Find and Replace”. To solve this, I had to create a Regular Expression to replace all Cr by Cr+Lf shown below (if not working, the direct link : https://drive.google.com/file/d/1EZb_AS ... sp=sharing).
Image

Find what (with “Regular expression” checked):
\r(?!\n)

Replace with (with “VBScrit” checked)

vbCrLf
Post Reply