Official BS.Player forums

Official BS.Player forums (http://forum.bsplayer.com/)
-   BS.Player Skins and Skinning (http://forum.bsplayer.com/bs-player-skins-skinning/)
-   -   Need Help With Skin Completion (http://forum.bsplayer.com/bs-player-skins-skinning/9788-need-help-skin-completion.html)

PHNX 6th July 2009 05:10 PM

Need Help With Skin Completion
 
I have various questions regarding things i need to know in order to complete my skin. I will post them as i go along.

-------------------------------------

Lets start with something simple. See the TV and RADIO buttons in the upper right corner? These buttons are supposed to call up the MediaLibrary in TV-Mode and Radio-Mode respectively. (Exactly like the BASE Skin does.)

What i need to know are the button-keycodes for these two functions.


http://img241.imageshack.us/img241/5237/wip3.png

BSPeter 7th July 2009 11:11 PM

Can't you perhaps find that in skin.ini file of Base-skin?
:wink:

PHNX 8th July 2009 10:25 AM

Unfortunately not.

I dont know how they did it in Base, but there is no absolute keycode for these two functions.

Thats why i had to ask, because i just couldnt figure it out...

PHNX 13th July 2009 11:34 PM

I hope i didnt ask for any trade-secret,...:biggrin:

BSPeter 14th July 2009 01:05 AM

From Base-skin's ini:
Code:

[AddSkinArea]
BgImage=extbg
;TransColor=f400fd
NumSection=5
AttachAt=396,22
DefRect=78,0,117,103
DefSection=0
Btn1=exvideo,79,0,0,1;VIDEO
Btn2=exdvd,79,22,0,2;DVD
Btn3=exaudio,79,43,0,3;AUDIO
Btn4=exradio,79,64,0,4;RADIO
Btn5=extv,79,84,0,5;TV
 
[AddSkinArea.1]
Number=8
Rect=0,0,117,103
Btn1=exvbtn1,11,8,0,112;$lang.Menu.55
Btn2=exvbtn2,10,35,0,10;$lang.Menu.32
Btn3=exvbtn3,10,57,0,33;$lang.Menu.39
Btn4=exvbtn4,10,80,0,66;$lang.Menu.33
Btn5=exvbtn5,51,8,0,98;
Btn6=exvbtn6,49,37,0,98;Font, subs
Btn7=exvbtn7,47,58,0,98;$lang.Menu.31
Btn8=exvbtn8,51,80,0,103;Repeat mode
 
[AddSkinArea.2]
Number=4
Rect=39,0,117,103
Btn1=exdbtn1,51,9,0,117;$lang.Menu.107
Btn2=exdbtn2,51,32,0,118;$lang.Menu.108
Btn3=exdbtn3,51,54,0,119;$lang.Menu.110
Btn4=exdbtn4,51,77,0,120;$lang.Menu.109
 
[AddSkinArea.3]
Number=4
Rect=39,0,117,103
Btn1=exabtn1,50,9,0,103;Repeat mode
Btn2=exabtn2,50,34,0,5005;$lang.WID43.25
Btn3=exabtn3,51,64,0,73;$lang.Menu.18 $lang.Menu.19
Btn4=exabtn4,51,86,0,74;$lang.Menu.18 $lang.Menu.20
 
[AddSkinArea.4]
Number=0
Rect=78,0,117,103
 
[AddSkinArea.5]
Number=0
Rect=78,0,117,103

:wink:

PHNX 14th July 2009 12:14 PM

Thanks Peter, i already found this when i checked the Base myself but thats not it.

In the case of these five AddSkin Functions, (including Radio and TV as 4 and 5), there must be more to it than just the plain numbers because numbers 1 through 5 are already occupied by other functions.

Example from Base skin.ini:

Btn7=vold,345,108,0,2;$lang.Actions.3
Btn8=volu,361,108,0,1;$lang.Actions.2

Btn1=exvideo,79,0,0,1;VIDEO
Btn2=exdvd,79,22,0,2;DVD

As you can see, 1 and 2 are VolUp and VolDown, yet they are supposed to be Video and DVD as well. Of course this cannot be, since one parameter cannot call two different functions in the same program. So the question is what are 1 and 2 really? The answer is they are definitely VolUp and VolDown, which means there must be some sort of 'trick' to reuse 1 and 2 for Radio and TV in the AddSkin Section.

And this trick (or better yet an absolute keycode) is precisely what i am looking for, because this goes for 4 and 5 as well. I dont know what functions 4 and 5 normally are since a button does nothing with them, but i can assure you they are not Radio and TV.


In any case thanks for your trying to help, i hope some dev can shed some light on this because it would be a pity if i couldnt complete my skin because of such litte details.

PHNX :smile

BSPeter 14th July 2009 12:39 PM

I knew/know that those button-nrs were/are already taken, but not for [AddSkinArea].
Doesn't that mean something?
Maybe Tizio can shed some light on this as well?
(Or otherwise indeed Ico-man as a team-member).
:wink:

Ico-man 14th July 2009 03:01 PM

skinning bsplayer buttons
 
This "problem" is caused by the design of base skin.

Buttons video, dvd and audio were originals and they are meant to quickly open additional settings for each category (not to open ML).
Buttons Radio and TV were added later and since there is no need for additional settings, were made to point to correct section in ML.

We will add option to define buttons to open desired section of ML - in 2.43 beta.

In the meanwhile, you can still upload your skin and give users a chance to test it, and modify it later when we release beta with added code.

If you need any other skinning info for BS.Player, let us know.

PHNX 14th July 2009 04:15 PM

Thanks for the info Ico, much appreciated.

I will do a couple of final tweaks and testing during this week so i think i can upload a beta around the weekend.



As for the further completion process, what would be most helpful are suggestions as for what to do with the nine unlabeled buttons below the trackbar. Since my aim is to make it a possibly perfect allround-skin that can be used as a full replacement to Base, i am very much interested in hearing opinions as to which functions would benefit the most people in the best way. The functions that are important to me are already all covered, so as far as im concerned these nine buttons can be anything. But IMO they should be something that is useful to the majority of users, since it simply makes the most sense.

(If the BSP Team would like to see any specific functions covered there, please let me know which and in what order of arrangement. If you want any specific labels too (glyphs in this case) just let me know what you have in mind and i will get to it. Its my way of saying Thanks for your great free product and your unprecedented responses to User Feedback.)


Covered so far are: (Left-To-Right Order)

P-R-O Block: Preferences | RepeatModes | OpenFile

PL-EQ-ML Block: Playlist | Equalizer | MediaLibrary

Plus/Minus Block: Volume Control

Player Control Block Upper Row: Rewind | Play | FastForward | Pause

Player Control Block Lower Row: Previous | PreviousChapter | NextChapter | Next | Stop+CloseFile

Left Bottom 3-Block: MinimizePlayer | Skins | Cycle Aspect

Right Bottom 3-Block: JumpBackward | JumpToTime | JumpForward

Player Display: Volume Control | ToggleMute | RepeatModes | ToggleFullscreen

(Note: Fullscreen Skin is 100% identical to the normal skin, minus the non-available readouts in the display of course.)

The 'Video' button in the upper right control block currently opens HardwareVideoSettings, (the sliders), but is supposed to be extended with a submenu similar to that in Base in the further process. The other buttons of this block (DVD, Audio, TV, Radio), are not assigned yet.


All times are GMT +1. The time now is 04:35 AM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
Ad Management plugin by RedTyger


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20