Radio? Sure!

The Best Internet Radio Player Ever! ;)

Liste mit befehlen die man in einem Skin benutzen kann???

All questions about using skins for RadioSure

Liste mit befehlen die man in einem Skin benutzen kann???

Postby ib2412 » 05 Jan 2017, 22:01

Hi,
sitze gerade an einem neuen Skin und suche eine Liste mit Befehlen die man in den Skins benutzen kann wenn möglich mit Beschreibung was diese bewirken.
Speziell suche ich den Befehl der wie in dem Bild was ich angehängt habe die Radiostation/den SENDER ohne Laufschrift anzeigt und das in einem SKIN OHNE Windows Rahmen. Der dargestellte Skin hat einen Windows Rahmen, sonst könnte ich es aus diesem Skin entnehmen.
Wird hier anscheinen vom Programm selber gesteuert nicht vom Skin.

Neue Bitmap.jpg
Neue Bitmap.jpg (82.38 KiB) Viewed 1373 times


Nicht der neue Skin nur zum verdeutlichen was ich meine.

Code: Select all
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!--  Skin by borko1dj - 2010-->
<!--01.07.2010-->
<XMLConfigSettings>
  <Window>
    <Frame>0</Frame>
    <x>0</x>
    <y>0</y>
    <width>364</width>
    <height>141</height>
    <Background>bg2.png</Background>
    <Rounded>8</Rounded>
  </Window>
  <Expand>
    <x>247</x>
    <y>93</y>
    <width>37</width>
    <height>42</height>
    <visible>1</visible>
    <TextColor>-1</TextColor>
    <Image>
      <Normal>Expand.png</Normal>
      <Hot>Expand-hot.png</Hot>
      <Pressed>Expand-pressed.png</Pressed>
    </Image>
  </Expand>
  <Favorites>
    <x>285</x>
    <y>116</y>
    <width>64</width>
    <height>11</height>
    <visible>1</visible>
    <TextColor>-1</TextColor>
    <Image>
      <Normal>Favorites.png</Normal>
      <Hot>Favorites-hot.png</Hot>
      <Pressed>Favorites-pressed.png</Pressed>
    </Image>
  </Favorites>
  <Options>
    <x>285</x>
    <y>100</y>
    <width>64</width>
    <height>11</height>
    <visible>1</visible>
    <TextColor>-1</TextColor>
    <Image>
      <Normal>Options.png</Normal>
      <Hot>Options-hot.png</Hot>
      <Pressed>Options-pressed.png</Pressed>
    </Image>
  </Options>
  <Rec>
    <x>118</x>
    <y>96</y>
    <width>36</width>
    <height>39</height>
    <visible>1</visible>
    <TextColor>-1</TextColor>
    <Image>
      <Normal>rec1.png</Normal>
      <Hot>rec-hot.png</Hot>
      <Pressed>rec-pressed.png</Pressed>
    </Image>
    <AltImage>
      <Normal>Rec-2.png</Normal>
      <Hot>Rec-2-hot.png</Hot>
      <Pressed>Rec-2pressed.png</Pressed>
    </AltImage>
  </Rec>
  <Next>
    <x>82</x>
    <y>96</y>
    <width>36</width>
    <height>39</height>
    <visible>1</visible>
    <TextColor>-1</TextColor>
    <Image>
      <Normal>Next.png</Normal>
      <Hot>Next-hot.png</Hot>
      <Pressed>Next-pressed.png</Pressed>
    </Image>
  </Next>
  <Back>
    <x>46</x>
    <y>96</y>
    <width>36</width>
    <height>39</height>
    <visible>1</visible>
    <TextColor>-1</TextColor>
    <Image>
      <Normal>Back.png</Normal>
      <Hot>Back-hot.png</Hot>
      <Pressed>Back-pressed.png</Pressed>
    </Image>
  </Back>
  <Play>
    <x>7</x>
    <y>95</y>
    <width>38</width>
    <height>40</height>
    <visible>1</visible>
    <TextColor>-1</TextColor>
    <Image>
      <Normal>Play.png</Normal>
      <Hot>Play-hot.png</Hot>
      <Pressed>play-pressed.png</Pressed>
    </Image>
    <AltImage>
      <Normal>Play-2.png</Normal>
      <Hot>Play-2-hot.png</Hot>
      <Pressed>Play-2-pressed.png</Pressed>
    </AltImage>
  </Play>
  <Sources>
    <x>17</x>
    <y>62</y>
    <width>85</width>
    <height>15</height>
    <TextColor>0</TextColor>
    <visible>1</visible>
    <GlassLevel>100</GlassLevel>
    <Image>
      <Normal>Sources.png</Normal>
      <Hot>Sources-hot.png</Hot>
      <Pressed>Sources-pressed.png</Pressed>
    </Image>
  </Sources>
  <Status>
    <TextColor>0,10,10,10</TextColor>
    <GlowColor>0,0,0,0</GlowColor>
    <x>255</x>
    <y>65</y>
    <width>126</width>
    <height>13</height>
    <visible>1</visible>
    <BkColor>-1</BkColor>
    <TextSize>13</TextSize>
    <TextAlign>-1</TextAlign>
  </Status>
   <BufferIndicator>
    <x>20</x>
    <y>82</y>
    <width>60</width>
    <height>3</height>
    <visible>1</visible>
  </BufferIndicator>
  <BufferInfo>
     <BkColor>100,255,255,255</BkColor>
     <TextColor>100,0,200,255</TextColor>
     <GlowColor>0,111,999,999</GlowColor>
     <x>20</x>
     <y>84</y>
     <width>65</width>
     <height>10</height>
     <visible>1</visible>
     <BkColor>100,255,255,255</BkColor>
     <TextSize>12</TextSize>
     <TextAlign>-1</TextAlign>
  </BufferInfo>
  <List>
    <x>12</x>
    <y>220</y>
    <width>342</width>
    <height>342</height>
    <visible>1</visible>
    <TextColor>16,184,182,173</TextColor>
    <BkColor>16,15,15,13</BkColor>
    <HighLightColor>0</HighLightColor>
    <HighLightTextColor>235,253,29,23</HighLightTextColor>
    <Transparent>0</Transparent>
  </List>
  <Volume>
    <x>154</x>
    <y>103</y>
    <width>96</width>
    <height>40</height>
    <visible>1</visible>
    <ImageThumb>VolumeThumb.png</ImageThumb>
    <ImageThumbHot>VolumeThumb.png</ImageThumbHot>
    <ImageChannel>VolumeChannel.png</ImageChannel>
    <ThumbSize>20</ThumbSize>
  </Volume>
  <Mute>
    <x>225</x>
    <y>94</y>
    <width>16</width>
    <height>15</height>
    <visible>1</visible>
    <TextColor>-1</TextColor>
    <Image>
      <Normal>Mute1.png</Normal>
      <Hot>Mute2.png</Hot>
      <Pressed>Mute3.png</Pressed>
    </Image>
    <AltImage>
      <Normal>Mute3.png</Normal>
      <Hot>Mute2.png</Hot>
      <Pressed>Mute1.png</Pressed>
    </AltImage>
  </Mute>
  <Filter>
    <x>245</x>
    <y>169</y>
    <width>104</width>
    <height>14</height>
    <visible>1</visible>
  </Filter>
  <Author>
    <Name>borko1dj - 2010</Name>
    <URL></URL>
  </Author>
  <FilterLabel>
    <x>0</x>
    <y>0</y>
    <width>24</width>
    <height>30</height>
    <visible>0</visible>
    <TextColor>-1</TextColor>
    <Image>
      <Normal>FilterLabel.png</Normal>
      <Hot>FilterLabel-hot.png</Hot>
      <Pressed>FilterLabel-pressed.png</Pressed>
    </Image>
  </FilterLabel>
  <FoundNumber>
    <TextColor>235,253,29,23</TextColor>
    <GlowColor>0,0,0,0</GlowColor>
    <x>25</x>
    <y>199</y>
    <width>150</width>
    <height>13</height>
    <visible>1</visible>
    <BkColor>-1</BkColor>
    <TextSize>13</TextSize>
    <TextAlign>-1</TextAlign>
  </FoundNumber>
  <RotatedInfo>
    <TextColor>0,0,255,255</TextColor>
    <GlowColor>0,0,0,0</GlowColor>
    <x>16</x>
    <y>47</y>
    <width>300</width>
    <height>14</height>
    <BkColor>0</BkColor>
    <visible>1</visible>
    <TextSize>13</TextSize>
    <TextAlign>-1</TextAlign>
  </RotatedInfo>
  <SongTitle>
    <TextColor>0,0,255,255</TextColor>
    <GlowColor>0,0,0,0</GlowColor>
    <x>16</x>
    <y>34</y>
    <width>300</width>
    <height>15</height>
    <visible>1</visible>
    <BkColor>-1</BkColor>
    <TextSize>13</TextSize>
    <TextAlign>-1</TextAlign>
  </SongTitle>
  <Spectrum>
    <x>238</x>
    <y>34</y>
    <width>113</width>
    <height>30</height>
    <visible>1</visible>
    <BarColorTop>100,0,0,255</BarColorTop>
    <BarColorBottom>255,255,255,255</BarColorBottom>
    <BkColorTop>0,255,212,121</BkColorTop>
    <BkColorBottom>0,200,161,79</BkColorBottom>
    <BarLineColor>200,0,0,0</BarLineColor>
    <Bars>30</Bars>
    <GlassLevel>100</GlassLevel>
    <Frame>20</Frame>
  </Spectrum>
  <Exit>
    <x>334</x>
    <y>1</y>
    <width>18</width>
    <height>20</height>
    <visible>1</visible>
    <TextColor>-1</TextColor>
    <Image>
      <Normal>Exit.png</Normal>
      <Hot>Exit-hot.png</Hot>
      <Pressed>Exit-pressed.png</Pressed>
    </Image>
  </Exit>
  <Minimize>
    <x>299</x>
    <y>3</y>
    <width>17</width>
    <height>17</height>
    <visible>1</visible>
    <TextColor>-1</TextColor>
    <Image>
      <Normal>Minimize.png</Normal>
      <Hot>Minimize-hot.png</Hot>
      <Pressed>Minimize-pressed.png</Pressed>
    </Image>
  </Minimize>
  <OnTop>
    <x>316</x>
    <y>1</y>
    <width>18</width>
    <height>20</height>
    <visible>1</visible>
    <TextColor>-1</TextColor>
    <Image>
      <Normal>OnTop.png</Normal>
      <Hot>OnTop-hot.png</Hot>
      <Pressed>OnTop-pressed.png</Pressed>
    </Image>
    <AltImage>
      <Normal>OnTop-2.png</Normal>
      <Hot>OnTop-2-hot.png</Hot>
      <Pressed>OnTop-2-pressed.png</Pressed>
    </AltImage>
  </OnTop>
