Kodi Community Forum

Full Version: Revamped Chrome to XBMC YouTube extension
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I reworked the existing Chrome extension to work with the new YouTube, amongst other enhancements:

https://github.com/lawrencealan/youtube-xbmc-chrome

Chrome extension for sending YouTube videos to XBMC via RPC
This heavily modified version of the extension in the XBMC wiki is updated to Chrome's extension manifest v2.0, and supports the new YouTube, Frodo, multiple XBMC hosts, and templates for easier implementation of modifications down the road.

Please see http://wiki.xbmc.org/index.php?title=Add-on:YouTube for more information on the XBMC YouTube plugin.

How to install

Code:
git clone git://github.com/lawrencealan/youtube-xbmc-chrome.git youtube-xbmc-chrome

  1. Clone / Download
  2. Open Chrome, go to chrome://extensions
  3. Enable "Developer mode"
  4. Click on "Load unpacked extension"
  5. Point to above cloned folder.

Settings
Make sure you have XBMC's web UI running, and the port setup correctly.

XBMC Hosts
List of XBMC Host(s) URIs in label|username:password@host:port format, one per line:

Code:
lil|xbmc:@openelec.local:8080
media|xbmc:@media-pc.local:8080
XBMC plugin path

Path to the XBMC youtube plugin
Code:
plugin.video.youtube

Insertion Selectors
These are where the extension looks to insert the links for sending the items to your XBMC hosts. One per line, Valid "types" are: "player", "thumb", and "playlist"

Code:
.yt-pl-thumb|playlist
#watch7-player|player
.ux-thumb-wrap|thumb