Lyricator - Batch Lyrics Updater v1.00 [OUTDATED]

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

Moderators: Peke, Gurus

nohitter151
Posts: 23640
Joined: Wed Aug 09, 2006 10:20 am
Location: NJ, USA
Contact:

Re: Lyricator - Batch Lyrics Updater v1.00 [MM3]

Post by nohitter151 »

davidbspalding wrote:
(From locked thread)
@Owyn - thanks, I'm glad you like it. If you search this thread for "activex" then there's quite a lot of advice, but I think the main thing to try is...
1) Run regedit.exe
2) Goto HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\0
3) Modify key 1201 = 0
This sets your "My Computer" zone setting (which is not displayed in the Internet Options) to Enabled.
Owyn wrote:Got the mail. Thanks for the logs.

The ActiveX message is a Windows security alert. I had the same problem with Monkey Rok.
http://www.mediamonkey.com/forum/viewto ... ex#p246820

The only thing I added to Trix's instructions was to exit & restart MM after applying the regedit fix.
Um ... this is a concern. Editing the Registry to overcome an IE security setting could expose your computer to compromise by malware. Before effecting this change, read the Microsoft Support article about these settings....

http://support.microsoft.com/kb/182569

There's an IE setting in Advanced settings, "Allow Active Content to run in files on My Computer," that seems to have no effect, if Lyricator could get a pass by running under that zone/setting, that would be safer than tweaking around a security setting for any ActiveX control that tries to run in Zone0.

Now, anyone can pooh-pooh my concern, that's fine, it's your computer. But I'll live with the popup message and have a more secure system, thank you very much. ;)
The settings only affects files which are run from "My computer" locally. It doesn't affect stuff which is on the web.
MediaMonkey user since 2006
Need help? Got a suggestion? Can't find something?

Please no PMs in reply to a post. Just reply in the thread.
davidbspalding
Posts: 222
Joined: Fri Jan 08, 2010 3:53 pm
Location: Durham, NC

Re: Lyricator - Batch Lyrics Updater v1.00 [MM3]

Post by davidbspalding »

nohitter151 wrote: The settings only affects files which are run from "My computer" locally. It doesn't affect stuff which is on the web.
Yep. That's why I cited "malware," not web content. Trojans and other malware generally work by landing and running locally. Hence the security lockdown in XP SP2 on content running in Zone0. :wink:
«Tell me and I'll forget; show me and I may remember; involve me and I'll understand.» Chinese proverb
T43 XP-SP3 2GB RAM, dual hard drives, MM 4.0.3 Gold; Ipod Classic 7G v2.0.4, Nano 3G v1.1.3.
Owyn
Posts: 2018
Joined: Fri Mar 21, 2008 10:55 am
Location: Canada

Re: Lyricator - Batch Lyrics Updater v1.00 [MM3]

Post by Owyn »

davidbspalding wrote:
nohitter151 wrote: The settings only affects files which are run from "My computer" locally. It doesn't affect stuff which is on the web.
Yep. That's why I cited "malware," not web content. Trojans and other malware generally work by landing and running locally. Hence the security lockdown in XP SP2 on content running in Zone0. :wink:
I just don't know. In my case I only have IE installed because I have to. I don't use it directly. My default browser is FireFox without any ActiveX support at all, so, my risk is probably minimal.

Back to re-reading the KB articles again. They are dense.
Cogito cogito ergo cogito sum. (Ambrose Bierce)
I drink therefore I am. (Monty Python)
Vista 32bit Home Premium SP2 / MM3.2.1.1297 Gold / Last.Fm 1.0.2.22 / IE8
Dell Inspiron 530 (1.8 Core2 / 2GB)
Skin: Vitreous Blue
Scripts: Add/Remove Playstat|Advanced Duplicate Find & Fix|Album Art Tagger|Backup|Batch Art Finder|Calculate Cover Size|Case&Leading Zero Fixer|DB_Audit|DB_Clean|DB_Schema|Event Logger|Genre Finder|Lyricator|Magic Nodes|MM2VLC|Monkey Rok|MusicIP Tagger|PUID Generator|RegExp Find & Replace|Right Click for Scripts|Scriptreloader|SQL Viewer|Stats(Filtered)|Tagging Inconsistencies
Morgoth
Posts: 2
Joined: Fri Apr 16, 2010 5:36 am

