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/)
-   -   Subtitles Buttom (http://forum.bsplayer.com/bs-player-skins-skinning/7514-subtitles-buttom.html)

gabglus 1st June 2006 06:35 PM

Subtitles Buttom
 
Is there a command or a posibility to put in the skin all the available subtitles (different languages) for a specific movie ??

Thanks

Tizio 2nd June 2006 12:06 AM

I don't know if I understood your question...
Why do you want to put subtitles into a skin?

If you want to load subtitles for every language available to you, you have only to rename the subtitles file as in the example below.

Example:
If you have a movie (e.g. "The Matrix.avi") all you have to do is to rename the subtitles files as the movie name plus the language indicator, and put them in the same folder as the movie one

The Matrix.avi

The Matrix - EN.srt
The Matrix - NL.ssa
The Matrix - it.txt
The Matrix (Japanese).srt
......
and so on..

It doesn't matter what you put after the movie name, BSplayer will load every subtitle file that begins with the movie name :wink:



If you didn't wanted this feature, maybe you wanted to have your skin with buttons translated in every BSplayer language ( :? )
If this is the case, you have to modify the skin.ini file as described in the Skin.ini file placed in the Base skin folder.
For exaple, if you add a play button and want its tooltip to be translated in every language, you have to write the play button line as follows:

Code:

[Buttons]
...
Btn3=play,129,116,0,20;$lang.Menu.10
...

where Btn3 means that the play button is the third of the buttons list, 129 that it will be placed at 129 pixels right from the left skin border, 116 that it will be placed at 116 pixels down from the top skin border, 0 that the button is a Normal button, 20 that its action is Play (read it from the SDK files) and finally $lang.Menu.10 means that the string that will be used to show the tooltip of your play button will be the one located in the item number 10 of Menu section in the selected language file (you have to select the language in BSplayer right-click -> Options -> Language)



I hope to have answered to your question... :roll:
If not, please tell me what did you mean :)

adicoto 2nd June 2006 04:06 AM

He asked for a button from wich he can swich among subtiles directly, not by rightclick->subtiles.

Tizio 2nd June 2006 10:08 AM

Ok, now that this point is clear :D

All you have to do is to make a button with Action = 72 (Cycle subtitles).
To follow the Play button example, your Cycle subtitles button will be:

Code:

[Buttons]
...
Btn3=CSubt,129,116,0,72;$lang.Actions.73
...

where CSubtN.bmp CSubtU.bmp CSubtD.bmp are the subtitle buttons images :wink:


All times are GMT +1. The time now is 10:07 PM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, 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