dvd condition

About usage, announcement and development of skins for VLC
alxgomz
New Cone
New Cone
Posts: 4
Joined: 25 Apr 2012 23:37

dvd condition

Postby alxgomz » 25 Apr 2012 23:47

Hello i am trying to build my vlc skin.
I'd like to have a DVD logo and DVD related buttons displayed only when reading DVD media.
I did a test with an image in a layout. This image has the following visibility value:

Code: Select all

dvd.isActive
Unfortunately, this image never appears even when playing DVD or browsing the dvd menu.
If I switch visibility to:

Code: Select all

true
I am using vlc 2.0.1-0-gf432547) on Debian.

Am i taking it the wrong way or is it a bug?

erwan10
Developer
Developer
Posts: 415
Joined: 02 Nov 2008 23:16

Re: dvd condition

Postby erwan10 » 26 Apr 2012 12:58

It should work.

The default skin uses this feature with additional buttons displayed on the right hand side when dvd is active. Does this skin work for you ?

alxgomz
New Cone
New Cone
Posts: 4
Joined: 25 Apr 2012 23:37

Re: dvd condition

Postby alxgomz » 26 Apr 2012 17:11

Hello erwan thx for your answer.
I have tried reading a dvd using:

Code: Select all

vlc --reset-config
I can't see any new button when playing a dvd (here is the screenshot):
http://imageshack.us/photo/my-images/81 ... 44158.png/

Would you mind trying my theme on your vlc? (I would send it via PM?

erwan10
Developer
Developer
Posts: 415
Joined: 02 Nov 2008 23:16

Re: dvd condition

Postby erwan10 » 26 Apr 2012 18:35

That' s because you're using the qt4 interface.

There are two distinct User Interfaces within vlc that, sort of, compete with each other : the qt4 interface and the skins2 interface.

If you want to create your own skin, you need to run "vlc -I skins". I was talking about the default skin that shows up when you run this very command line.

If you have already created your own skin and already have got something like MySkin.vlt, you can test it from the command line by issuing : "vlc -I skins --skins2-last /path/MySkin.vlt"

alxgomz
New Cone
New Cone
Posts: 4
Joined: 25 Apr 2012 23:37

Re: dvd condition

Postby alxgomz » 26 Apr 2012 19:01

vlc --reset-config -I skins gives me the following when reading a dvd:

http://img190.imageshack.us/img190/7585 ... 184700.png

As far as I can tell, there is no additionnal button.

My skin mostly work except for the DVD buttons...

I have also tried to re-compile VLC from sources, but I get the same result... I am quite lost.

erwan10
Developer
Developer
Posts: 415
Joined: 02 Nov 2008 23:16

Re: dvd condition

Postby erwan10 » 26 Apr 2012 19:25

The last screen shot you provided doesn't show those additional buttons. Which command did you use to open this dvd ? Are you really working with a DVD ? Maybe try another DVD ?

At the skins2 engine level, a dvd is marked as such when chapter description is received from vlc core. And it works fine for me on windows just now with commercial DVDs.

alxgomz
New Cone
New Cone
Posts: 4
Joined: 25 Apr 2012 23:37

Re: dvd condition

Postby alxgomz » 27 Apr 2012 10:25

Indeed, if I try with another DVD, It works as expected... I can't believe I did my tests with my only dvd that doesn't work!! But that's true...
Thanks for your help I can now continue working on my theme.


Return to “Skins”

Who is online

Users browsing this forum: No registered users and 6 guests