</XMLConfigSettings>
ib2412
 
Posts: 10
Joined: 26 Nov 2013, 15:41

Re: Liste mit befehlen die man in einem Skin benutzen kann??

Postby Fonzy » 06 Jan 2017, 12:41

Skins do not use "commands" (Befehlen), but are a list of parameters "Variables" used in the software, and a bunch of pictures (the main or background, and the symbols used, all in png format). The software works perfectly without the skin, -then you get a regular windows view, with internal definitions.
The program looks for a list of replacement factors in the xml file, and if exist, and correct then uses that variable in stead of the default (internal) setting for it
So you can change all the things between the variable names[ <name> parameters <\name> ]
Carefull: If you make ANY mistake, example remove the "end of variable name" then the ski!n is NOT uèsed and you get a windows-look with internal settings
but you cannot use , or add names/parameters not defined within the program..., Therefore you must rewrite (and recompile) the program. If you do add such, they are just ommitted, since the program never asks for them...
You can create a skin with many items made invisible, but the thing must be able to do something too, like choosing a station, unless you define that station in a command-line
Things showed (station info and messages broadcasted) are not defined in the skin , nor in the program. As is mentioned, those are send from the radio, and the scrolling of it , is defined in the programm. You can switch it of, but not change to a fixed text, unless it fits in the defined field for it.
For real "commands" see "Options" (rightclick on body radio), "info" and "command line parameters"
there is the possibility to run the radio without showing the main-window, but working non-visible, recording etc.
User avatar
Fonzy
 
