How to boot XBMC directly into Movies or TV Shows or an Addon
#1
Hi,

Someone asked this question on the XBMC section of Reddit so I thought I'd post my reply here too which consolidates a few threads from the forums and will hopefully aid in further searches for the same answer.

How to Boot XBMC into an Addon (Advanced Launcher in this case)

This thread details how to autostart an addon upon XBMC startup

Essentially you need to put this Autoexec.py file in your userdata folder which on Windows can be found at:

%APPDATA%\XBMC\userdata\

The Autoexec.py simply contains 2 lines of code:

Code:
import xbmc
xbmc.executebuiltin("RunAddon(plugin.program.advanced.launcher)")

XBMC then boots directly to the addon listed in Autoexec.py. Edit the Autoexec.py to change the addon you wish to boot into. Open the addon.xml of your chosen addon to find the addon ID you need to enter. In this case it is plugin.program.advanced.launcher

How to Boot XBMC into the Programs Section

This thread shows how to make XBMC boot into "Programs" or "Movies" or "TV Shows" or any other XBMC window you like. Although you will need to edit Home.xml to achieve this. You may need the following WIKI pages to see what the different XBMC window ID's are:

http://wiki.xbmc.org/?title=Window_IDs
http://wiki.xbmc.org/index.php?title=Ope...nd_Dialogs

Here is a copy of my confluence Home.xml which I have edited to boot XBMC directly into "Programs"

Just replace your confluence Home.xml which (for confluence at least) is located at:

C:\Program Files (x86)\XBMC\addons\skin.confluence\720p

If you dont use confluence then add the following line:

Code:
<onload condition="Window.Previous(startup)">ActivateWindow(Programs,return)</onload>

immediately after

Code:
<defaultcontrol always="true">9000</defaultcontrol>

which is at the start of the xml, such that it appears like so in your skins Home.xml:

Code:
<defaultcontrol always="true">9000</defaultcontrol>
<onload condition="Window.Previous(startup)">ActivateWindow(Programs,return)</onload>

If you dont use confluence you can find your skin files and Home.xml in:

%APPDATA%\XBMC\addons\Your Skin Folder\720p\Home.xml


How to Boot XBMC into the Movies Section

This confluence Home.xml will boot directly into Movies

Code to insert into Home.xml for skins other than confluence:

Code:
<onload condition="Window.Previous(startup)">ActivateWindow(Videos,MovieTitles,return)</onload>

How to Boot XBMC into the TV Shows Section

This confluence Home.xml will boot directly into TV Shows

Code to insert into Home.xml for skins other than confluence:

Code:
<onload condition="Window.Previous(startup)">ActivateWindow(Videos,TvShowTitles,return)</onload>

How to Boot XBMC into a Smart Playlist

Edit Audiobooks.xsp in the code below to the name of your Smart Playlist and also change the path if it is not a music playlist then insert this code into your Home.xml as described above.

