I was looking through the wiki and also through the forums, but i cannot find any real information on Service files. This page ([url=http://wiki.micasaverde.com/index.php/Luup_Plugins_ByHand]http://wiki.micasaverde.com/index.php/Luup_Plugins_ByHand[/url] has great detail on the implementation file and i was wondering if anyone had any information on the service files? I searched the forum, but the closest thing was this thread [url=http://forum.micasaverde.com/index.php/topic,12531.msg158392.html#msg158392]http://forum.micasaverde.com/index.php/topic,12531.msg158392.html#msg158392[/url] that describes one of the tags used. I know documentation is lacking a bit, but it seems that this should be a vital piece for developers.
Did you see this?
http://wiki.micasaverde.com/index.php/Luup_UPnP_Variables_and_Actions
…and in general, this is a good area to look:
http://wiki.micasaverde.com/index.php/Category:Development
HI akboor,
yes, i did see that, but i guess what i was looking for was more of how a custom file would be implemented and how the rest of my code integrates with it.
It’s generally a good idea to reuse existing services as much as possible, since they will be recognised by other controllers and apps. For random things I use Generic service files. For quite a lot of things you don’t need service files at all, just create the device variable. It’s really a UPnP thing, which is, on the whole, barely worth bothering about.
Thanks akbooer, i was stuck thinking that i needed to implement a service file and could not wrap my brain around how to do that for my plugin. i guess that if nothing else is going to be interfacing with my plugin, i can just leave that file completely out.