Kodi Community Forum

Full Version: [Module] youtube-dl - multi-site playable URL resolver
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
(2019-06-13, 19:59)lynxstrike Wrote: [ -> ]Hi...

Thanks for this great addon...

Recently I began receiving the following error when trying to play or download a video from Youtube via "ExtendedInfo": No YouTube ID Found.
Any help would be much appreciated ...


I'm posting the kodi.log:


Thanks for all your help!
I'm having the same problem, hoping for a fix. Thanks
Hi @ruuk just trying to use this add-on but I am getting "None" info for any youtube URI or token - presume the core needs an update?

Using script.module.youtube.dl 18.1107.0 with core 2018.11.07 

FWIW youtube-dl 2019.06.08 works fine with the same URIs/tokens 

Thanks for all your hard-work Smile
(2019-06-21, 09:26)fraserc Wrote: [ -> ]Hi @ruuk just trying to use this add-on but I am getting "None" info for any youtube URI or token - presume the core needs an update?

Using script.module.youtube.dl 18.1107.0 with core 2018.11.07 

FWIW youtube-dl 2019.06.08 works fine with the same URIs/tokens 

Thanks for all your hard-work Smile

Hi everyone...

Here is an update to the youtube-dl addon. I hope this resolves all issues...

Cheers...!!!
@lynxstrike - Yeah I had already fixed it for myself doing something similar (just sim-linked my youtube-dl install to the add-on). However it doesn't really help as such as I was developing an add-on that used script.moduel.youtube-dl as a dependancy and that will still be broken when someone adds it Sad
(2019-06-21, 17:10)fraserc Wrote: [ -> ]@lynxstrike - Yeah I had already fixed it for myself doing something similar (just sim-linked my youtube-dl install to the add-on). However it doesn't really help as such as I was developing an add-on that used script.moduel.youtube-dl as a dependancy and that will still be broken when someone adds it Sad
I saw that @ruuk updated the addon 20 days ago, and that's great, thanks for that.
However, without pushing it to the official repo,
Code:
http://mirrors.kodi.tv/addons/isengard/addons.xml
It can't satisfy to it's full potential... No
In case that you are unaware, there are some issues with using this with Python3. If you try to run with a current Kodi 19 development build (which now uses Python 3) you run into problems:

File "/home/fbacher/.kodi/addons/script.module.youtube.dl/lib/YDStreamExtractor.py", line 3, in <module>
  import urlparse
ModuleNotFoundError: No module named 'urlparse'

Should be changed to urllib.parse, or wrapper code that supports both releases.
(2019-11-13, 16:56)fbacher Wrote: [ -> ]In case that you are unaware, there are some issues with using this with Python3. If you try to run with a current Kodi 19 development build (which now uses Python 3) you run into problems:

File "/home/fbacher/.kodi/addons/script.module.youtube.dl/lib/YDStreamExtractor.py", line 3, in <module>
  import urlparse
ModuleNotFoundError: No module named 'urlparse'

Should be changed to urllib.parse, or wrapper code that supports both releases.
There's actually a number of things that need changing for python3

scott s.
.
Hi @ruuk,

Do you plan to update your module to be Python 3 compatible? As you maybe know, I started working on it here: https://github.com/ruuk/script.module.yo...dl/pull/52