Re: Lyricator - Batch Lyrics Updater v1.00 [MM3]

Post by Morgoth »

hi!
i've got a strange problem with tracks containing umlauts.

Code: Select all

Lyricator(1.0.6.14) started
Settings:
tryParensA
tryParensT
tryLyricsPlugin

3 Tracks Selected
Starting temp.html

lyricator.js init

Track[0]
Try Artist[Agrypnie] Title[Wohin] Encode[title=Wohin&artist=Agrypnie]
Found(LP) Artist[<a href="http://www.lyricsvip.com/ref.php?artist=Agrypnie" target="_blank">Agrypnie</a>] Title[Wohin] Lyric[Wohin sind sie gegangen<br>Die Augenblicke welche ich erlebe]
Update: [0] l[Wohin sind sie gegan] a[<a href="http://www.lyricsvip.com/ref.php?artist=Agrypnie" target="_blank">Agrypnie</a>] t[Wohin]
cA[0] cT[0] cR[0] aRn[Lyrics Plugin]

Track[1]
Try Artist[Agrypnie] Title[Während du Schläfst] Encode[title=W%E4hrend%20du%20Schl%E4fst&artist=Agrypnie]

Track[2]
Try Artist[Agrypnie] Title[Schwarz] Encode[title=Schwarz&artist=Agrypnie]
Found(LP) Artist[<a href="http://www.lyricsvip.com/ref.php?artist=Agrypnie" target="_blank">Agrypnie</a>] Title[Schwarz] Lyric[Wo ist der Schmerz und wo das Glück<br>nichts durchdringt de]
Update: [2] l[Wo ist der Schmerz u] a[<a href="http://www.lyricsvip.com/ref.php?artist=Agrypnie" target="_blank">Agrypnie</a>] t[Schwarz]
cA[0] cT[0] cR[0] aRn[Lyrics Plugin]

Track[3]
The lyrics of track[1] don't seem to be found. however, if you visit http://www.lyricsvip.com/ref.php?artist=Agrypnie the lyrics of that song are there. the lyrics of another song (containing umlauts) of that artist can't be found, too.
Owyn
Posts: 2018
Joined: Fri Mar 21, 2008 10:55 am
Location: Canada

Re: Lyricator - Batch Lyrics Updater v1.00 [MM3]

Post by Owyn »

Thanks for the report. I was able to reproduce the problem using the data from the log.

The problem appears to be with the lyricsvip encoding of the title.

eg. The sites encoded link is http://www.lyricsvip.com/Agrypnie/W%C3% ... yrics.html but the proper coding for a-umlaut is http://www.lyricsvip.com/Agrypnie/W%E4h ... yrics.html.

i.e %E4, not %C3%A4, %C3 is the encoding for A-tilde.

See Ascii codes

I tried lookup without diacriticals, but, no luck.
http://www.lyricsvip.com/Agrypnie/Wahre ... yrics.html

Will see if I can work around this problem but no promises at this point.

Edit: corrected typo %A4 -> %E4. See whoops in next post.
Cogito cogito ergo cogito sum. (Ambrose Bierce)
I drink therefore I am. (Monty Python)
Vista 32bit Home Premium SP2 / MM3.2.1.1297 Gold / Last.Fm 1.0.2.22 / IE8
Dell Inspiron 530 (1.8 Core2 / 2GB)
Skin: Vitreous Blue
Scripts: Add/Remove Playstat|Advanced Duplicate Find & Fix|Album Art Tagger|Backup|Batch Art Finder|Calculate Cover Size|Case&Leading Zero Fixer|DB_Audit|DB_Clean|DB_Schema|Event Logger|Genre Finder|Lyricator|Magic Nodes|MM2VLC|Monkey Rok|MusicIP Tagger|PUID Generator|RegExp Find & Replace|Right Click for Scripts|Scriptreloader|SQL Viewer|Stats(Filtered)|Tagging Inconsistencies
Owyn
Posts: 2018
Joined: Fri Mar 21, 2008 10:55 am
Location: Canada

