Inline Lyrics 3.2 - Updated 29/07/2014

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

Moderators: Peke, Gurus

trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Post by trixmoto »

Well I'm at work so maybe there's something blocking the connection. I'll try at home tonight.
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.
Teknojnky
Posts: 5537
Joined: Tue Sep 06, 2005 11:01 pm
Contact:

Post by Teknojnky »

I had a song play that I had previously manually copied the lyrics to a while back... When it played it popped up the following error:

Windows scripting host
script: j:\program files\mediamonkey\scripts\inlinelyrics2.vbs
line: 91
char: 3
error: type mismatch: 'Clng'
code: 800A00D
source: microsoft vbscript runtime error


the lyrics that were embedded were (long song) :
[al:]
[ar:VNV Nation]
[ti:Epicentre (Disappointed Mix)]
[00:15.00]Epicentre

[00:17.97][September 2001]

[00:20.95]I asked myself was I content

[00:25.62]with the world that I once cherished

[00:28.85]did it bring me to this darkened place

[00:33.40]to contemplate my perfect future?

[00:39.37]I will not stand nor utter words against this tide of hate

[00:47.52]losing sight of what and who I was again

[00:54.48]I'm so sorry if these seething words I say

[01:01.14]impress on you that I've become anathema of my soul

[01:52.53]I can't say that you're losing me

[01:55.95]I always tried to keep myself tied to this world

[02:01.30]but I know where this is leading

[02:04.22]please

[02:04.91]no tears

[02:05.65]no sympathy

[02:07.58]I can't say that you're losing me

[02:13.55]but I must be that which I am

[02:17.29]though I know where this could take me

[02:20.40]no tears

[02:21.27]no sympathy

[02:31.22]gracefully, respectfully

[02:34.89]facing conflict deep inside myself

[02:39.62]but here confined losing control

[02:43.29]of what I could not change

[02:47.27]gracefully, respectfully

[02:50.94]I ask you please don't worry, not for me

[02:57.54]don't turn your back

[02:59.40]don't turn away

[03:01.14]I can't say that you're losing me

[03:04.38]I always tried to keep myself tied to this world

[03:10.04]but I know where this is leading

[03:13.03]please

[03:13.90]no tears

[03:14.83]no sympathy

[03:16.45]I can't say that you're losing me

[03:22.54]but I must be that which I am

[03:25.90]though I know where this could take me

[03:29.26]no tears

[03:30.76]no sympathy

[04:03.85]no tears for me, no sympathy

[04:12.44]no tears for me, no sympathy

[04:36.59]Repeat Chorus 2x

Repeat Chorus 2x

[05:00.75]© VNV Nation

[05:49.07]Assemblage23 - Disappoint

[06:37.39]Just one more time

[06:40.75]For the sake of sanity

[06:44.79]Tell me why

[06:48.09]Explain the gravity

[06:52.26]That drove you to this

[06:55.37]That brought you to this place

[06:59.10]That pushed you down

[07:02.71]Into the soil's embrace

[07:06.38]Give me the chance

[07:10.05]I was denied

[07:14.96]To sit and talk with you

[07:17.20]For one last time

[07:19.38]Chorus

[07:21.31]Did I disappoint you?

[07:24.79]Did I let you down?

[07:29.39]Did I stand on the shore

[07:31.07]And watch you as you drowned?

[07:35.74]Can you forgive me?

[07:39.41]I never knew

[07:44.33]The pain you carried

[07:46.32]Deep inside of you.

[08:05.23]I can't forget

[08:08.84]Having to see

[08:13.75]The words that knocked the wind

[08:16.18]Right out of me

[08:20.16]It's not enough

[08:23.52]I've come undone

[08:27.69]Trying to find sense

[08:31.05]Where there is none

[08:34.59]Just give me peace

[08:38.20]You owe me that

[08:43.24]To help ward off the fears

[08:45.48]I must combat

[08:48.84](Chorus)

[09:38.85]And so I ask

[09:42.52]For one more chance

[09:47.50]To understand

[09:49.74]This senseless circumstance

[09:53.60]Help me to see

[09:57.52]This through your eyes

[10:02.12]The reasons I've been trying

[10:04.86]To surmise

[10:08.40]Though you are gone

[10:11.83]I am still your son

[10:16.37]And while your pain is over

[10:18.92]Mine has just begun

[10:23.21](Chorus)
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Post by trixmoto »

Yeah, the length of the song in seconds probably exceeded the Long datatype. I'll look at seeing if I can extend this range for the next version.
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.
psyXonova
Posts: 785
Joined: Fri May 20, 2005 3:57 am
Location: Nicosia, Cyprus
Contact:

Post by psyXonova »

I find it quite impossible for a song to be longer than Long can handle (range -2147483648 to 2147483647) meaning about 600000 hours. I think you should find an alternative cause for your bug...
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Post by trixmoto »

Having looked more closely at this, this is the offending line:
[04:36.59]Repeat Chorus 2x

Repeat Chorus 2x <------------ no timestamp!

