Simple Show Add-on
#1
Howdy KODI community! Thanks for all your great work - I use OSMC on RPi-2 and I am always amazed at how well everything works! Smile

I was wanting to make the lights under my kitchen cabinet flicker and flash in sync with the lights in the movie Harry Potter and the Prisoner of Azkaban when Harry gets mad and "blows up" is Aunt... (the lights will be controlled by an arduino connected to a rapsberry pi on same LAN as the KODI/OSMC RPi-2)

In searching, I could not find something that might do this... please let me know if I missed some thing. I am new to KODI Add-on development, but thanks to all of your great work, it looks quite feasible.


Goal: Create a general purpose KODI Python Add-on which can be used to trigger show effects (lights, etc. via urls) synchronized with video (or audio?) playback.

When play is started (Player.onPlayBackStarted()) SimpleShow will check for a file of same name as playing file with a different extension for SimpleShow (.ssxml ?). The (XML?) file will be loaded which will contain a list of time stamps with urls to issue.

SimpleShow will need to monitor for stop, pause, speed change, seeking, etc.

I have just started: https://github.com/kasmok/SimpleShow

Thanks, Kyle
Reply
#2
Interesting idea... Thanks for posting.

Sent from my SM-G935T
Image Lunatixz - Kodi / Beta repository
Image PseudoTV - Forum | Website | Youtube | Help?
Reply
#3
Nice one. I am not sure if you can achieve the same goal using boblight by setting up the boblight server on the main raspberry pi HTPC and having another rpi (connected to arduino) acting as a boblight client.
If you decide to create your own addon you can probably have a look at RenderCapture (http://mirrors.kodi.tv/docs/python-docs/...derCapture) instead of creating a database of timestamps to each video file. With RenderCapture you could probably capture frames throughout the video playback and detect major changes in brightness (see http://stackoverflow.com/a/3498247 for example) triggering your "light on event" when a given value is achieved.

Thanks for sharing and good luck with your project
Reply

Logout Mark Read Team Forum Stats Members Help
Simple Show Add-on0