Re: Lyricator - Batch Lyrics Updater v1.00 [MM3]

Post by Owyn »

i.e %A4, not %C3%A4, %C3 is the encoding for A-tilde.
Whoops, That should have been %E4. I see what is happening now. LyricsVip is using the alternate encoding for extended ascii.
Will be fixed in next release.

Edit: Make that "sometimes" using alternate encoding. Makes it trickier, but still possible, to fix.
Cogito cogito ergo cogito sum. (Ambrose Bierce)
I drink therefore I am. (Monty Python)
Vista 32bit Home Premium SP2 / MM3.2.1.1297 Gold / Last.Fm 1.0.2.22 / IE8
Dell Inspiron 530 (1.8 Core2 / 2GB)
Skin: Vitreous Blue
Scripts: Add/Remove Playstat|Advanced Duplicate Find & Fix|Album Art Tagger|Backup|Batch Art Finder|Calculate Cover Size|Case&Leading Zero Fixer|DB_Audit|DB_Clean|DB_Schema|Event Logger|Genre Finder|Lyricator|Magic Nodes|MM2VLC|Monkey Rok|MusicIP Tagger|PUID Generator|RegExp Find & Replace|Right Click for Scripts|Scriptreloader|SQL Viewer|Stats(Filtered)|Tagging Inconsistencies
Owyn
Posts: 2018
Joined: Fri Mar 21, 2008 10:55 am
Location: Canada

Re: Lyricator - Batch Lyrics Updater v1.00 [MM3]

Post by Owyn »

Lyricator 1.0.7 Build 15
' - Make .trackindex hidden (lyricator.css)
' - Fix encoding of extended ascii (lyricator.js)

Tested on error reported by Morgoth and regression tested on other tracks with dicriticals (still finds the lyrics)
Cogito cogito ergo cogito sum. (Ambrose Bierce)
I drink therefore I am. (Monty Python)
Vista 32bit Home Premium SP2 / MM3.2.1.1297 Gold / Last.Fm 1.0.2.22 / IE8
Dell Inspiron 530 (1.8 Core2 / 2GB)
Skin: Vitreous Blue
Scripts: Add/Remove Playstat|Advanced Duplicate Find & Fix|Album Art Tagger|Backup|Batch Art Finder|Calculate Cover Size|Case&Leading Zero Fixer|DB_Audit|DB_Clean|DB_Schema|Event Logger|Genre Finder|Lyricator|Magic Nodes|MM2VLC|Monkey Rok|MusicIP Tagger|PUID Generator|RegExp Find & Replace|Right Click for Scripts|Scriptreloader|SQL Viewer|Stats(Filtered)|Tagging Inconsistencies
Firetribe
Posts: 74
Joined: Sat Jul 25, 2009 7:04 am

Re: Lyricator - Batch Lyrics Updater v1.00 [MM3]

Post by Firetribe »

Okay, have (good) news...Since the day before yesterday I'm a proud owner of an ASUS eeePC, and one of the first programs installed was MM. I tried the Lyricator-Plugin, and, everything works fine till now! I don't know what this is, but slowly I think that the error on my "main" PC is just an anomaly...:D As I said before, I will install the main PC another time, just delete Windows and install it once again, and we'll see if the error continues to occur...I don't really think so. :)
Unter der Maske eines Clowns siehst du die Spuren seiner Tränen...
Owyn
Posts: 2018
Joined: Fri Mar 21, 2008 10:55 am
Location: Canada

Re: Lyricator - Batch Lyrics Updater v1.00 [MM3]

Post by Owyn »

