Official BS.Player forums  

Go Back   Official BS.Player forums > Main forum > BS.Player Skins and Skinning
Register FAQ Calendar Today's Posts Search

BS.Player Skins and Skinning Comments on skins, new ideas, skinmaker, skinmaker documentation, or anything else concerning BS.Player skins

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 1st June 2006
Junior Member
BS.Player Newbie
 
Join Date: Jun 2006
Posts: 1
Rep Power: 0
gabglus is an unknown quantity at this point
Default 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
Reply With Quote
  #2 (permalink)  
Old 2nd June 2006
Moderator
BS.Player Master
 
Join Date: Nov 2003
Location: Italy
Posts: 3,037
Rep Power: 28
Tizio will become famous soon enough
Default

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



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 :)
__________________
BSP SkinMaker (v1.07) the one and only Skin Editor for BSplayer
BSP Definitions Manager (v1.02)
BS.Player's FAQ (by BSPeter) | Italian language file (v2.57 build 1051)
Reply With Quote
  #3 (permalink)  
Old 2nd June 2006
Moderator
BS.Player Master
 
Join Date: Jan 2003
Location: Romania
Age: 57
Posts: 5,235
Rep Power: 32
adicoto is on a distinguished road
Default

He asked for a button from wich he can swich among subtiles directly, not by rightclick->subtiles.
Reply With Quote
  #4 (permalink)  
Old 2nd June 2006
Moderator
BS.Player Master
 
Join Date: Nov 2003
Location: Italy
Posts: 3,037
Rep Power: 28
Tizio will become famous soon enough
Default

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
__________________
BSP SkinMaker (v1.07) the one and only Skin Editor for BSplayer
BSP Definitions Manager (v1.02)
BS.Player's FAQ (by BSPeter) | Italian language file (v2.57 build 1051)
Reply With Quote
Reply

Tags
buttom, subtitles


Posting Rules


All times are GMT +1. The time now is 09:37 AM.


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