WACUP
General => Skins => Topic started by: ariszlo on January 22, 2021, 10:10:39 PM
-
This is an update of an old skin from 2003. So far I have fixed whatever I could but there is an issue I cannot figure out what causes it. In addition to the position defined in player-normal-group.xml, bitrate value is also displayed north-west of the main window. I have looked through player-normal-group.xml and blinker.m several times but I still have no idea what puts it there.
-
Figured it out. Adding alpha="0" to the following tag in player-normal-group.xml fixes it:
<text
id="hidden"
display="songinfo" default=""
x="0" y="0"
w="16" h="16"
font="Tahoma" fontsize="12" color="0,0,0" alpha="0" ghost="1"
/>
-
looks like it relates to something in blinker.m
-
looks like it relates to something in blinker.m
Actually, it shows even if you comment out this line in player.xml:
<script id="blinker" file="scripts/blinker.maki"/>
What blinker.m has to do with it is that it gets songinfo from the "hidden" tag of player-normal-group.xml, from which it extracts the bitrate to be displayed in the area defined by the "Bitnum" tag and stereo/mono to be displayed in the area defined by the "stereostrg" tag.
The coordinates of the "hidden" tag of player-normal-group.xml define the area exactly where the duplicate bitrate number is displayed.