Jump to content

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Find out more here. X
X


Photo

Lyrics Finder... UDF! updated different site, way better


  • Please log in to reply
12 replies to this topic

#1 ludocus

ludocus

    Possibly inventive crap going on right here

  • Active Members
  • PipPipPipPipPipPip
  • 668 posts

Posted 30 September 2008 - 08:28 PM

I haven't post in a long time (2 weeks)
but now I do.. :)
So I made this _FindLyrics udf for my White Dragon media player (check sig)..
I hope you like it >_<

old:
Attached File  Find_Lyrics.au3   2.7KB   201 downloads
previous downloads: 16

New:
Attached File  Find_Lyrics_Pro.au3   3.18KB   475 downloads

, ludocus..

; fixed error if title isn't found..
; added example..
; Find Lyrics Pro uses a different site and is much better!!

Edited by ludocus, 01 October 2008 - 05:38 PM.








#2 TehWhale

TehWhale

    Whalee..

  • Banned (NOT IN USE)
  • 1,482 posts

Posted 30 September 2008 - 08:33 PM

Lyrics is spelled Lyrics not, lycris.

It doesn't work for me, it errors out.

$p2 = StringSplit($p1[2], ' results)', 1)
Array variable exceeded

#3 ludocus

ludocus

    Possibly inventive crap going on right here

  • Active Members
  • PipPipPipPipPipPip
  • 668 posts

Posted 30 September 2008 - 08:45 PM

Yeh I fixed the Lycris to Lyrics..
and about the other error.. try a different song, like Disturbia from Rihanna

#4 TehWhale

TehWhale

    Whalee..

  • Banned (NOT IN USE)
  • 1,482 posts

Posted 30 September 2008 - 08:51 PM

Every song I try doesn't work. the Rihanna thing works, though that's no use, I don't like that band. Slipknot, Avenged Sevenfold, etc. don't work.

#5 ludocus

ludocus

    Possibly inventive crap going on right here

  • Active Members
  • PipPipPipPipPipPip
  • 668 posts

Posted 01 October 2008 - 01:23 PM

dude I tried:
$l = _FindLyrics('Psychosocial', 'Slipknot')
if $l <> -1 then
if $l[0] <> 1 Then ShellExecute($l[2])
msgbox(32, 'Find', $l[1])
ClipPut($l[1])
EndIf

it worked..
and I also tried All Hope is gone
that worked too...

#6 Kip

Kip

    Into the JavaScript

  • Active Members
  • PipPipPipPipPipPip
  • 1,690 posts

Posted 01 October 2008 - 01:29 PM

Dont declare Global variables in a function if you dont need them twice.

And I get this:
$p2 = StringSplit($p1[2], ' results)', 1) $p2 = StringSplit(^ ERROR


#7 ludocus

ludocus

    Possibly inventive crap going on right here

  • Active Members
  • PipPipPipPipPipPip
  • 668 posts

Posted 01 October 2008 - 01:36 PM

fixed that error...
what variable are you talking about?

#8 AdmiralClaws

AdmiralClaws

    Where is the fish?

  • Active Members
  • PipPipPipPipPipPip
  • 4,686 posts

Posted 01 October 2008 - 01:55 PM

fixed that error...
what variable are you talking about?

You declare $text as global even though you only use it as local :), thats a waste of memory etc
global $text[3] global $text[2]

Edited by AdmiralAlkex, 01 October 2008 - 01:56 PM.


#9 Kip

Kip

    Into the JavaScript

  • Active Members
  • PipPipPipPipPipPip
  • 1,690 posts

Posted 01 October 2008 - 03:31 PM

Your script only searches the 40 newest songs :)

Edited by Kip, 01 October 2008 - 03:32 PM.


#10 ludocus

ludocus

    Possibly inventive crap going on right here

  • Active Members
  • PipPipPipPipPipPip
  • 668 posts

Posted 01 October 2008 - 05:31 PM

I noticed.. already made a one from a new site.. :)

#11 ludocus

ludocus

    Possibly inventive crap going on right here

  • Active Members
  • PipPipPipPipPipPip
  • 668 posts

Posted 01 October 2008 - 05:31 PM

I noticed.. already made a different one from a new site.. :)

#12 TehWhale

TehWhale

    Whalee..

  • Banned (NOT IN USE)
  • 1,482 posts

Posted 01 October 2008 - 07:55 PM

EDIT: It does work.

This should also use youtube as a corrector, for the title/artist if it's misspelled, youtube will catch it.

Edited by SwiftBurns, 01 October 2008 - 07:57 PM.


#13 Kip

Kip

    Into the JavaScript

  • Active Members
  • PipPipPipPipPipPip
  • 1,690 posts

Posted 01 October 2008 - 08:00 PM

I get everything except lyrics when I search for this: "money for nothing - dire straits"

Same with "smoke on the water - deep purple"

Edited by Kip, 01 October 2008 - 08:02 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users