Kodi Community Forum

Full Version: a Fix for Crystalbuntu crashing with CHD enabled.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Mr bnich has compiled a completely fixed version of Gotham 13.2 here:

http://forum.osmc.tv/showthread.php?tid=...#pid113777
-------------------------------------------------------------------------------

This workaround / fix is for those of us that play mpeg2 Live TV on our ATV1's and have found that anything above SD quality mpeg2 TV streams would crash Crystalbuntu when Crystal HD hardware acceleration was enabled.

At long last I've managed to get this working after much investigation over the years.
The ol ATV1 running Crystalbuntu is a complete stable package again !! Big Grin
Tested on Gotham 13.2 only.

Untested is CHD on/off functioning if you jump straight to Live TV from a XBMC shortcut - hot button on a remote, but that should never affect ATV1 users using Apples simple ATV remotes anyway.
Live TV shortcuts via the XBMC smartphone app will likely still cause problems. (untested at this stage)

This fix will only work with this particular modded Confluence Skin.

Modified files:
Home.xml
IncludesHomeMenuItems.xml

Its a quick and dirty brute force method but with Great Success!!!!

Many many thanks to Kraqh3d over on the OSMC forum for the code to achieve it FINALLY! Nod

Firstly a small python script file needs to be created in the /home/atv folder:

1. ssh [email protected]
2. sudo nano /home/atv/usechd.py
3. copy and paste the following text:
4. ctrl-O to save

Code:
import sys
import xbmc

window=sys.argv[1]
usechd=sys.argv[2]

xbmc.executeJSONRPC('{"id":1,"jsonrpc":"2.0","method":"Settings.SetSettingValue","params":{"setting":"videoplayer.usechd","value":' + usechd + '}}')

The complete .xml file modifications are included in a modded skin add-on below. It also contains a Flat - Confluence theme, re-texture by user duntuk. Unzip and move to /home/atv/.xbmc/addons

Confluence Flat - CHD Fix

Cheers Tongue
W.