• 1
  • 17
  • 18
  • 19(current)
  • 20
  • 21
  • 52
Release VideoExtras Addon
yes but i dont think will be possible to add a infolabel inside a property


take a look here

http://forum.xbmc.org/showthread.php?tid...pid1224440
(2014-03-22, 10:11)warlion Wrote: yes but i dont think will be possible to add a infolabel inside a property


take a look here

http://forum.xbmc.org/showthread.php?tid...pid1224440

Yes, I'd spotted that one.

Any suggestion of an alternate approach to this - it needs to be the case that the skin can access whatever we set.

Rob
sorry rob im out of ideas i suck on python to understand a clever way to hook what you need

-----edit-----
thinking of a secondary layout for videoextra on nox 4 what do you think but i need something for the plot cant think what else i can do
http://i.imgur.com/cRXXrKg.png
http://i.imgur.com/tHhMmD5.png
http://i.imgur.com/cg5bQ0D.png
Posted a request for help:

http://forum.xbmc.org/showthread.php?tid=190090

If that doesn't get any joy, then I suppose it is a feature that VideoExtras can just not support.

Rob
(2014-03-23, 10:45)rob_webset Wrote: Posted a request for help:

http://forum.xbmc.org/showthread.php?tid=190090

If that doesn't get any joy, then I suppose it is a feature that VideoExtras can just not support.

Rob

Just an update - this is not possible - updated the wiki.

Edit: Actually - just had an idea - not a very nice solution, but MAY be possible.
(2014-03-24, 15:59)rob_webset Wrote:
(2014-03-23, 10:45)rob_webset Wrote: Posted a request for help:

http://forum.xbmc.org/showthread.php?tid=190090

If that doesn't get any joy, then I suppose it is a feature that VideoExtras can just not support.

Rob

Just an update - this is not possible - updated the wiki.

Edit: Actually - just had an idea - not a very nice solution, but MAY be possible.

Rob i just test you last changes r313
the plot are working perfect

Image

but i notice that the
XBMC.RunScript(script.videoextras,hasExtras,flag,"$INFO[ListItem.FilenameAndPath]") its not longer working it will open the dialogok.xml (No extras Found)
so the <visible> !IsEmpty(Window.Property(flag))</visible> is not longer working

also i notice if you add a png image on your extra directory it will take it as a new video file

thanks rob
(2014-03-25, 03:50)warlion Wrote: Rob i just test you last changes r313
the plot are working perfect

Glad it's working for you. It's very dangerous taking a random repo revision - you never know the state of what I have checked in - the current state is a little hacky!

(2014-03-25, 03:50)warlion Wrote: but i notice that the
XBMC.RunScript(script.videoextras,hasExtras,flag,"$INFO[ListItem.FilenameAndPath]") its not longer working it will open the dialogok.xml (No extras Found)
so the <visible> !IsEmpty(Window.Property(flag))</visible> is not longer working

I am in the process of removing this, as there were lots of people that reported it as not working (At least not the way that it was intended). I have a new plan for providing overlay images for extras existing (early testing seems to show that it might work).

What were you using it to do? - I thought you were one of the people that reported it as not working? So assumed that no-one had calls to it in their skins.

(2014-03-25, 03:50)warlion Wrote: also i notice if you add a png image on your extra directory it will take it as a new video file

Might need to be added to the excluded file list if you don't want it appearing. (In settings)

Rob
(2014-03-25, 08:04)rob_webset Wrote: I am in the process of removing this, as there were lots of people that reported it as not working (At least not the way that it was intended). I have a new plan for providing overlay images for extras existing (early testing seems to show that it might work).

What were you using it to do? - I thought you were one of the people that reported it as not working? So assumed that no-one had calls to it in their skins.

its working fine on dialogvideoinfo.xml using
<onload condition="System.HasAddon(script.videoextras) ">XBMC.RunScript(script.videoextras,hasExtras,flag,"$INFO[ListItem.FilenameAndPath]")</onload>

and the visible for the button
<visible>System.HasAddon(script.videoextras) + !IsEmpty(Window.Property(flag))</visible>

it hide the button if theres not extra on the video , the one that never worked was the one for myvideonav.xml the one you are trying to do right now

with extras
http://i.imgur.com/uOuzFJo.png