Also, I am pretty sure that you are aware of the Kodi Matrix change concerning Python add-ons (https://forum.kodi.tv/showthread.php?tid=351745), I am sure that a lot of add-ons use your module as a dependency, it would be great if YouTube-DL were available for Matrix users  Wink

Looking forward to read your reply, thank you!
(2020-03-02, 22:58)sy6sy2 Wrote: [ -> ]Hi @ruuk,

Do you plan to update your module to be Python 3 compatible? As you maybe know, I started working on it here: https://github.com/ruuk/script.module.yo...dl/pull/52

Also, I am pretty sure that you are aware of the Kodi Matrix change concerning Python add-ons (https://forum.kodi.tv/showthread.php?tid=351745), I am sure that a lot of add-ons use your module as a dependency, it would be great if YouTube-DL were available for Matrix users  Wink

Looking forward to read your reply, thank you!

If anyone is interested,  I have a version of youtube-dl that has been updated for python 3 so it will work in matrix.  It also has the youtube-dl core version from 2020.03.24 included so it has the latest extractors.  You can get it from my github user scott967 and a direct link to the release is Github release

I only use the addon with the youtube plugin addon so it hasn't had a lot of test from me.

scott s.
.
(2020-03-27, 19:00)scott967 Wrote: [ -> ]
(2020-03-02, 22:58)sy6sy2 Wrote: [ -> ]Hi @ruuk,

Do you plan to update your module to be Python 3 compatible? As you maybe know, I started working on it here: https://github.com/ruuk/script.module.yo...dl/pull/52

Also, I am pretty sure that you are aware of the Kodi Matrix change concerning Python add-ons (https://forum.kodi.tv/showthread.php?tid=351745), I am sure that a lot of add-ons use your module as a dependency, it would be great if YouTube-DL were available for Matrix users  Wink

Looking forward to read your reply, thank you!

If anyone is interested,  I have a version of youtube-dl that has been updated for python 3 so it will work in matrix.  It also has the youtube-dl core version from 2020.03.24 included so it has the latest extractors.  You can get it from my github user scott967 and a direct link to the release is Github release

I only use the addon with the youtube plugin addon so it hasn't had a lot of test from me.

scott s.
.
Hi @ruuk , i was wondering if you could make a matrix release of the addon?

I monkey wrenched a new version locally and got it working. I only had to alter addon.xml of your latest version and zip install it to Kodi Matrix. And do the same for one of my own addons.

Here is the changed addon.xml:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="script.module.youtube.dl" name="youtube-dl Control" version="20.616.0+matrix.1" provider-name="Rick Phillips (ruuk)">
    <requires>
        <import addon="xbmc.python" version="3.0.0" />
        <import addon="script.module.addon.signals" version="0.0.1"/>
        <import addon="script.module.kodi-six" version="0.0.4"/>
    </requires>
    <extension point="xbmc.python.script" library="control.py">
        <provides>executable</provides>
    </extension>
    <extension point="xbmc.python.module" library="lib" />
    <extension point="xbmc.addon.metadata">
        <platform>all</platform>
        <summary lang="en_GB">Module providing access to youtube-dl video stream extraction</summary>
        <description lang="en_GB">Module providing access to youtube-dl video stream extraction for hundreds of sites. Version is based on youtube-dl date version: YY.MDD.V where V is the addon specific sub-version. Also provides downloading with the option for background downloading with a queue and queue manager.</description>
        <summary lang="el_EL">Βοηθητική μονάδα πρόσβασης στους επιλυτές youtube-dl για την εξαγωγή ροών βίντεο</summary>
        <description lang="el_EL">Βοηθητική μονάδα πρόσβασης στους επιλυτές youtube-dl για την εξαγωγή ροών βίντεο από εκατοντάδες ιστότοπους. Η έκδοση βασίζεται στην έκδοση ημερομηνίας του youtube-dl: EE.MHH.EK όπου ΕΚ η υπό-έκδοση συγκεκριμένα για το πρόσθετο. Επιπλέον δίνει δυνατότητα μεταφόρτωσης στο παρασκήνιο με ουρά και διαχειριστή αυτής.</description>
        <summary lang="es_ES">Módulo que proporciona acceso a YouTube-dl para la extracción de flujos de video</summary>
        <description lang="es_ES">Módulo que proporciona acceso a YouTube-dl para la extracción de flujos de video de cientos de sitios. La versión está basada en la versión de fecha youtube-dl: YY.MDD.V donde V es la subversión específica del complemento. También permite descargas con la opción de descarga en segundo plano con una cola y un administrador de colas.</description>
        <license>LGPL-2.1-only</license>
        <forum>https://forum.kodi.tv/showthread.php?tid=200877</forum>
        <source>https://github.com/ruuk/script.module.youtube.dl</source>
        <assets>
            <icon>icon.png</icon>
        </assets>
    </extension>
</addon>

Cheers!
script.module.youtube.dl version 20.616.0+matrix.1 uses xbmc.LOGNOTICE, which has been removed from kodi 19 (see: https://codedocs.xyz/xbmc/xbmc/group__py...abd4744961). yd_private_libs/util.py line 37 has it.
Will there be an upgrade of script.module.youtube.dl for kodi 19? I have an addon (playthis) that is python3-ready but fails to install because it lists this one as a direct dependency.

---edit
I just checked the matrix repo and I saw that a new version was uploaded 2 days ago, so thank you Smile
I shouldn't have waited for a week before asking Tongue
Hi! Someone can help me?

I'm on Kodi 19 Matrix on Windows 10 64 and have this add-on installed. When I do the 'Download Currently Playing Video' on the main menu nothing happen, neither info is prompted asking where to download, nothing. I need to do something extra on configurations to download YouTube videos?

Thank's
same for me, nothing its happening when i click in download video.
Hi all!
Same problem with Kodi 18 (Leia), button "Download Currently Playing Video" does nothing.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21