ludocus Posted September 30, 2008 Posted September 30, 2008 (edited) 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:Find_Lyrics.au3previous downloads: 16New:Find_Lyrics_Pro.au3, ludocus..; fixed error if title isn't found..; added example..; Find Lyrics Pro uses a different site and is much better!! Edited October 1, 2008 by ludocus
TehWhale Posted September 30, 2008 Posted September 30, 2008 Lyrics is spelled Lyrics not, lycris. It doesn't work for me, it errors out. $p2 = StringSplit($p1[2], ' results)', 1) Array variable exceeded
ludocus Posted September 30, 2008 Author Posted September 30, 2008 Yeh I fixed the Lycris to Lyrics.. and about the other error.. try a different song, like Disturbia from Rihanna
TehWhale Posted September 30, 2008 Posted September 30, 2008 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.
ludocus Posted October 1, 2008 Author Posted October 1, 2008 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...
Kip Posted October 1, 2008 Posted October 1, 2008 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 MailSpons: Fake SMTP server for safe email testing Dutch postcode & address API.
ludocus Posted October 1, 2008 Author Posted October 1, 2008 fixed that error... what variable are you talking about?
AdmiralAlkex Posted October 1, 2008 Posted October 1, 2008 (edited) 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 October 1, 2008 by AdmiralAlkex .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface
Kip Posted October 1, 2008 Posted October 1, 2008 (edited) Your script only searches the 40 newest songs Edited October 1, 2008 by Kip MailSpons: Fake SMTP server for safe email testing Dutch postcode & address API.
ludocus Posted October 1, 2008 Author Posted October 1, 2008 I noticed.. already made a one from a new site..
ludocus Posted October 1, 2008 Author Posted October 1, 2008 I noticed.. already made a different one from a new site..
TehWhale Posted October 1, 2008 Posted October 1, 2008 (edited) 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 October 1, 2008 by SwiftBurns
Kip Posted October 1, 2008 Posted October 1, 2008 (edited) I get everything except lyrics when I search for this: "money for nothing - dire straits" Same with "smoke on the water - deep purple" Edited October 1, 2008 by Kip MailSpons: Fake SMTP server for safe email testing Dutch postcode & address API.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now