Posts: 17,409
Joined: Aug 2007
Reputation:
586
Hitcher
Team-Kodi Member
Posts: 17,409
In that case just edit the home.xml of whatever skin you're using.
Posts: 29
Joined: Feb 2012
Reputation:
0
torch1
Junior Member
Posts: 29
Ok got it working on my ATV2, looks great by the way! But does anyone else have about a 3 or 4 second black delay until it plays? Or is that just me?
Posts: 13,686
Joined: Mar 2010
Reputation:
507
PatK
Team-Kodi Member
Posts: 13,686
Just to be clear and simple.... to get this to work on Eden RC2
copy your video.avi (or whatever extension) to a known local place... I used a folder called Splash in the userdata directory and called the file Splash_video.mp4
For Transparency!
go to \XBMC\addons\skin.transparency\720p
and using an xml editor (such as notepad++ with language xml ) on the file Home.xml add this line close to the top of the file, edit the path if needed.
onload condition="Window.Previous(startup)">XBMC.PlayMedia(special://userdata/Splash/Splash_video.mp4)</onload>
Throw this line in your advancedsettings.xml to kill the current splash screen.
<splash>false</splash>
It worked as advertised, but I noticed a slight glitch/shudder in the video, so I ended up copying the video to my ram drive, and doing a substitution for the splash folder... nice and smooth now.
I hope we see more videos of this calibre to choose from.
Posts: 63
Joined: Feb 2012
Reputation:
0
I was thinking about this some more and I wonder if something like this wouldn't be a fool proof way to execute this. This should also get rid of the xbmc loading box that pops up for like a millisecond showing that it is rendering the movie from home.xml.
Would it work to set up a batch file to load and play the intro movie, then a wait command for the duration of the movie, then a command to load xbmc? Of course you will still want to disable the splash screen in advancedsettings.xml so that you load directly into Home screen when xbmc loads.
I'm currently set up to auto boot into XBMC as a shell but I don't believe that's even necessary for me as I'm running on an SSD so boot times are fine without doing this.
Would someone with the knowledge on batch files mind tossing together the lines that would be necessary to achieve this?
Somethings like -
start intro movie
command for wait (8 seconds) or whatever the into movie duration is
start xbmc
Posts: 46
Joined: Jan 2012
Reputation:
0
cank
Junior Member
Posts: 46
I want to get this working but I can't seem to figure it out. Does the advanced setting xml file need to go in the installed path for xbmc or the roaming userdata file?
Also, in the path for the movie to play, what is the "(special://" referring too? I looked in the debug file and it looks like a folder location is being assigned to that but I'm a noob!!!
BTW I am using the Confluence Skin
Posts: 633
Joined: Aug 2008
Reputation:
21
Thanks Ronie! I didn't know you could put it there. For me at least, that makes a huge difference in the flow of everything. Seeing how the video loads immediately, there is no black screen delay where it just feels like the splash screen is missing. It feels much more fluid as opposed to forced.
The XBMC team, plug-in devs, skinners, etc. do this for us for FREE in their spare time because they want to. Think about that for a second before you start bitching...
Posts: 63
Joined: Feb 2012
Reputation:
0
Thanks Ronie I will give that shot.
In regards to the special://skin/ I noticed that I had to change special to the actual full directory of where I had my movie located in order to get it to play.
Posts: 63
Joined: Feb 2012
Reputation:
0
Adding that line to startup.xml instead of home.xml the movie doesn't play at all.
Are we talking about a startup.xml located in another directory? Or are we talking about the startup.xml located in your skin 720p folder?