Latest restricted WACUP beta release is build #18654 (March 24th 2024) (x86 & x64 changelogs) | Latest WACUP public preview is build #17040 (September 30th 2023) (x86 only)


NOTE: Beta testers are added in a limited & subjective manner as I can only support so many people as part of the beta test program to keep it useful for my needs.

Unless I think you're going to be helpful, not all requests will be accepted but might still be later on. Remember that beta testing is to help me & the limitations currently works for my needs for this project.

Author Topic: Duplicate bitrate number puzzles me  (Read 3359 times)

ariszlo

  • Moderator
  • Hero Member
  • *****
  • Posts: 215
    • View Profile
Duplicate bitrate number puzzles me
« 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.
« Last Edit: January 22, 2021, 10:11:57 PM by ariszlo »

ariszlo

  • Moderator
  • Hero Member
  • *****
  • Posts: 215
    • View Profile
Re: Duplicate bitrate number puzzles me
« Reply #1 on: January 24, 2021, 02:33:38 PM »
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"
  />

Eris Lund

  • The Skin Guy, Official Modern Skin tech support
  • Moderator
  • Hero Member
  • *****
  • Posts: 276
    • View Profile
    • Eris Lund's Github
Re: Duplicate bitrate number puzzles me
« Reply #2 on: January 25, 2021, 07:55:54 AM »
looks like it relates to something in blinker.m
Currently building the fourth (and best) incarnation of Classic Skins in Modern Skins
https://github.com/0x5066/DeClassified
Current maintainer of the WACUP version of Winamp Modern.
https://github.com/0x5066/WinampModernPP
I made that one skin that one time.
https://github.com/0x5066/Winamp2000SP4

ariszlo

  • Moderator
  • Hero Member
  • *****
  • Posts: 215
    • View Profile
Re: Duplicate bitrate number puzzles me
« Reply #3 on: January 25, 2021, 06:11:03 PM »
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.