SpinnerRow wrote:Using OpenELEC 4.0.2 with XBMC. Whenever I go to TV it says there are no PVRs enabled but it is enabled in my PVR Addons. I'm using an HDHomeRun Prime and XBMC and MythTV are on the same box.
I have it the other way around with XBMC installed on Mythbuntu. It was fairly easy to set up.
To execute an external program through the MythTV menus and tell MythTV to ignore LIRC button presses until the program exits, add an EXEC action to the desired menu:
Some quick notes showing the steps I used to get this working with Intel graphics are below. I verified hardware acceleration is working with a NUC having a 6th generation Intel Core i5-6260U processor and Intel Iris 540 graphics.
Chrome and Chromium do not currently support VAAPI. Install the custom Chromium build that does support VAAPI using the instructions found at https://launchpad.net/~saiarcot895/+arc ... romium-dev. Thank you Saikrishna.
From my testing, the custom Chromium build noted above or the driver does not support the default YouTube video format. Fortunately, YouTube has a H.264 version for most videos. Install the h264ify extension from the Chrome Web Store which makes YouTube stream H.264 videos.
If the cursor does not disappear, optionally install xwit. Open a terminal and enter "sudo apt install xwit" without the quotes. You may need to change the numbers in the bash file noted below depending on your TV resolution. Another option would be to install Unclutter.
Copy the attached bash and menu file to the .mythtv folder in your home folder. Hidden folders will need to be shown. The user name in the menu file will need to be changed. The mainmenu.xml file may need to be edited depending on what menu items you want to see.
I do not currently use LIRC, so no LIRC file is needed. To close the Chromium window, I just set a single key on my remote to close the widow. In Mythbuntu (or Xubuntu), go to the keyboard settings. Under Application Shortcuts, add the command 'wmctrl -c "Chromium"' without the single quotes, and assign a key such as the break (pause) key. This should produce a different key code than the media pause key. Edit the ir-keytable config file (mine is rc6_mce) to assign whatever key code you want to KEY_Pause. There is probably a better way of doing this since it changes the break key system wide.
If videos play fine on youtube.com, but freeze on the first frame on youtube.com/tv, change the app settings. Open youtube.com/tv, and go to Settings on the left. Clear the watch and search history or reset the app, and disable sounds (video sounds should still work).
I hope I did not miss a step. Does this work for you?