• 1
  • 19
  • 20
  • 21(current)
  • 22
  • 23
  • 52
Release VideoExtras Addon
(2014-03-25, 16:50)rob_webset Wrote: I don't think there is anywhere in the ListItem that these can be stored is there?

Most skins use Artwork Downloader to do this using:

Code:
Movies:
   $INFO[ListItem.Art(clearlogo)]
   $INFO[ListItem.Art(clearart)]
   $INFO[ListItem.Art(banner)]
   $INFO[ListItem.Art(landscape)]
   $INFO[ListItem.Art(discart)]

TV shows (at TV show and season level)
   $INFO[ListItem.Art(clearlogo)]
   $INFO[ListItem.Art(clearart)]
   $INFO[ListItem.Art(banner)]
   $INFO[ListItem.Art(landscape)]
   $INFO[ListItem.Art(characterart)]

TV shows (at episode level)
   $INFO[ListItem.Art(tvshow.clearlogo)]
   $INFO[ListItem.Art(tvshow.clearart)]
   $INFO[ListItem.Art(tvshow.banner)]
   $INFO[ListItem.Art(tvshow.landscape)]
   $INFO[ListItem.Art(tvshow.characterart)]
(2014-03-25, 17:34)rob_webset Wrote: Beta: Icon Overlay

Hi All,

I think I now have something working for the icon overlay, not the nicest solution, but it does seem to work. Firstly you will need a copy of the feature for the following revision:

https://code.google.com/p/robwebset/source/detail?r=315

(Note: that will include all the changed files since r307 - the last publish to the official repo)

Details on how to make use of it are now available on the wiki:

http://wiki.xbmc.org/index.php?title=Add...rs_Only.29

Please let me know how you get on.

Rob

It works but actually I had to remove the fallback for me to work



Code:
<control type="image">
    <left>10</left>
    <top>50</top>
    <width>50</width>
    <height>50</height>
    <texture>$VAR[VideoextrasOverlay]</texture>
    <visible>System.HasAddon(script.videoextras)</visible>
</control>

Code:
<variable name="VideoextrasOverlay">
<value condition="Container.Content(Movies)">$INFO[ListItem.DBID,special://profile/addon_data/script.videoextras/movies/,.png]</value>
<value condition="Container.Content(TVShows)">$INFO[ListItem.DBID,special://profile/addon_data/script.videoextras/TVShows/,.png]</value>
<value condition="Container.Content(MusicVideos)">$INFO[ListItem.DBID,special://profile/addon_data/script.videoextras/MusicVideos/,.png]</value>
</variable>


BTW on your code on visible you had a extra ]

Anyone else using this beta having problem with the IsEmpty(Window(movieinformation).Property("HideVideoExtrasButton")) not hiding the button?
Wow! - It worked - that's a start.

The directory names for TVShows and MusicVideos should be in lower case - I guess windows doesn't case - but other OSs might.

I have updated the wiki to remove the ]

I didn't want the overlay image to be user configurable - only skin configurable, so thought it best that the skin designer just added it into their skin so that it matched the rest of the look-and-feel. (With a fallback in VideoExtras if needed).

Very happy that some-one can now provide the extras indicator now! (The most requested feature I think)

Thanks

Rob
(2014-03-25, 15:46)warlion Wrote: Actually no I just test it for bdmv only one ../
It will take the path perfect for regular but not sure for dvdrips I don't had any

You're right. I just messed with it and the variable from earlier works perfectly and takes the images from the base folder.
Some how the HideVideoExtrasButton stop working for me with the beta some one else having this problem?
(2014-03-25, 19:36)warlion Wrote: Some how the HideVideoExtrasButton stop working for me with the beta some one else having this problem?

Any errors in the log?
(2014-03-25, 20:51)rob_webset Wrote:
(2014-03-25, 19:36)warlion Wrote: Some how the HideVideoExtrasButton stop working for me with the beta some one else having this problem?

Any errors in the log?

nop not error at all

with extras IMAGE
http://xbmclogs.com/show.php?id=158624

without extras IMAGE
http://xbmclogs.com/show.php?id=158623

both cases
20:17:36 T:9808 DEBUG: script.videoextras: VideoExtras: Force VideoExtras Button Enabled
Silly question, but in settings to you have "Force Extras Button Display" enabled in your settings:

http://wiki.xbmc.org/index.php?title=Add...s#Advanced
yes i do, damn how can i miss that thanks Rob
(2014-03-25, 17:41)Gade Wrote: Most skins use Artwork Downloader to do this using:

Code:
Movies:
   $INFO[ListItem.Art(clearlogo)]
   $INFO[ListItem.Art(clearart)]
   $INFO[ListItem.Art(banner)]
   $INFO[ListItem.Art(landscape)]
   $INFO[ListItem.Art(discart)]

TV shows (at TV show and season level)
   $INFO[ListItem.Art(clearlogo)]
   $INFO[ListItem.Art(clearart)]
   $INFO[ListItem.Art(banner)]
   $INFO[ListItem.Art(landscape)]
   $INFO[ListItem.Art(characterart)]

TV shows (at episode level)
   $INFO[ListItem.Art(tvshow.clearlogo)]
   $INFO[ListItem.Art(tvshow.clearart)]
   $INFO[ListItem.Art(tvshow.banner)]
   $INFO[ListItem.Art(tvshow.landscape)]
   $INFO[ListItem.Art(tvshow.characterart)]

OK, I think I'll leave it to the Artwork Downloader for setting these if that is the standard approach.

(2014-03-26, 08:08)warlion Wrote: yes i do, damn how can i miss that thanks Rob

Glad you got it working.

I think that's everything isn't it? - Maybe time to do another publish? - I think that is all the outstanding issues/requests complete for VideoExtras now

Rob
it seems that way , pretty much complete ,

btw do you think will be possible to read the video codecs?
ListItem.AudioCodec
ListItem.VideoAspect
ListItem.VideoResolution
ListItem.VideoCodec
ListItem.AudioChannels

thanks rob
(2014-03-26, 10:40)warlion Wrote: btw do you think will be possible to read the video codecs?
ListItem.AudioCodec
ListItem.VideoAspect
ListItem.VideoResolution
ListItem.VideoCodec
ListItem.AudioChannels

I don't believe these things are available via the python interface - it may be possible to get the info from the player - but that would require the script to play every file to get the info.

Rob
ohh got it thanks Rob
FYI: Version 1.0.6 of VideoExtras that contains the overlay support has now been published.

I believe that is all open requests complete again!

Rob
Hi Rob.

Great news and thanks for the hard work.

The next update of my Rapier mod will support all the new features.

Christian
  • 1
  • 19
  • 20
  • 21(current)
  • 22
  • 23
  • 52

Logout Mark Read Team Forum Stats Members Help
VideoExtras Addon2