Hello guys,
I would like to convert XBMC video plugin to Plex 9. Is it better to start from scratch, or is there some easy way to convert it?
+1 for that
You’re probably better off starting from scratch. The plugin framework is substantially different from what XBMC uses. There’s now a great Plugin Development Walkthrough (thanks to IanB!) to help you get started and if you run into troubles just ask for help.
What are the differences?
There are definitely some great XBMC plugins out there that I would like to see on plex, but I think it would be pretty envolved to rebuild them from scratch.
The differences are fairly comprehensive. XBMC plug-ins are for the desktop client, Plex plug-ins are for the media server (and can be used with any Plex client). Totally different applications, and therefore a totally different development platform
If you enforce a MVC pattern in your code, porting a XBMC plugin to Plex takes less than an hour. And that is if you have no idea how the Plex API looks like. xbmcplugin and Plex' API are quite different, but do more or less the same. One returns listitems with URLs, the other one returns Objects. The biggest catch is that Plex uses some kind of Python subset (i.e. you can't use += and have to change the code to something like a = a+z), but that's figured out quite fast.
Edited: mod or admin please delete.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.