without extras
http://i.imgur.com/LjXjYdy.png
(2014-03-25, 08:14)warlion Wrote:
(2014-03-25, 08:04)rob_webset Wrote: I am in the process of removing this, as there were lots of people that reported it as not working (At least not the way that it was intended). I have a new plan for providing overlay images for extras existing (early testing seems to show that it might work).

What were you using it to do? - I thought you were one of the people that reported it as not working? So assumed that no-one had calls to it in their skins.

its working fine on dialogvideoinfo.xml using
<onload condition="System.HasAddon(script.videoextras) ">XBMC.RunScript(script.videoextras,hasExtras,flag,"$INFO[ListItem.FilenameAndPath]")</onload>

and the visible for the button
<visible>System.HasAddon(script.videoextras) + !IsEmpty(Window.Property(flag))</visible>

it hide the button if theres not extra on the video , the one that never worked was the one for myvideonav.xml the one you are trying to do right now

For hiding the Extras button if there are no extras, you should use:

IsEmpty(Window(movieinformation).Property("HideVideoExtrasButton"))

(Section 8.2 in the wiki - will need the onLoad there as well that will set this property)

This will also check the settings for the "force extras button" being set.
using

Code:
<onload condition="System.HasAddon(script.videoextras)">
    XBMC.RunScript(script.videoextras,check,"$INFO[ListItem.FilenameAndPath]")</onload>

and
Code:
IsEmpty(Window(movieinformation).Property("HideVideoExtrasButton"))

dont work at all for me

i been using without fails
!IsEmpty(Window.Property(flag))
(2014-03-25, 08:58)warlion Wrote: using

Code:
<onload condition="System.HasAddon(script.videoextras)">
    XBMC.RunScript(script.videoextras,check,"$INFO[ListItem.FilenameAndPath]")</onload>

and
Code:
IsEmpty(Window(movieinformation).Property("HideVideoExtrasButton"))

dont work at all for me

i been using without fails
!IsEmpty(Window.Property(flag))

Should work, uses a similar mechanism - I've been using it with confluence without a problem, I believe Capfuturo has also veriefied this as working on his system with a few different skins.

Rob
(2014-03-25, 09:14)rob_webset Wrote:
(2014-03-25, 08:58)warlion Wrote: using

Code:
<onload condition="System.HasAddon(script.videoextras)">
    XBMC.RunScript(script.videoextras,check,"$INFO[ListItem.FilenameAndPath]")</onload>

and
Code:
IsEmpty(Window(movieinformation).Property("HideVideoExtrasButton"))

dont work at all for me

i been using without fails
!IsEmpty(Window.Property(flag))

Should work, uses a similar mechanism - I've been using it with confluence without a problem, I believe Capfuturo has also veriefied this as working on his system with a few different skins.

Rob

ok i see the problem actually the extras_database.db was for a older version it was never dump with the updates , i remove all the files from addon_data and it work the HideVideoExtrasButton
(2014-03-25, 09:40)warlion Wrote: ok i see the problem actually the extras_database.db was for a older version it was never dump with the updates , i remove all the files from addon_data and it work the HideVideoExtrasButton

Must have been from an old beta version - as the DB format hasn't changed since it was officially published Big Grin
(2014-03-25, 08:14)warlion Wrote: its working fine on dialogvideoinfo.xml using
<onload condition="System.HasAddon(script.videoextras) ">XBMC.RunScript(script.videoextras,hasExtras,flag,"$INFO[ListItem.FilenameAndPath]")</onload>

and the visible for the button
<visible>System.HasAddon(script.videoextras) + !IsEmpty(Window.Property(flag))</visible>

I did exactly the same in DialogVideoInfo.xml to hide/display the button. But I'll also try this instead:

Code:
IsEmpty(Window(movieinformation).Property("HideVideoExtrasButton"))

Warlion, how do you display the clearlogos? Is that locally stored images using ListItem.Path?
Yes that's correct
$INFO[ListItem.Path,,poster.jpg]
$INFO[ListItem.Path,,extrafanart/]
$INFO[ListItem.Path,,logo.png]


For the blue ray rip I had to add it to the BDMV folder
  • 1
  • 17
  • 18
  • 19(current)
  • 20
  • 21
  • 52

Logout Mark Read Team Forum Stats Members Help
VideoExtras Addon2