Thanks for your answer, and yes ! I thought it was not working, but it was !
However stream icon turns green and then quickly turn off, but it keeps streaming. I was the one turning it off because I thought it was disconnected. So the only bug here is the icon not staying green while streaming.
EDIT : I did find the problem : from Shade skin, I can see there is no 2 but 5 states for broadcast, and 2 is for ON and not 1 which is for connecting.
I made an orange icon for connecting state and a red one for error (I donât know what 5 warning stand forâŚ).
The resulting skin is attached.
Is there a git repo for this skin for me to pull request ?
Traktmixxx / RoundCorners skin with 2 states
<PushButton>
<ObjectName>Btn-br</ObjectName>
<TooltipId>broadcast_enabled</TooltipId>
<Size>50f,45f</Size>
<NumberStates>2</NumberStates>
<State>
<!-- BROADCAST OFF -->
<Number>0</Number>
<Pressed>button/btn_broadcast1.svg</Pressed>
<Unpressed>button/btn_broadcast1.svg</Unpressed>
<Text></Text>
</State>
<State>
<!-- BROADCAST ON-->
<Number>1</Number>
<Pressed>button/btn_broadcast2.svg</Pressed>
<Unpressed>button/btn_broadcast2.svg</Unpressed>
<Text></Text>
</State>
<Connection>
<ConfigKey>[Shoutcast],enabled</ConfigKey>
<ButtonState>LeftButton</ButtonState>
</Connection>
<Connection>
<ConfigKey>[Shoutcast],status</ConfigKey>
<ConnectValueFromWidget>false</ConnectValueFromWidget>
</Connection>
</PushButton>
My mod with 4 states
<PushButton>
<ObjectName>Btn-br</ObjectName>
<TooltipId>broadcast_enabled</TooltipId>
<Size>50f,45f</Size>
<NumberStates>4</NumberStates>
<State>
<!-- BROADCAST OFF -->
<Number>0</Number>
<Pressed>button/btn_broadcast1.svg</Pressed>
<Unpressed>button/btn_broadcast1.svg</Unpressed>
<Text></Text>
</State>
<State>
<!-- BROADCAST CONNECTING -->
<Number>1</Number>
<Pressed>button/btn_broadcast2.svg</Pressed>
<Unpressed>button/btn_broadcast2.svg</Unpressed>
<Text></Text>
</State>
<State>
<!-- BROADCAST ON-->
<Number>2</Number>
<Pressed>button/btn_broadcast3.svg</Pressed>
<Unpressed>button/btn_broadcast3.svg</Unpressed>
<Text></Text>
</State>
<State>
<!-- BROADCAST ERROR-->
<Number>3</Number>
<Pressed>button/btn_broadcast4.svg</Pressed>
<Unpressed>button/btn_broadcast4.svg</Unpressed>
<Text></Text>
</State>
<Connection>
<ConfigKey persist="true">[Shoutcast],enabled</ConfigKey>
<ButtonState>LeftButton</ButtonState>
</Connection>
<Connection>
<ConfigKey persist="true">[Shoutcast],status</ConfigKey>
<ConnectValueFromWidget>false</ConnectValueFromWidget>
</Connection>
</PushButton>
Traktmixxx-broadcast.zip (397 KB)