Old 14th January 2009, 04:40   #1
matthewn4444
Junior Member
 
Join Date: Jan 2009
Posts: 3
Need help, I can't compile .m (code 4)

I want to code albumart onto my skin but there is a problem when compiling it.

This is my code:
----------------------------------------------------------------------------------------------------
#include "std.mi"

global albumlayer AlbumArt;

System.onScriptLoaded ()
{
AlbumArt = getScriptGroup().findObject(getParam());
}

AlbumArt.onLeftButtonDblClk (int x, int y)
{
System.navigateUrl(getPath(getPlayItemMetaDataString("filename")));
}

----------------------------------------------------------------------------------------------------

I get the error code 4 when compiling (shown via command prompt)

----------------------------------------------------------------------------------------------------
Preprocessing....
OK: 23 macro expansions, 75226 bytes, 2688 lines, 2 files

syntax error at std.mi:2658 [18] :

global albumlayer AlbumArt;


Exited with code 4
----------------------------------------------------------------------------------------------------


If anyone knows how i can fix this, it is greatly appreciated.
matthewn4444 is offline   Reply With Quote
Old 16th January 2009, 01:43   #2
SLoB
Major Dude
 
SLoB's Avatar
 
Join Date: Jul 2003
Location: UK
Posts: 1,316
try global AlbumArt albumlayer;
look at some other m files and syntax
SLoB is offline   Reply With Quote
Old 31st January 2009, 03:15   #3
aNdr3-W01
Junior Member
 
Join Date: Jan 2009
Posts: 5
so it possible to obtain album art from the id3 using maki?

im just learning to skin winamp themes,
and would love it if anyone could explain how to get the albumart using maki..

thanks
aNdr3-W01 is offline   Reply With Quote
Reply
Go Back   Winamp & SHOUTcast Forums > Skinning and Design > Modern Skins

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump