Jump to content

New skinner … some day [en]


Recommended Posts

Posted

Hi all,

 

I’m new to this forum .I changed from Mediaportal to DVBViewer because live tv is stable and the OSD SKIN is fast. The list of plug-in is not so big, but for the moment I’m happy with the main thing and that’s watching movies /tv and listening to my music.

I’m thinking of creating my own skin …I playing with the default and other skins to understand how it works but there are still thinks I don’t understand.

 

1) How can I navigate with my keyboard the buttons? When I create 3 buttons and I want to go up, down, left, right… I can’t go from button to button.

2) How can I change the names in the main menu and or create extra main menu’s like “Games ” where you can create more sub menu’s under?

3) How can I start up DVBViewer directly in htpc mode and if you don’t use him for a few minutes that he remains on the screen?

 

This are only a few questions and many more to come… :D

 

I wish that the skin editor was a little bit more user friendly, that way there where more people making new and wonderful skins. And maybe a small tutorial explained the basic stuff…

 

But he … Rome wasn't built in a day :)

 

PS: Please replay in English I only understand German when you speak to me slow I don’t read/ write. ;)

 

Thanks in advance.

Regards

Wall-e

Posted (edited)

Hello,

 

first get the Skin Editor, the Menu Editor and DVB Spy. Those are the tools available.

 

about 1)

 

All elemets have an ID. And they have tags for what happens on left, right, up and down.

 

	  <up>19</up>
	<down>11</down>
	<left>11</left>
	<right>3</right>

 

In the code example the focus moves from your current button to the elemet with the ID 19 if you press up. To element with ID 11 on down and so on...

 

 

About 2) Use the Menu Editor. However, once you changed the Menues with the Menu Editor you have to distribute the windowsdef.xml form configuration directory with your skin.

 

About 3) I am not sure what you mean with htpc mode. The htpc Menu ? Well, it has a timeout and vanisches after that from the screen. I am not sure if its possible to disable the timeout. Never tried it. But you can start into this mode with DVBViewer -x 2110. See the Wiki and the actions.ini for more informations.

 

It might be possible to smooth it out a bit by design. I could imagine to move TV into htpc and the EPG Menuentries into sub menus. That would come quite colse to a portal. But basically DVBViewer is designed to be TV software first and multimedia secondary. Its not exactly a portal, but rather a TV which is also able to play videos, DVD, music and show pictures. The functions are the same, but the approach is a bit different.

 

But really try what you can. I am looking forward to it.

Edited by mague
Posted
I am not sure if its possible to disable the timeout

It's possible: simply set "Settings / Options / OSD General / Menutimeout" to "0".

After that you can close OSD by pressing "Esc"...

 

:)

Posted

Hi mague and Gioxy,

 

Thx for the quick replay!

 

1 ) For navigation of the buttons I understand how it works now but still not working

 

Example:

- I have background id 0

- Than I have 3 buttons id 22

23

24

Then I tell them where to go up and down

 

But when I go to test it in the program nothing is selected only when I move my cursor over the button is selected.

When I click on the button he go’s to music or something ells what I have selected

But keyboard still no success…

The moment I get in the program normaly ther is 1 item selected so you kan move the selection whit the keyboard but this is not the case

 

2) Menu I will look in to it later

3) Timeout works perfectly …

 

Regards

 

Wall-e

Posted

To make it easyer maybe you can do somthing with the code :

 

<?xml version="1.0" encoding="iso-8859-1"?>
<screen default="5000" allowoverlay="true" hasbg="true" version="DVBViewer OSDSkin 1.1">
 <items>
   <item>
     <description>default image</description>
     <type>Image</type>
     <y>73</y>
     <width>766</width>
     <height>430</height>
     <texture>test.jpg</texture>
   </item>
   <item>
     <description>default button</description>
     <type>Button</type>
     <id>2</id>
     <x>81</x>
     <y>196</y>
     <width>190</width>
     <height>32</height>
     <up>4</up>
     <down>2</down>
     <left>1</left>
     <right>2</right>
     <subcontrols>
       <control>
         <description>imgfocus</description>
         <type>Image</type>
         <texture>btn_focus.png</texture>
       </control>
       <control>
         <description>imgnofocus</description>
         <type>Image</type>
         <texture>btn_nofocus.png</texture>
       </control>
       <control>
         <description>buttonlabel</description>
         <type>Label</type>
         <disabledcolor>FFFFFFFF</disabledcolor>
         <width>190</width>
         <label>Button1</label>
       </control>
     </subcontrols>
   </item>
   <item>
     <description>default button</description>
     <type>Button</type>
     <id>3</id>
     <x>83</x>
     <y>251</y>
     <width>190</width>
     <height>32</height>
     <up>2</up>
     <down>4</down>
     <left>2</left>
     <right>3</right>
     <subcontrols>
       <control>
         <description>imgfocus</description>
         <type>Image</type>
         <texture>btn_focus.png</texture>
       </control>
       <control>
         <description>imgnofocus</description>
         <type>Image</type>
         <texture>btn_nofocus.png</texture>
       </control>
       <control>
         <description>buttonlabel</description>
         <type>Label</type>
         <disabledcolor>FFFFFFFF</disabledcolor>
         <width>190</width>
         <label>Button2</label>
       </control>
     </subcontrols>
   </item>
   <item>
     <description>default button</description>
     <type>Button</type>
     <id>4</id>
     <x>83</x>
     <y>306</y>
     <width>190</width>
     <height>32</height>
     <up>3</up>
     <down>1</down>
     <left>3</left>
     <right>4</right>
     <subcontrols>
       <control>
         <description>imgfocus</description>
         <type>Image</type>
         <texture>btn_focus.png</texture>
       </control>
       <control>
         <description>imgnofocus</description>
         <type>Image</type>
         <texture>btn_nofocus.png</texture>
       </control>
       <control>
         <description>buttonlabel</description>
         <type>Label</type>
         <disabledcolor>FFFFFFFF</disabledcolor>
         <width>190</width>
         <label>Button3</label>
       </control>
     </subcontrols>
   </item>
 </items>
</screen>

 

Thanks in advance.

Regards

Wall-e

Posted
3)and if you don’t use him for a few minutes that he remains on the screen?

Not possible, in DVBViewer live TV is the central point. You can disable the time-out totally see Gioxy post. It is also possible to disable the time-out only fo onpage via windowdef.xml e.g.

replace this

	<Window Name="Duration Window" ID="2901"/>

with this:

	<Window Name="Duration Window" ID="2901">
  <allowtimeout>0</allowtimeout>
</Window>

 

I wish that the skin editor was a little bit more user friendly, that way there where more people making new and wonderful skins. And maybe a small tutorial explained the basic stuff...

The best way to build a new skin is to take a other Skin (Default Skin) and change it page by page.

 

1). You have set the DefaultIten to 5000 change it to one of the buttons (Properties on object selected).

Posted
The best way to build a new skin is to take a other Skin (Default Skin) and change it page by page.

 

Yep, definetely.

 

You have to be aware that the internals of DVBViewer use those ID's too. Plugins also to some degree. Most channel lists use 11 and 10 for example. Thats why it is best to take a copy of Default and build your OSD out of it.

Posted

mague,

 

Where can I find a list of the ids so I don't use the wrong one?

 

I know that the best way of skinning is to use an old one, but I want to try something else.

 

Some tests:

Call me crazy but I was testing and found in my whether some buttons that where work, and I played with them a bit...

I deleted all other elements and found out that the buttons where still working I added a few new buttons and even that was working with only button elements in the skin editor and whiteout id 5000

I created a small menu to test if what a created works under My Weather.

It worked fine so I saved my whether to home.xml and I got the same problem again... No navi ;)

So I think there is a trick for it but I don't know what...

 

Regards

 

Wall-e

Posted

Hi,

 

What I like to do is to create a menu with default buttons and not a menulist.

So I can place my menu in a other form then a vertical list menu

But for some reason I’m not able to navigate with my keyboard when I creat a menu with default buttons...

For the rest the buttons do what I ask them to do but you can only navigate with mouse.

 

Is this simply not doable?

 

Regards

 

Wall-e

Posted
Hi,

 

What I like to do is to create a menu with default buttons and not a menulist.

So I can place my menu in a other form then a vertical list menu

But for some reason I'm not able to navigate with my keyboard when I creat a menu with default buttons...

For the rest the buttons do what I ask them to do but you can only navigate with mouse.

 

Is this simply not doable?

 

Regards

 

Wall-e

 

Post the xml file please

Posted
mague,

 

Where can I find a list of the ids so I don't use the wrong one?

 

I know that the best way of skinning is to use an old one, but I want to try something else.

 

Hello,

 

i dont think there is a list. Usuallyits 10 nad 11 for the listview and the thumbnail preview. But there are others too.

 

You cann try something different. Still its better to use the files from Default and modify them step by step.

Posted

Mague,

 

Out of frustration I deleted all the skins and copied my backup back …

So no xml for the moment, but I will try again later this week

Because the programming is not going that well I started the graphical part in Photoshop.

This is beta version…And as Long I don’t find a solution for the buttons it will stay a Photoshop project .

This horizontal menu idea is already being done by other programs like Mediaportal and xbmc, but still I gave it my personal touch.

I hoop that one day I can make I real.

Regards

 

Wall-e

post-89026-1258919743_thumb.jpg

Posted (edited)
Mague,

 

Out of frustration I deleted all the skins and copied my backup back …

So no xml for the moment, but I will try again later this week

Because the programming is not going that well I started the graphical part in Photoshop.

This is beta version…And as Long I don't find a solution for the buttons it will stay a Photoshop project .

This horizontal menu idea is already being done by other programs like Mediaportal and xbmc, but still I gave it my personal touch.

I hoop that one day I can make I real.

Regards

 

Wall-e

 

I am thinking for a while now to implement a horizontal menu :biggrin:

 

It should be doable with some efford.

 

Still you should build an example and post it. Else its not possible to help.

 

One thing about your photoshop layout. There is no "Play TV" in DVBViewer. It will always display a TV channel as long as you dont play a movie or music. This is the big difference compared to others like Mediaportal or Windows Media Center. You cant switch TV on or off. You should keep that in mind when designing your OSD. Everything else should be possible to some degree.

Edited by mague
  • 2 weeks later...
Posted (edited)

Mague,

 

Today I created a new home.xml and tried to do all the thinks I know and understand about xml and the way DVBViewer works with it.

But there are a lot of thinks I don’t know how to do because I can’t see how it is programmed are linked.

example: - Where can I find more info about the scripting I can only use scripts of existing material but noting new (#Time.dd:nn,#Media.Artist,#Selecteditem,…)

- Weather info of 1 day + location on my Home

- Some items of System info (if I look in the xml of sysinfo there is no link to how or where to find is data)

- Video preview (it works but I don’t know how… I used one that existed already)

- How to get RSS freed on the home xml

If it was as simple as Time = #Time.hh:nn and or Title of album =#Media.Album Where you see how it is programmed/linked then I understand.

But things that work with no link but still finds is way to the source that’s not understandable.

I think at that point it is linkt with the ID

But use it in an other xml and it stops working, sometimes it works sometimes not…

 

I Got a lot to learn !!!!!! :)

PS: If I like to re use a existing skin do I need to ask permition or can I have fun with it?

(I like Mediastream and DynamicBlack)

Regards

Wall-e

home.xml

Edited by Wall-e

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...