Associate extras and/or alternative versions to a movie/TV show title

  Thread Rating:
  • 6 Votes - 4.33 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
weirdinin Offline
Junior Member
Posts: 3
Joined: May 2013
Reputation: 0
Post: #91
Hi. I need some advice. I did as README.md says but there were two problems. The extra button appears to be in the left corner ( see the picture below) and I can't open extras with my remote control since I can't get in the upper corner with my remote. However, when I use a mouse as a remote I can open extras and see them but that's not how I want to control xbmc. Any ideas how to fix that?

xbmc is frodo 2.0 and my skin is aen nox 4.0. All extras are named as "-extras-Display name here" and they are in the same folder as the movie they are associated with. i.e "flightplan-extras-visual effects". I have tested extras with only one movie so far. Ask if you need more information from my setup.

[Image: screenshot000.jpg]
find quote
The Mysterion Offline
Junior Member
Posts: 2
Joined: Apr 2013
Reputation: 0
Post: #92
(2013-05-08 02:03)weirdinin Wrote:  Hi. I need some advice. I did as README.md says but there were two problems. The extra button appears to be in the left corner ( see the picture below) and I can't open extras with my remote control since I can't get in the upper corner with my remote. However, when I use a mouse as a remote I can open extras and see them but that's not how I want to control xbmc. Any ideas how to fix that?

xbmc is frodo 2.0 and my skin is aen nox 4.0. All extras are named as "-extras-Display name here" and they are in the same folder as the movie they are associated with. i.e "flightplan-extras-visual effects". I have tested extras with only one movie so far. Ask if you need more information from my setup.

[Image: screenshot000.jpg]

The position of the Extras button seems to be affected by where you put it in the text file you edited. Read my experiences in the post on the previous page (9) for info on lines in the code. It seems to be different for different skins. If you put the code in the right place, the button will move.
find quote
weirdinin Offline
Junior Member
Posts: 3
Joined: May 2013
Reputation: 0
Post: #93
Thanks. Now it's working like a charm! I changed the place of the code to be equal of yours. Hmm.. Do you have a clue if it's possible to change the order of the buttons in the info page? Now the extra button is in the right side after fanart and extrathumb buttons but I would like to have it right after play button so that extra menu would be more visible.

EDIT: I got the order of buttons working. Just changed the placement of the lines in the code.

And an other thing: i didn't get the theme song feature working. I put a theme.mp3 in the movie folder and put the code for theme right after extra button code like this:

<control type="button" id="24">
<label>$LOCALIZE[31468]</label>
<include>DialogVideoInfoButton</include>
<onclick>RunScript(script.artwork.downloader,mode=custom,mediatype=movie,dbid=$INFO[ListItem.DBID],extrathumbs)</onclick>
<visible>!Skin.HasSetting(kioskmode)</visible>
<visible>Container.Content(movies) + system.hasaddon(script.artwork.downloader)+ !substring(Container.FolderPath,plugin://)</visible>
</control>
<control type="button" id="100">
<description>Extras</description>
<include>DialogVideoInfoButton</include>
<label>Extras</label>
<onclick>XBMC.RunScript(script.dvdextras,$INFO[ListItem.FilenameAndPath])</onclick>
<visible>[Container.Content(movies) | Container.Content(episodes)] + System.HasAddon(script.dvdextras)</visible>
</control>

<onload condition="System.HasAddon(script.dvdextras) + Container.Content(movies)">XBMC.RunScript(script.dvdextras,$INFO[ListItem.FilenameAndPath],start_theme)</onload>
<onunload condition="System.HasAddon(script.dvdextras) + Container.Content(movies)">XBMC.RunScript(script.dvdextras,stop_theme)</onunload>

</control>
<control type="group">
<visible>ControlGroup(5000).HasFocus(22) + Container.Content(movies)</visible>
<posx>825</posx>

Could the problem be in the placement of the code again?

EDIT2: Got the theme problem also working. Inserted the theme code right after the first <window> tag and problem solved!

EDIT3: okay guys, there's still issues. Please tell me where exactly did you put the theme song code. I have it right after the first <window> tag like this:

<?xml version="1.0" encoding="utf-8"?>
<window>

<onload condition="System.HasAddon(script.dvdextras) + Container.Content(movies)">XBMC.RunScript(script.dvdextras,$INFO[ListItem.FilenameAndPath],start_theme)</onload>
<onunload condition="System.HasAddon(script.dvdextras) + Container.Content(movies)">XBMC.RunScript(script.dvdextras,stop_theme)</onunload>

I noticed that if I have a theme.mp3 in the movie folder, the extras won't play. xbmc just goes back to movie list. If I delete theme.mp3 from the movie folder, extras work.

Btw, Brentosmith, great work! Thank you very much!
(This post was last modified: 2013-05-08 13:20 by weirdinin.)
find quote
Post Reply