Cannot read YouTube videos with Channels plugin
Posted: Thu May 23, 2013 3:48 am
Hello,
The install of the Channels plugin from the GUI is not really working well. After digging around logs to try to find what goes wrong during the install I've found the following problems and potential solutions:
Also not that if I try to open these videos on a Playstation 3, I always get "This content cannot be played (800288E1)"... and on my Android device the only video player capable of playing those few seconds is VLC, the other players I have tired (default Android video player and BSPlayer) also say they cannot play these videos while they usually both play most of the video format I've tried with them.
EDIT: I've mentioned in another thread that I had tried "ZDF" folder and with this folder the videos are working straight after the Install/Download (and after clicking on Install/Upgrade button in the Channels GUI), but I have since then noticed that they suffer the same problem, only few seconds are played and the the playback stops (and the total time shown corresponds to those few seconds).
The install of the Channels plugin from the GUI is not really working well. After digging around logs to try to find what goes wrong during the install I've found the following problems and potential solutions:
- After downloading "pepy.zip", the program does something that leads to a NullPointerException, most likely it is when it tries to unzip the archive as it is indeed never unpacked. So you need to unpack it manually. Leave the .zip where it is, do not delete it.
- If you click again to restart the Download/Install of Channels it skips the downloading/unpacking of "pepy.zip" and it downloads "youtube-dl.py" but it puts it in the wrong destination directory. It gets downloaded to "extras\scripts", when it should in fact go to "scripts\" (relative to the root of UMS directory), you can see this because "scripts\youtube-dl.bat" (which is a wrapper to run this Python script) points to this directory and not "extras\scripts". Copy this "youtube-dl.py" to "scripts\" but do not delete "extras\scripts\youtube-dl.py".
- The "channels" files are not downloaded automatically at the end, you have to go in the Channels GUI and click "Install/Update", after some time all the files will be downloaded in "channels\".
- The version of "youtube-dl.py" is outdated, it's from 2012.02.27 and if you try to use it manually you always get a "HTTP 403" error from YouTube servers for ANY video. I needed to update it manually from the official site (http://rg3.github.io/youtube-dl/download.html). Just replace "scripts\youtube-dl.py" by the script file you've downloaded from the official site.
Also not that if I try to open these videos on a Playstation 3, I always get "This content cannot be played (800288E1)"... and on my Android device the only video player capable of playing those few seconds is VLC, the other players I have tired (default Android video player and BSPlayer) also say they cannot play these videos while they usually both play most of the video format I've tried with them.
EDIT: I've mentioned in another thread that I had tried "ZDF" folder and with this folder the videos are working straight after the Install/Download (and after clicking on Install/Upgrade button in the Channels GUI), but I have since then noticed that they suffer the same problem, only few seconds are played and the the playback stops (and the total time shown corresponds to those few seconds).