Posts: 22
Joined: Mar 2013
Reputation:
0
Hi!
Thanks for a great add-on!
Is there any way to change the cache/TMP-folder (from ...\addon_data\script.module.youtube.dl\tmp\)?
Is it perhaps possible to use a config file like the stand alone application can (...\AppData\Roaming\youtube-dl\config.txt)?
Or is it perhaps possible to change the cache/TMP-folder location by editing a .py-file?
Posts: 128
Joined: Apr 2014
Hi everyone,
I just wanna say that I had some hard time with key errors and not knowing how to retrieve titles and thumbnails, but now I found it. So for those interested here they are:
Code:
import YDStreamExtractor
YDStreamExtractor.disableDASHVideo(True) #Kodi.log says its deprecated!
Code:
url = "http://www.youtube.com/watch?v=_yVv9dx88x0" #a youtube ID will work as well and of course you could pass the url of another site
vid = YDStreamExtractor.getVideoInfo(url,quality=1) #quality is 0=SD, 1=720p, 2=1080p and is a maximum
stream_url = vid.streamURL() #This is what Kodi (XBMC) will play
title = vid.selectedStream()['title'] # this gives the title string
thumbnail = vid.selectedStream()['thumbnail'] # this gives the thumbnail string url
Posts: 128
Joined: Apr 2014
Thank you very much. I am now using it to resolve youtube streams for my livelite addon:
http://forum.kodi.tv/showthread.php?tid=293334
Posts: 1
Joined: Nov 2016
Reputation:
0
WHY NOT RECORD CHANNEL ADULT YOUTUBE THE PLUGIN-DL ?
Posts: 814
Joined: Oct 2004
Reputation:
6
Generic question: I have this plugin installed but don't recall installing it. Perhaps it came with something I installed but can't figure that out. cleaning up old addons ans skins.
Running latest librelec with (only) estuary skin. When I attempt to uninstall this one I get (for me cryptic) the message: "youtube-dl control is used by the following installed addons Kodi65 Library - this addon can't be uninstalled.
Don't seem to have an addon called Kodi65 library, is that some kind of system function and this part of kodi or estuary now?
Posts: 103
Joined: Oct 2013
Reputation:
1
mr3p
Senior Member
Posts: 103
Is there a way to incorporate this into IPTV simple client or other front end? It would be great to add youtube live channel in a single common guide with another Kodi PVR client add-on for OTA/cable channels.
Posts: 2,293
Joined: Aug 2005
Reputation:
202
ruuk
Team-Kodi Member
Posts: 2,293
@huffenator:
The youtube-dl addon is a module that can be a dependency of other add-ons. As the dialog in your screenshot is saying, the Kodi65 add-on requires it as a dependency. If you want to get rid of the youtube-dl addon you need to first remove Kodi65. This has nothing to do with the youtube-dl add-on.
Posts: 2
Joined: Jan 2017
Reputation:
0
Hi
I still get " plugin.video.youtube needed to preview discoverable content" on my browser when I access kodi via Arch web interface. Update youtube.dl via your repo to 15.318.0. Kodi still insists on updating to 16.1026.0 via Kodi repo. I have applied both but Kodi's second.
What can be the problem?