What version/localization of Windows are you using on the eeePC?
Cogito cogito ergo cogito sum. (Ambrose Bierce)
I drink therefore I am. (Monty Python)
Vista 32bit Home Premium SP2 / MM3.2.1.1297 Gold / Last.Fm 1.0.2.22 / IE8
Dell Inspiron 530 (1.8 Core2 / 2GB)
Skin: Vitreous Blue
Scripts: Add/Remove Playstat|Advanced Duplicate Find & Fix|Album Art Tagger|Backup|Batch Art Finder|Calculate Cover Size|Case&Leading Zero Fixer|DB_Audit|DB_Clean|DB_Schema|Event Logger|Genre Finder|Lyricator|Magic Nodes|MM2VLC|Monkey Rok|MusicIP Tagger|PUID Generator|RegExp Find & Replace|Right Click for Scripts|Scriptreloader|SQL Viewer|Stats(Filtered)|Tagging Inconsistencies
Owyn
Posts: 2018
Joined: Fri Mar 21, 2008 10:55 am
Location: Canada

Re: Lyricator - Batch Lyrics Updater v1.00 [MM3]

Post by Owyn »

Lyricator 1.0.8.018
- Fix bug introduced in previous version. Regular ascii characters not escaped.
- Major code cleanup for lyricator.js.

The rework of lyricator.js involved fixing all basic JSLint warnings, and there were a lot of them.
The use of stricter syntax should not introduce any functional changes, but, will improve maintainability of the code and may fix intermittent errors.

Next step is to do a "Good stuff" review of the code to see if any known unreliable features of JavaScript are being used.
Cogito cogito ergo cogito sum. (Ambrose Bierce)
I drink therefore I am. (Monty Python)
Vista 32bit Home Premium SP2 / MM3.2.1.1297 Gold / Last.Fm 1.0.2.22 / IE8
Dell Inspiron 530 (1.8 Core2 / 2GB)
Skin: Vitreous Blue
Scripts: Add/Remove Playstat|Advanced Duplicate Find & Fix|Album Art Tagger|Backup|Batch Art Finder|Calculate Cover Size|Case&Leading Zero Fixer|DB_Audit|DB_Clean|DB_Schema|Event Logger|Genre Finder|Lyricator|Magic Nodes|MM2VLC|Monkey Rok|MusicIP Tagger|PUID Generator|RegExp Find & Replace|Right Click for Scripts|Scriptreloader|SQL Viewer|Stats(Filtered)|Tagging Inconsistencies
Firetribe
Posts: 74
Joined: Sat Jul 25, 2009 7:04 am

Re: Lyricator - Batch Lyrics Updater v1.00 [MM3]

Post by Firetribe »

It's the same version...Windows 7 Home Premium in a german localization. I'll see if it keeps working, but I think that netbook has no problem with your code. Very strange...
Unter der Maske eines Clowns siehst du die Spuren seiner Tränen...
davidbspalding
Posts: 222
Joined: Fri Jan 08, 2010 3:53 pm
Location: Durham, NC

Re: Lyricator - Batch Lyrics Updater v1.00 [MM3]

Post by davidbspalding »

Updating to the latest version introduced some flakey behavior into MM 3.2.0.1294. Uninstall and reinstall is also inconsistent.

Manual method:
  1. Remove \Lyricator folder from \Scripts
  2. Remove Lyricator section from Scripts.ini
  3. restart MM
Is there any step I'm missing?
«Tell me and I'll forget; show me and I may remember; involve me and I'll understand.» Chinese proverb
T43 XP-SP3 2GB RAM, dual hard drives, MM 4.0.3 Gold; Ipod Classic 7G v2.0.4, Nano 3G v1.1.3.
Owyn
Posts: 2018
Joined: Fri Mar 21, 2008 10:55 am
Location: Canada

Re: Lyricator - Batch Lyrics Updater v1.00 [MM3]

Post by Owyn »

davidbspalding wrote:Updating to the latest version introduced some flakey behavior into MM 3.2.0.1294.
Some more details on "flaky behavior"?
Only known install issue is that you must exit & restart MM after any install of this script.
Uninstall and reinstall is also inconsistent.
Just tested Tools->Extensions->Lyricator(Uninstall). Only problem noted is that the empty Scripts\Lyricator folder is not removed.
Re-install after uninstall requires resetting Lyricator Options.
Manual method:
  1. Remove \Lyricator folder from \Scripts
  2. Remove Lyricator section from Scripts.ini
  3. restart MM
