Created
July 14, 2024 06:31
-
-
Save IsaacChapman/f01e87dd52bc0cf46e3bd810e38daed2 to your computer and use it in GitHub Desktop.
Fix Plex add-on for Kodi on Android TV
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Since the `plex-for-kodi` repo has not been updated in years, some cross-versioning issues have occured: | |
* `urllib3` See https://github.com/plexinc/plex-for-kodi/issues/389 | |
* `plex` See https://github.com/plexinc/plex-for-kodi/pull/384 | |
To access my Android-TV, I need to start the `SimpleSSHD` app on the TV. | |
Download required files locally and copy them to Android TV: | |
``` | |
ANDROID_TV_IP_ADDRESS=<android-tv-ip-address> | |
wget https://github.com/urllib3/urllib3/archive/refs/tags/1.26.18.tar.gz | |
scp -P 2222 urllib3-1.26.18.tar.gz $ANDROID_TV_IP_ADDRESS:/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.urllib3/lib | |
wget https://raw.githubusercontent.com/gigiquery/plex-for-kodi/fix-for-kodi20/lib/_included_packages/plexnet/signalslot/signal.py | |
scp -P 2222 signal.py $ANDROID_TV_IP_ADDRESS:/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.plex/lib/_included_packages/plexnet/signalslot/signal.py | |
``` | |
SSH to Android TV and change `urllib3` libraries | |
``` | |
cd /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.urllib3/lib | |
mv urllib3 urllib3-2.1.0 # Backup ('2.1.0' is based on current `urllib3/_version.py` file contents) | |
tar xzf urllib3-1.26.18.tar.gz | |
mv urllib3-1.26.18/src/urllib3/ . | |
rm -rf urllib3-1.26.18 urllib3-1.26.18.tar.gz | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Also go through the Kodi add-on dependency management interface to disable
urllib3
from updating again!