2014-08-25, 00:14
Hi,
The zip from github is in the wrong format. You need to take the contents of the plugin directory within the zip and create a zip file. That should work.
I have refined the process of loading videos into chrome, but it only works on linux, as that is all I can test. It was a royal pain in the butt getting youtube and chrome to cooperate with full screen that would allow me to use lirc and irxevent to pause / resume playback in the player, but it does work. You need to install xdotool.
The functionality only touches purchases, I have not done anything else.
So again there is a manual step. Take the zip from github:
wget https://github.com/pellcorp/youtube-xbmc...upport.zip
cd youtube-xbmc-plugin-purchase_support/plugin/
zip -r youtube-xbmc.plugin.zip *
Or you can do this:
git clone https://github.com/pellcorp/youtube-xbmc-plugin.git
cd youtube-xbmc-plugin
git checkout purchase_support
Create a soft link to the plugin directory to the ~/.xbmc/addons/plugin.video.youtube.beta
The purchase_support_fixes branch is where I am playing around with moving the logic to start irxevent, and call xdotool to an external browser.sh script to make it simpler to customise for specific requirements. The key item that gets us full screen is the xdotool call.
xdotool search "Google Chrome" windowactivate --sync mousemove 800 800 click --repeat 2 1
This double click activates yotube full screen mode. This seems to be preferred to chrome --kiosk mode as it allows the keyboard to control playback, as the double click also focuses the player.
The zip from github is in the wrong format. You need to take the contents of the plugin directory within the zip and create a zip file. That should work.
I have refined the process of loading videos into chrome, but it only works on linux, as that is all I can test. It was a royal pain in the butt getting youtube and chrome to cooperate with full screen that would allow me to use lirc and irxevent to pause / resume playback in the player, but it does work. You need to install xdotool.
The functionality only touches purchases, I have not done anything else.
So again there is a manual step. Take the zip from github:
wget https://github.com/pellcorp/youtube-xbmc...upport.zip
cd youtube-xbmc-plugin-purchase_support/plugin/
zip -r youtube-xbmc.plugin.zip *
Or you can do this:
git clone https://github.com/pellcorp/youtube-xbmc-plugin.git
cd youtube-xbmc-plugin
git checkout purchase_support
Create a soft link to the plugin directory to the ~/.xbmc/addons/plugin.video.youtube.beta
The purchase_support_fixes branch is where I am playing around with moving the logic to start irxevent, and call xdotool to an external browser.sh script to make it simpler to customise for specific requirements. The key item that gets us full screen is the xdotool call.
xdotool search "Google Chrome" windowactivate --sync mousemove 800 800 click --repeat 2 1
This double click activates yotube full screen mode. This seems to be preferred to chrome --kiosk mode as it allows the keyboard to control playback, as the double click also focuses the player.