gkreidl wrote:It may look normal for a Python developer to install it via pip, but it keeps all other versions from using updates correctly. This includes the official compressed version.
gkreidl, as i've said before, Ubeify imports youtube-dl as a module
. There's a line in Ubeify's source code which literally states "import youtube_dl" (see the official github readme under "embedding youtube-dl"). Installing youtube-dl via pip is the correct cross platform method to ensure it's installed as a global module within python's "dist-packages" folder.
Ubeify does not
call the end-user command-line version of youtube-dl like omxplayerGUI does, so changing the Ubeify install to use the compressed version of youtube-dl will not work. Installing directly from github requires extra software to be installed and has cross platform issues so is not a viable solution. This is why Ubeify uses the pip version of youtube-dl.
gkreidl wrote:The problem is, that once you install it to the Python path via pip, the Python path always takes precedence when importing even for the compressed version. Updating the compressed version is useless then .... It could be done via pip but users are not aware of it because the ubeify installation hides it from them.
The Ubeify install script clearly states it's "Installing youtube-dl via pip [for easy updates]". As a convenience, selecting "Update Ubeify" from the options menu also updates youtube-dl via pip (and tells the user it's doing so). If a user manually tries to update using "youtube-dl -U" it tells them to update using pip (or github) instead. It's not ideal but is the best I can do.
All the above is besides the point though. The user installed Ubeify first (pip version of youtube-dl) then installed omxplayerGUI (your scripts manual github install of youtube-dl). This broke Ubeify, however omxplayerGUI worked as intended. If youtube-dl broke/changed in the time between Ubeify and omxplayerGUI installs, then both
Ubeify should fail because the Python path (pip version) takes precedence. Clearly this didn't happen. The user then re-installed Ubeify and both Ubeify and omxplayerGUI began working again.
I've not had time to reproduce the problem but, if what the user says is correct, then it's clear that your omxplayerGUI install somehow breaks pip youtube-dl. My best guess is that it's something to do with how you setup youtube-dl-server. Could you have a look at that? Do you change any global python paths?