![]() |
v18 Disable / Enable Hardware Acceleration via JSON - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93) +---- Forum: JSON-RPC (https://forum.kodi.tv/forumdisplay.php?fid=174) +---- Thread: v18 Disable / Enable Hardware Acceleration via JSON (/showthread.php?tid=354825) |
Disable / Enable Hardware Acceleration via JSON - tojo2503 - 2020-05-29 Hi, so far I have only enabled / disabled AddOns via json. Now I’d like to enable / disable two settings on Android. They’re in Settings—>Player —> Video: 1. Allow Hardware Acceleration - MediaCodec (Surface) 2. Allow Hardware Acceleration - MediaCodec I could not find an example how to access these specific settings, that are not available on every system... Could someone help me out or give me a hint? Official documentation on the wiki didn’t help me. Thanks a lot for your work! :-) RE: Disable / Enable Hardware Acceleration via JSON - sualfred - 2020-05-29 afaik it's called "videoplayer.usemediacodecsurface" and "videoplayer.usemediacodec" you can change it by using "Settings.SetSettingValue" to True/False RE: Disable / Enable Hardware Acceleration via JSON - tojo2503 - 2020-05-30 (2020-05-29, 18:56)sualfred Wrote: Tafaik it's called "videoplayer.usemediacodecsurface" and "videoplayer.usemediacodec" Thanks! That worked. Is there a list somewhere to find the names of the specific settings? So I don't have to ask in the future? Couldn't find anything. RE: Disable / Enable Hardware Acceleration via JSON - sualfred - 2020-05-30 you always can take a look at the guisettings.xml in your userdata folder |