Code:
<onload condition="Window.Previous(startup)">ActivateWindow(10025,special://profile/playlists/music/Audiobooks.xsp,return)</onload>
Reply
#2
This is almost what I'm looking for. I want to map a button on my remote to perform these separate actions, is that possible? Ex. I am in the middle of WMC, and when I press the Movies/TV/Green button it will open accordingly in XBMC to however I programmed these.
Reply
#3
(2014-04-19, 17:05)Shaolin Wrote: How to Boot XBMC into the Movies Section

This confluence Home.xml will boot directly into Movies

Code to insert into Home.xml for skins other than confluence:

Code:
<onload condition="Window.Previous(startup)">ActivateWindow(Videos,MovieTitles,return)</onload>

Hi Shaolin,

First of all I would like to thank you for this post because this was exactly what I was looking. I inserted the code in my Home.xml file (I use the MQ5 skin) and now Kodi boots directly into my MOVIES. However, when booting up the MAIN MENU is seen for a few miliseconds or so. Is there a way to solve this?
Don't dream your life, live your dream
Reply
#4
(2014-04-19, 17:05)Shaolin Wrote: Hi,

Someone asked this question on the XBMC section of Reddit so I thought I'd post my reply here too which consolidates a few threads from the forums and will hopefully aid in further searches for the same answer.

How to Boot XBMC into an Addon (Advanced Launcher in this case)

This thread details how to autostart an addon upon XBMC startup

Essentially you need to put this Autoexec.py file in your userdata folder which on Windows can be found at:

%APPDATA%\XBMC\userdata\

The Autoexec.py simply contains 2 lines of code:

Code:
import xbmc
xbmc.executebuiltin("RunAddon(plugin.program.advanced.launcher)")

XBMC then boots directly to the addon listed in Autoexec.py. Edit the Autoexec.py to change the addon you wish to boot into. Open the addon.xml of your chosen addon to find the addon ID you need to enter. In this case it is plugin.program.advanced.launcher

How to Boot XBMC into the Programs Section

This thread shows how to make XBMC boot into "Programs" or "Movies" or "TV Shows" or any other XBMC window you like. Although you will need to edit Home.xml to achieve this. You may need the following WIKI pages to see what the different XBMC window ID's are:

http://wiki.xbmc.org/?title=Window_IDs
http://wiki.xbmc.org/index.php?title=Ope...nd_Dialogs

Here is a copy of my confluence Home.xml which I have edited to boot XBMC directly into "Programs"

Just replace your confluence Home.xml which (for confluence at least) is located at:

C:\Program Files (x86)\XBMC\addons\skin.confluence\720p

If you dont use confluence then add the following line:

Code:
<onload condition="Window.Previous(startup)">ActivateWindow(Programs,return)</onload>

immediately after

Code:
<defaultcontrol always="true">9000</defaultcontrol>

which is at the start of the xml, such that it appears like so in your skins Home.xml:

Code:
<defaultcontrol always="true">9000</defaultcontrol>
<onload condition="Window.Previous(startup)">ActivateWindow(Programs,return)</onload>

If you dont use confluence you can find your skin files and Home.xml in:

%APPDATA%\XBMC\addons\Your Skin Folder\720p\Home.xml


How to Boot XBMC into the Movies Section

This confluence Home.xml will boot directly into Movies

Code to insert into Home.xml for skins other than confluence:

Code:
<onload condition="Window.Previous(startup)">ActivateWindow(Videos,MovieTitles,return)</onload>

How to Boot XBMC into the TV Shows Section

This confluence Home.xml will boot directly into TV Shows

Code to insert into Home.xml for skins other than confluence:

Code:
<onload condition="Window.Previous(startup)">ActivateWindow(Videos,TvShowTitles,return)</onload>

How to Boot XBMC into a Smart Playlist

Edit Audiobooks.xsp in the code below to the name of your Smart Playlist and also change the path if it is not a music playlist then insert this code into your Home.xml as described above.

Code:
<onload condition="Window.Previous(startup)">ActivateWindow(10025,special://profile/playlists/music/Audiobooks.xsp,return)</onload>

I'll try it
Reply
#5
Anyone achieved to install advanced launcher on kodi 15 ? I tried to install zip file downloaded from github but I received an incorrect structure extension.

Thank you !
Reply
#6
Hi, I'm starting here today, though I know Kodi since it was XBMC.
This thread fits my needs, I intend to boot Kodi under Movies, more specifically under this screen:

[Image: IMG-20160212-WA0001_zpsfi6wb0f3.jpg]

Using the Home.xml provided above, it boots up under movies, but I have to tap Recently added to open up the screen above.

Thanks for reading!
Reply
#7
Hi,

This works great in Windows, but how is it done in Ubuntu?

I tried the autoexec.py with the following, but it doesn't work:

import xbmc
xbmc.executebuiltin('XBMC.ActivateWindow(myvideolibrary,movietitles)')
Reply
#8
Thanks for the share.
Reply
#9
Thanks for share very helpful thread
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
How to boot XBMC directly into Movies or TV Shows or an Addon00