hack: Movies and TV Shows that dont point to library

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
gnarfel Offline
Junior Member
Posts: 3
Joined: Feb 2009
Reputation: 0
Post: #1
in xTV\PAL\Home.xml

Code:
<item>
<icon>icon-video.png</icon>
<thumb>icon-video-blur1.png</thumb>
<label>31001</label>
<onclick>ActivateWindow(MyVideoFiles,Movies)</onclick>
</item>
<item>
<icon>icon-tv.png</icon>
<thumb>icon-tv-blur1.png</thumb>
<label>31010</label>
<onclick>ActivateWindow(MyVideoFiles,TV)</onclick>
</item>
The second parameter of ActivateWindow can be a source name (I created a multipath source called TV and Movies), and now from the home menu it will jump right into my TV show/Movie multipath source in file view.

You may want to comment out the <item> definitions for the real TV Shows and Movies (there are two Movies definitions, one for 'Library' view, and one that just takes you to the video sources list.)
find quote
xfiring Offline
Junior Member
Posts: 38
Joined: Dec 2008
Reputation: 0
Post: #2
Can you elaborate on how you got TV to not link to Library mode? I can't seem to get it to work by creating a share called TV and modifying the second parameter.

Thanks
find quote
gnarfel Offline
Junior Member
Posts: 3
Joined: Feb 2009
Reputation: 0
Post: #3
The share isn't called TV, the multipath source is (can be a regular single path source too). When you're adding a new source, set the name of the overall source (whether one source or many) to TV (or whatever you set for the second parameter of ActivateWindow)
find quote
xfiring Offline
Junior Member
Posts: 38
Joined: Dec 2008
Reputation: 0
Post: #4
Where did you create the source? I created it under movies, I just did an Add Source and browsed out to my NAS share called TV. It works fine browsing in file mode.

Then I went into the Home.XML and changed it to point to TV.

I am obviosly doing something wrong. If what I created is not a multipath source, let me know what you are talking about.
find quote
CHI3f Offline
Team-XBMC Skinner
Posts: 216
Joined: Jan 2007
Reputation: 0
Location: New Jersey, USA
Post: #5
Are you sure you are using <onclick>ActivateWindow(MyVideoFiles,TV)</onclick> instead of <onclick>ActivateWindow(MyVideoLibrary,TV)</onclick>?
find quote
xfiring Offline
Junior Member
Posts: 38
Joined: Dec 2008
Reputation: 0
Post: #6
Yes, my mistake. Thank you.

Now the question is both on Movies & TV, it works perfectly when selecting from the home screen, but when I navigate back there is an additional screen on each one. On Movies I see the 'recently added and movie plugins', on TV I see the movie shares as I would in file mode.

Is there anyway to remove those screens when going backwards, so basically it would go directly to home screen from where I enter the screen from the home menu? Does that make sense?
(This post was last modified: 2009-03-31 14:27 by xfiring.)
find quote
CHI3f Offline
Team-XBMC Skinner
Posts: 216
Joined: Jan 2007
Reputation: 0
Location: New Jersey, USA
Post: #7
If you are using the XBOX then use the back button instead of the B button. If you are using a computer use Esc instead of Backspace.
find quote
gnarfel Offline
Junior Member
Posts: 3
Joined: Feb 2009
Reputation: 0
Post: #8
xfiring Wrote:Is there anyway to remove those screens when going backwards, so basically it would go directly to home screen from where I enter the screen from the home menu? Does that make sense?

I've found it handy to have it, so I haven't really looked for a way to disable it. I use it to access 'hidden' sources that I otherwise wouldn't want available through the UI, which I use for things like YouTube .flvs.

My roommate understood it better when I explained that one button would reliably take him back to the main menu from almost everywhere in the UI, while the other one was to 'go up a folder' per se.
find quote