ludocus Posted September 30, 2008 Share 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 Link to comment Share on other sites More sharing options...
TehWhale Posted September 30, 2008 Share 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 Link to comment Share on other sites More sharing options...
ludocus Posted September 30, 2008 Author Share Posted September 30, 2008 Yeh I fixed the Lycris to Lyrics.. and about the other error.. try a different song, like Disturbia from Rihanna Link to comment Share on other sites More sharing options...
TehWhale Posted September 30, 2008 Share 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. Link to comment Share on other sites More sharing options...
ludocus Posted October 1, 2008 Author Share 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... Link to comment Share on other sites More sharing options...
Kip Posted October 1, 2008 Share 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. Link to comment Share on other sites More sharing options...
ludocus Posted October 1, 2008 Author Share Posted October 1, 2008 fixed that error... what variable are you talking about? Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted October 1, 2008 Share 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 Link to comment Share on other sites More sharing options...
Kip Posted October 1, 2008 Share 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. Link to comment Share on other sites More sharing options...
ludocus Posted October 1, 2008 Author Share Posted October 1, 2008 I noticed.. already made a one from a new site.. Link to comment Share on other sites More sharing options...
ludocus Posted October 1, 2008 Author Share Posted October 1, 2008 I noticed.. already made a different one from a new site.. Link to comment Share on other sites More sharing options...
TehWhale Posted October 1, 2008 Share 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 Link to comment Share on other sites More sharing options...
Kip Posted October 1, 2008 Share 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. Link to comment Share on other sites More sharing options...
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