[05:00.75]© VNV Nation
The script assumes that if there are timestamps, every line has one. I will make the next version check each line individually.
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.
MCSmarties
Posts: 251
Joined: Tue Dec 06, 2005 8:01 pm

Post by MCSmarties »

I think the answer is simpler. The line causing the error is:

Code: Select all

[00:17.97][September 2001] 
I think so because I toyed around with that script and got the exact same error when loading many of my files, even if I hadn't added any timestamps.

I found out that all the files that crash had an "instrumental" section, which I add in my lyrics as:

(...)

[Instrumental]

(...)

After I remove that [Instrumental] line, the song would play just fine.

Hence, my guess is that Trixmoto's script simply crashes when encountering the [ or ] characters in the lyrics!
Teknojnky
Posts: 5537
Joined: Tue Sep 06, 2005 11:01 pm
Contact:

Post by Teknojnky »

Hey trix did you ever get a chance to get minilyrics working?
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Post by trixmoto »

@McSmarties: I know my script! It reads the 2nd and 3rd characters of the string and tries to format them into minutes. In your example this means trying to make a number out of "[I" which is obviously causing an error. I will release a version with better error trapping.

@Teknojnky: I haven't managed to get ML to work at all but it's not been high on my priority list, sorry. I will endeavour to get it working and then see what I can do with my script to better integrate. It is on my to do list! :)
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.
Teknojnky
Posts: 5537
Joined: Tue Sep 06, 2005 11:01 pm
Contact:

Post by Teknojnky »

Strange, the latest release directly supports MM and will install to the MM folder.

If you need help let me know what is not working, is the window not come up, or network problem, or whatnot.

The main thing you want to ensure is to enable auto downloading of lyrics and set save the lyrics in the song directory or save them all in a designated directory.

Once its working d/l to a folder, then you can try setting it to save lyrics to the mp3 file, but alas this function I am not sure works or at least is not currently compatible with MM.
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Post by trixmoto »

The server will never let me connect. I can't remember the exact error message, but I get the ML window and it just tells me there's no connection so the lyrics can't be found. :-?
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.
Teknojnky
Posts: 5537
Joined: Tue Sep 06, 2005 11:01 pm
Contact:

Post by Teknojnky »

Odd, there is a test connection button on the tools/preferences/setup/internet.

When I click on mine I get the following:

Code: Select all

04:23:33  MiniLyrics 4.2.2061 for MediaMonkey
04:23:33  Your internet setting:
04:23:33  No Proxy is used.

04:23:33  Starting to test online search...
04:23:33  Online search server is www.viewlyrics.com, port: 1212
04:23:33  Connect to server: www.viewlyrics.com, port: 1212 ...
04:23:33  Succeeded.
04:23:33  Search lyrics artist: testsearch, title: testsearch ...
04:23:33  Got 1 result:
04:23:33  TestSearch - TestSearch      TestSearch - TestSearch.lrc
04:23:33  Online Search Test is OK.
Maybe the port or ip is blocked somehow?
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Post by trixmoto »

The test button just tells me it can't find the server. I'll have another play Sunday night, but I'm away for the weekend so it won't be before then.

Cheers! :)
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.
Steegy
Posts: 3452
Joined: Sat Nov 05, 2005 7:17 pm

Post by Steegy »

@Trixmoto

Be sure to use the latest version of MiniLyrics from http://www.crintsoft.com/

Cheers
Steegy
Extensions: ExternalTools, ExtractFields, SongPreviewer, LinkedTracks, CleanImport, and some other scripts (Need Help with Addons > List of All Scripts).
Guest

Post by Guest »

can you help me with this error?
on playing i first get the GUI thing where lyrics should appeer with inlinelyrics by trixmoto thing, than i get an error.

error in script inlinelyrics2.vbs
line 93
sign 3
types dont match 'Clng'
code 800A000D
Runtimeerror Microsoft VBscript

somewhere over here
Function gettime(txt)
min = Clng(mid(txt,2,2))
sec = Clng(mid(txt,5,2))
mil = Clng(mid(txt,8,2))
gettime = min*60000 + sec*1000 + mil
End Function
lyrics are saved in lyrics tag
[al:]
[ar:Travis]
[ti:Why Does It Always Rain On Me!]
[00:26]I can't sleep tonight
[00:31]Everybody saying everything's alright
[00:36]Still I can't close my eyes
[00:40]I'm seeing a tunnel at the end of all these lights

[00:45]Sunny days
[00:48]Where have you gone?
[00:52]I get the strangest feeling you belong
[01:02]Why does it always rain on me?
[01:06]Is it because I lied when I was seventeen?

and so on
thanks alot!
Peke
Posts: 17457
Joined: Tue Jun 10, 2003 7:21 pm
Location: Earth
Contact:

Post by Peke »

My guess that those first three lines give the trouble as they are Tag infos not actual timeframe which script look for. Try to delete only those first three lines in Lyrics. They Shouldn't be there anyway.
Best regards,
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying
Image
Image
Image
How to attach PICTURE/SCREENSHOTS to forum posts
Post Reply