Posts: 375
Joined: 21 Oct 2013, 22:43
Location: Belgium

Re: Liste mit befehlen die man in einem Skin benutzen kann??

Postby ib2412 » 08 Jan 2017, 18:53

Fonzy wrote:Post by Fonzy » 06 Jan 2017, 09:41
Skins do not use "commands" (Befehlen), but are a list of parameters "Variables" used in the software,
The program looks for a list of replacement factors in the xml file, and if exist, and correct then uses that variable in stead of the default (internal) setting for it


Have you a list with this Parameters that i can use?
The most Parameters i can take from other Skins
*.RSN
But it is diffikult to find out what the Parameters bring about.
ib2412
 
Posts: 10
Joined: 26 Nov 2013, 15:41

Re: Liste mit befehlen die man in einem Skin benutzen kann??

Postby Fonzy » 09 Jan 2017, 02:24

No , I have NOT a list
The names say mostly what they do, otherways try them out (and write down for your own)...,
The most tricky are the color settings, altough it is simple a,b,d,d (a...d are 0 til 255 number)where a = transparency grade, and b,c and d are the values for R,G,B to compose a color
<TextColor>0,10,10,10</TextColor> , <TextColor>-1</TextColor> , <TextColor>0</TextColor>,
<GlowColor>0,0,0,0</GlowColor>
I did not search them all, just tested the needed and tried them.
To see quick your change, save the change (do not close editor), do change radio from full to minimise skin and back, then the change is seen, and if no good, you can immediately redo to former setting
There are separate scripts for full and another for minimise version (skin.rsn, and skin2.rsn)
You can edit them with a "flat" txt editor (notepad)
sorry I cannot help you more .
User avatar
Fonzy
 
Posts: 375
Joined: 21 Oct 2013, 22:43
Location: Belgium


Return to Using Skins

Who is online

Users browsing this forum: No registered users and 1 guest