Posts: 979
Joined: Sep 2013
(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
Posts: 979
Joined: Sep 2013
2014-03-23, 10:45
(This post was last modified: 2014-03-23, 10:49 by robwebset.)
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
Posts: 979
Joined: Sep 2013
2014-03-24, 15:59
(This post was last modified: 2014-03-24, 16:49 by robwebset.)
(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.
Posts: 979
Joined: Sep 2013
(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
Posts: 979
Joined: Sep 2013
(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.
Posts: 979
Joined: Sep 2013
(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
Posts: 979
Joined: Sep 2013
(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
Posts: 1,216
Joined: Aug 2006
Reputation:
37
2014-03-25, 12:49
(This post was last modified: 2014-03-25, 15:11 by warlion.)
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