You are not logged in.

61

Sunday, January 11th 2009, 2:45am

Assuming that I won't be able to keep the ML and PL windows on top of the now playing window, I rearranged the now playing window. The main thing I did was make the album art and song info bigger and add the repeat and shuffle buttons, since I use those a lot and don't want to have the equalizer showing, since I never use it.


  • "Quadhelix" started this thread

Posts: 3,174

Location: Bavaria-USA

  • Send private message

62

Tuesday, January 13th 2009, 1:57am

looks good! Thanks for the input, please keep making some changes and we might add some to the Site. Can you send it up for download would like to check it out. I think Leechs Covershoww/ playlist plus built in is the next Music Show version I will put up. This will come after the release of the NA Komodo skin.
Team Skin Consortium
my skins-

Here + 10 more

63

Tuesday, January 13th 2009, 4:57am

Here's my latest update. I think it may be my final one, because I don't think there's anything I want to change. I made a version (shown) that uses buttons and text that are more visible on a light background.

I noticed that the art reflection wasn't resizing, so if the image wasn't a perfect square it wouldn't be flush with the top picture. In NowPlaying.xml, I switched stretched="0" to stretched="1" on the line with the id=main.albumart.reflection and that seemed to take care of it.


64

Wednesday, May 6th 2009, 8:59pm

I decided that since I never use the star ratings, and because the album title is often too long to fit in the now playing screen, I'd add a line with the year and bitrate (since I constantly find myself looking for that piece of info).



In order to add this line, I did the following in NowPlaying.m:

changed
Global GuiObject line1, line2, line3, BGCol, CDBoxFade;
to
Global GuiObject line0, line1, line2, line3, BGCol, CDBoxFade;

added
line0 = XUIGroup.findObject("sc.nowplaying.line0");

changed
String year = System.getPlayItemMetaDataString("YEAR");
String album = System.getPlayItemMetaDataString("ALBUM");
if(year=="????") year="";
if (strLen(year)<4) year="";
else year= " (" +year +")";
line1.setXmlParam("text", album +year);
to
String year = System.getPlayItemMetaDataString("YEAR");
String album = System.getPlayItemMetaDataString("ALBUM");
String rate = System.getPlayItemMetaDataString("BITRATE");
if(year=="????") year="";
if (strLen(year)<4) year="";
else year= "Year: " +year +", ";
if(strLen(rate)>0) rate= "Bitrate: " +rate;
line1.setXmlParam("text", album);
line0.setXmlParam("text", year +rate);

Then, in NowPlaying.xml, I added a line to change the 3 lines here
<SC:FadeText id="sc.nowplaying.line3" x="0" y="-2" w="0" h="42" relatw="1" fgcolor="255,255,255" align="center" fontsize="42" alpha="255"/>
<SC:FadeText id="sc.nowplaying.line2" x="0" y="38" w="0" h="32" relatw="1" fgcolor="255,255,255" align="center" fontsize="34" alpha="255"/>
<SC:FadeText id="sc.nowplaying.line1" x="0" y="70" w="0" h="32" relatw="1" fgcolor="255,255,255" align="center" fontsize="34" alpha="255"/>
to these 4
<SC:FadeText id="sc.nowplaying.line3" x="0" y="-2" w="0" h="42" relatw="1" fgcolor="255,255,255" align="center" fontsize="42" alpha="255"/>
<SC:FadeText id="sc.nowplaying.line2" x="0" y="38" w="0" h="32" relatw="1" fgcolor="255,255,255" align="center" fontsize="34" alpha="255"/>
<SC:FadeText id="sc.nowplaying.line1" x="0" y="70" w="0" h="32" relatw="1" fgcolor="255,255,255" align="center" fontsize="34" alpha="255"/>
<SC:FadeText id="sc.nowplaying.line0" x="0" y="100" w="0" h="32" relatw="1" fgcolor="255,255,255" align="center" fontsize="34" alpha="255"/>

I also commented out this line to get rid of the star ratings
<!--<group id="sc.nowplaying.ratings" x="0" y="110" w="78" h="14"/>-->


The problem that I'm having is that when the skin is loaded (either when Winamp starts up, when I refresh the skin, or when I switch from another skin to this one), I get an error message that says something about a null reference in NowPlaying.maki.
Once I left click, the error box message disappears and the skin seems to load up fine. On my laptop, everything is stable, and I can live with the error message, since I usually just hibernate it and never close winamp.

On my desktop, however, winamp has become completely unstable with these three new altered files (NowPlaying.xml, NowPlaying.maki, NowPlaying.m). It crashes constantly. If I replace those three files with the three that I had before trying to add the year/bitrate line, everything works fine.

Anyone know what could be causing that error message? I have a feeling it's got something to do with
line0 = XUIGroup.findObject("sc.nowplaying.line0");
Is sc.nowplaying defined somewhere? If so, I think I'd have to add the "line0" attribute.

Here are links to the 3 files, if anyone wants to take a look.
NowPlaying.xml
NowPlaying.m
NowPlaying.maki

pjn123

"Your future depends on your dreams. So go to sleep"

Posts: 2,768

Location: /\/¯¯¯¯¯\/\, South-Africa

Occupation: Auditor

  • Send private message

65

Saturday, May 9th 2009, 8:26am

You removed the ratings object from the xml file but the script was still using it. I just removed the rating stuff in the script and compiled again.
Should work now ;)
pjn123 has attached the following file:
  • NowPlaying.7z (4.88 kB - 64 times downloaded - latest: Jul 20th 2010, 10:40am)

66

Sunday, May 10th 2009, 7:43pm

Thanks!

Similar threads

Rate this thread

Sponsored Links: MYOB software in Australia