bjk's blog

June 3, 2012

Xbmc+libpwmd Youtube patch

Filed under: libpwmd, patches — bjk @ 12:36 pm

There is a plugin in Xbmc that allows for watching Youtube from within Xbmc. The plugin is really neat and can show your favorites and more that are associated with your Youtube account.

I’ve created a patch for this plugin, which is written in Python, to retrieve authentication details from pwmd. Since Youtube can use a Google account as a login, this may make pwmd’s “target” attribute feature come in handy. You can download the patch here.

Python makes it easy to call external library functions on demand. The patch loads libpwmd.so and does the required function calls as if written in C. No special language binding changes are needed.

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: