Posts: 178
Joined: Jun 2012
Reputation:
8
this is how originally implement this and I could not get it to play more than one video. In the XBMC log it shows that my script is running for over 5 seconds and kills it. I am not sure but t appears that XBMC is detecting that a video is running and the screen saver should not be and kills my screen saver.
I would be happy to implement as a standard screensaver is someone has any ideas how to get around this issue.
Posts: 3,909
Joined: Dec 2004
Reputation:
20
Nuka1195
Skilled Python Coder
Posts: 3,909
ah, i did only test with one video.
plus to be perfect XBMC would need to support looping videos.
Posts: 178
Joined: Jun 2012
Reputation:
8
The reason I did not add in looping was to save bandwidth for those who don't have trailers downloaded. I can change the options so that if the user enters 0 for the number of trailers it will play continuously.
I have this addon as a manually running script as well. I have been testing creating a service that monitors when the screensaver is activated and starts my addon which will cancel the screensaver when the first video starts playing. Currently I just using the black screensaver, but I can create a simple screensaver the is basically a shell and would notify the service to launch the addon. I could bundle them all up so that the service, screensaver and script would all install at once.
The effect for the end user would be a seamless experience of a screensaver. The user could then launch the trailers on demand should they want to.