Posts: 22
Joined: Jan 2012
Reputation:
0
2013-07-26, 00:40
(This post was last modified: 2013-07-26, 01:48 by seftongillis.)
Hi,
Is it possible to create a script for XBMC to display a custom window that shows an image, without having to create a folder and an xml file? (In other words, without making it a full fledged addon?) I tried using controls but I couldn't make it work. My idea was to use XBMC.RunScript() in keyboard.xml to run this script.
Thanks!
Posts: 6,339
Joined: Jul 2010
Reputation:
116
artrafael
Team-XBMC Forum Moderator
Posts: 6,339
You mean display a static image (like a screensaver without the motion)?
Posts: 22
Joined: Jan 2012
Reputation:
0
That's right, one specific, static image in a window similar to a dialog.ok.
Posts: 22
Joined: Jan 2012
Reputation:
0
Hmm, that does work nicely, except for the fact that triggering that slideshow stops playback of everything else. I'd like to be able to display an image while any media file is being played and close said image without having to stop playback (or at least, allowing it to resume exactly where it left off, position and playlist intact).
Well, creating a folder seems a bit too much for something that I expect (or expected) to be simple. The contents of the addon.xml file confuse me, and while I could start analyzing some plugins to understand how they work, I'm a bit discouraged by the fact that they are probably so complex in comparison with what I'm trying to achieve.
Posts: 6,339
Joined: Jul 2010
Reputation:
116
artrafael
Team-XBMC Forum Moderator
Posts: 6,339
If you're playing music, you can escape back the home page and then launch your slideshow. Your music will continue to play in the background. It would help if you provide details about the exact scenario you're trying to accomplish.
Posts: 22
Joined: Jan 2012
Reputation:
0
I'm trying to display an image that helps the viewer to remember what certain buttons on a remote control do. I remapped these buttons to do things they weren't originally intended to do, so the symbols associated with them are no longer helpful. I had to do this because I ran out of buttons.
Posts: 3,544
Joined: Mar 2010
Reputation:
119
2013-07-26, 02:56
(This post was last modified: 2013-07-26, 02:57 by teeedubb.)
Stick a printout to the back of the remote listing what button does what action?
Posts: 22
Joined: Jan 2012
Reputation:
0
That's as practical as it gets, but I was hoping to be able to display it onscreen.
Posts: 3,544
Joined: Mar 2010
Reputation:
119
You don't mention which platform youre using, but maybe an external image viewer program that can display over xbmc?
Posts: 22
Joined: Jan 2012
Reputation:
0
Hmm... that'll probably do. Thanks!
Windows 7, by the way.
Posts: 6,339
Joined: Jul 2010
Reputation:
116
artrafael
Team-XBMC Forum Moderator
Posts: 6,339
I printed out new button labels using self-adhesive label stock and cut them out and placed them over the imprinted labels on my remote. This way, they're right where they need to be seen by anyone who picks up the remote. Not pretty, but effective.
Posts: 22
Joined: Jan 2012
Reputation:
0
It's effective alright, and while it may not be pretty, at least it's better than using tape. Thank you.