Announcement

Collapse
No announcement yet.

Winamp's JavaScript API doesn't work

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Winamp's JavaScript API doesn't work

    Hello! I recently started playing around with the ' Winamp JavaScript API [JSAPI2]' (ml_webdev.dll)

    I have made a small script that gets the artist from the API

    JavaScript Code:
    code:
    var artist = window.external.Transport.GetMetadata("artist");
    alert(artist);
    console.log(artist);

    HTML Code:
    <html>
    <head>
    	<meta http-equiv="content-type" content="text/html;charset=utf-8">
    	<script src="main.js"></script>
    </head>
    </html>
    That should execute the script, but when I load it, nothing happens :/
    Only the JSAPI2 Test works...
    Am I missing something?
    Thanks.
    | WACUP Beta

    Projects: Big Bento Redux | CoverPlaying | Winamp Version Blocker/Locker | Winamp IntroLoader


  • #2
    We've come across the exact same issue when trying to revive the Podcast Directory view for 5.9

    Will be fixed in 5.9

    Playlist | Twitter | Albums

    Comment

    Working...
    X