home *** CD-ROM | disk | FTP | other *** search
/ Chip 2005 November / CDVD1105.ISO / Util / Winamp / Skins / boxOr.wal / opensource_notifier / cover.maki (.txt) next >
Winamp Compiled Maki Script  |  2004-06-09  |  2KB  |  47 lines

  1. /* Note: a decompiler is no invitation to steal code.
  2.    Please respect the the copyright */
  3.  
  4. #include "std.mi"
  5. Global Browser Browser11;
  6. Global String String12;
  7.  
  8. Function func285();
  9.  
  10. System.onScriptLoaded()
  11. {
  12. Group Group13;
  13. Group13 = System.getScriptGroup();
  14. Browser11 = Group13.findObject(( "browser\.cdcover"));
  15. String12 = System.getPath(Browser11.getXmlParam(( "url")));
  16. if(( System.getPlayItemString() != ( ""))) {
  17. func285();
  18. }
  19. return Null;
  20. }
  21.  
  22. System.onTitleChange(String newtitle)
  23. {
  24. func285();
  25. return Null;
  26. }
  27.  
  28. func285()
  29. {
  30. String String17;
  31. String String19;
  32. String String21;
  33. String17 = ( "");
  34. String19 = System.getPlayItemMetaDataString(( "artist"));
  35. String21 = System.getPlayItemMetaDataString(( "album"));
  36. if(( String19 != ( ""))) {
  37. String17 = ( String17 + ( String19 + ( "\ ")));
  38. }
  39. if(( String21 != ( ""))) {
  40. String17 = ( String17 + String21);
  41. }
  42. Browser11.navigateUrl(( ( String12 + ( "\\cdcover\.html\?")) + System.urlEncode(String17)));
  43. return Null;
  44. }
  45.  
  46.  
  47.