Is there any step I'm missing?
..\Scripts\Auto\Lyricator.vbs
Cogito cogito ergo cogito sum. (Ambrose Bierce)
I drink therefore I am. (Monty Python)
Vista 32bit Home Premium SP2 / MM3.2.1.1297 Gold / Last.Fm 1.0.2.22 / IE8
Dell Inspiron 530 (1.8 Core2 / 2GB)
Skin: Vitreous Blue
Scripts: Add/Remove Playstat|Advanced Duplicate Find & Fix|Album Art Tagger|Backup|Batch Art Finder|Calculate Cover Size|Case&Leading Zero Fixer|DB_Audit|DB_Clean|DB_Schema|Event Logger|Genre Finder|Lyricator|Magic Nodes|MM2VLC|Monkey Rok|MusicIP Tagger|PUID Generator|RegExp Find & Replace|Right Click for Scripts|Scriptreloader|SQL Viewer|Stats(Filtered)|Tagging Inconsistencies
davidbspalding
Posts: 222
Joined: Fri Jan 08, 2010 3:53 pm
Location: Durham, NC

Re: Lyricator - Batch Lyrics Updater v1.00 [MM3]

Post by davidbspalding »

Sorry I couldn't be more specific,... MM was not loading on one or two starts, came up with improperly sized fonts (I have skins disabled, using Windows scheme) another time. But since installing Turbotax (which installed an Intuit Update service) a week ago, the system has been flaky as well, so it's hard to determine what was at fault for what. (Service has since been disabled.)

I was missing the file in .\Scripts\Auto, so that probably accounts for it. Using the previous version, I noticed that Lyricator was only updating the first of 10-20 selected tunes, so I'll so a complete (proper) uninstall then install your latest version again. 8)
«Tell me and I'll forget; show me and I may remember; involve me and I'll understand.» Chinese proverb
T43 XP-SP3 2GB RAM, dual hard drives, MM 4.0.3 Gold; Ipod Classic 7G v2.0.4, Nano 3G v1.1.3.
Owyn
Posts: 2018
Joined: Fri Mar 21, 2008 10:55 am
Location: Canada

Re: Lyricator - Batch Lyrics Updater v1.00 [MM3]

Post by Owyn »

davidbspalding wrote:Sorry I couldn't be more specific,... MM was not loading on one or two starts, came up with improperly sized fonts (I have skins disabled, using Windows scheme) another time. But since installing Turbotax (which installed an Intuit Update service) a week ago, the system has been flaky as well, so it's hard to determine what was at fault for what. (Service has since been disabled.)
Lyricator could easily be affected by these other problems, but, it is unlikely that it caused them.
I was missing the file in .\Scripts\Auto, so that probably accounts for it. Using the previous version, I noticed that Lyricator was only updating the first of 10-20 selected tunes, so I'll so a complete (proper) uninstall then install your latest version again. 8)
This is a known problem with some users. I have not been able to reproduce it. Check %temp%\Lyricator.log for "Save Aborted" messages.
The latest version may have fixed the problem. Please post a copy of your log, if possible with 10 or less tracks in selection.

What localization of XP-SP3 are you using?
Cogito cogito ergo cogito sum. (Ambrose Bierce)
I drink therefore I am. (Monty Python)
Vista 32bit Home Premium SP2 / MM3.2.1.1297 Gold / Last.Fm 1.0.2.22 / IE8
Dell Inspiron 530 (1.8 Core2 / 2GB)
Skin: Vitreous Blue
Scripts: Add/Remove Playstat|Advanced Duplicate Find & Fix|Album Art Tagger|Backup|Batch Art Finder|Calculate Cover Size|Case&Leading Zero Fixer|DB_Audit|DB_Clean|DB_Schema|Event Logger|Genre Finder|Lyricator|Magic Nodes|MM2VLC|Monkey Rok|MusicIP Tagger|PUID Generator|RegExp Find & Replace|Right Click for Scripts|Scriptreloader|SQL Viewer|Stats(Filtered)|Tagging Inconsistencies
Locked