CCTV screensaver need help with refresh

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
nats0128 Offline
Junior Member
Posts: 6
Joined: Aug 2013
Reputation: 0
Post: #1
I am creating a screensaver that will view show what my CCTV cameras i have started on the code from https://github.com/dersphere/script.screensaver.test and only changed the background to my URL link that works fine with getting the footage that is currently showing but i need it to refresh every half a second.

How would i put that in the script and where would i put it?

Thank you
find quote
el_cabong Offline
Senior Member
Posts: 192
Joined: May 2010
Reputation: 0
Post: #2
can you show the code you used to make the webpage the background.. im trying to do something similar. thanks.
find quote
nats0128 Offline
Junior Member
Posts: 6
Joined: Aug 2013
Reputation: 0
Post: #3
Hi, el_cabong

I stop this project ages ago, as i could not find away to stop xbmc from caching the original pictures and looping through the cache instead of updating to new pictures...

I am using a program called ispy that would create a jpg of the current camera and then update the website every X seconds...

If i remember correctly i changed the file "resources/skins/default/720p/script-Python Screensaver TEST-main.xml" so it read

Code:
<window>
    <controls>
        <control type="image">
            <description>Black Background</description>
            <posx>0</posx>
            <posy>0</posy>
            <width>1280</width>
            <height>720</height>
            <texture>{MY URL}</texture>
        </control>............

I ended up using my xbmc setup as a server for the cctv so any recordings and pictures save to the xbmc set up, i then set up just a normal slideshow screensaver and choose the image directory where i store my cctv images...
find quote