Posts: 5
Joined: Jul 2011
Reputation:
0
Hi all
I know this thread is kind of old by now, but in case anyone still needs it, I thought I would do a writeup of how I made an image/video slideshow.
This does not require you to compile XBMC yourself. It does, however, require you to run a Pre-11.0 build.
Basically, what my slideshow does, is this:
Starts a slideshow of images AND videos at the press of a button, from XBMC home screen.
Pretty simple, huh!? It took me a long time to figure everything out, so hope someone else can use the info. I can confirm that it works on both Mac and PC. I am running it on a 2009 MacBook Pro 13" and an Asrock ION330 PC - It runs best on the Mac.
I am using the following XBMC versions:
PC: XBMC PRE-11.0 Git:20110719-1c250ec (compiled : Jul 20 2011)
Mac: XBMC PRE-11.0 Git:20110527-a48dbf2 (compiled : May 28 2011)
You need to edit the following two files, to be able to get the slideshow to work:
advancedsettings.xml
keyboard.xml
It is important that you use the files in your UserData folder, and not the XBMC core folder. Find the UserData folder here:
Mac: /Users/yourusername/Library/Application Support/XBMC/userdata
PC: C:\Users\yourusername\AppData\Roaming\XBMC\userdata (this will be a hidden folder by default on your PC-system)
To make it work, you need to do a couple of things: make videofiles appear in your picture directory, add videofiles to the list of picture extensions and make a key on your computer start the slideshow from the home screen.
1. Make videofiles appear in your picture directory (Confluence skin): Go to System - Settings - Pictures and enable "show video files in lists" (it might be called something slightly different).
2. Now to add video files to the list of picture extensions, open your advancedsettings.xml and add the following entry:
<pictureextensions>
<add>.mov|.mpg</add>
</pictureextensions>
You can keep adding file formats to this list. If you do not have an advancedsettings.xml in your userdata folder, you need to create a text file and add the following, then save as an xml file:
<advancedsettings>
<pictureextensions>
<add>.mpg|.mov</add>
</pictureextensions>
</advancedsettings>
3. Start the slideshow at the click of a button: open keyboard.xml (find it inside the folder named keymaps folder located in the userdata folder) and add the following entry:
<Home>
<keyboard>
<i>info</i>
<end>XBMC.ShutDown()</end>
<k>XBMC.SlideShow(C:\Users\yourusername\Desktop\slideshow)</k>
</keyboard>
</Home>
This will launch a slideshow in the chosen directory at the press of the button 'k'.
I hope this will help some of you out there until XBMC 11.0 comes out.
Posts: 5
Joined: Apr 2011
Reputation:
0
For the Apple TV2 has the capability to show pictures and play videos in slideshow been fixed in the nightly build or do you need to patch the advancedsettings.xml file as mentioned previously. Or is there a better way?
Thanks in advance.
Posts: 5
Joined: Apr 2011
Reputation:
0
Please excuse me if this isn’t the proper way to ask this question as I’m a newbie XBMC.
I am also trying to show pictures and videos from the same folder.
Will your patch you posted work on the Apple TV 2? If so are all the files and folder locations the same. And finally do I need to convert my videos to a particular format to view? (.mov or .mpg)
Thanks in advance for all you help.
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
how about you guys read some dates? ;P
this was added to git back in january 2011. there isn't a single build for atv2 without the functionality.
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
have at it ;P
ps; remember, you have to flip the nob in picture settings.
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
to me it sounds like a combination of
1) running dharma (no vids in slideshow support)
2) too slow hw combined with a non-hw acceled codec.