Little bit of dev help
#1
I'm trying to code an add-on that will output the aspect ratio of a video over udp as soon as the user starts a video, possibly with a slight delay before the video starts. Can someone point me in the right direction please? It will be talking to an ardunio from there.

Thanks
Bronston
Reply
#2
I guess it doesn't have to be UDP, it could output just about any way and I can take it from there.
Reply
#3
Download a similar addon to get started - basically you need a listener that listens for play events, grab the appropriate info you need (e.g. via xbmc's json interface) - then send it out to your arduino however you like.

This is a relatively simply service addon that should prove a decent template:
http://wiki.xbmc.org/index.php?title=Add...e_Jumpback
Addons I wrote &/or maintain:
OzWeather (Australian BOM weather) | Check Previous Episode | Playback Resumer | Unpause Jumpback | XSqueezeDisplay | (Legacy - XSqueeze & XZen)
Sorry, no help w/out a *full debug log*.
Reply
#4
Excellent, thank you very much for the help. I'll post back on here if I have trouble.

Bronston
Reply

Logout Mark Read Team Forum Stats Members Help
Little bit of dev help0