Release [Module] youtube-dl - multi-site playable URL resolver
#32
Version 14.1210.0

Changes:
  • Update youtube-dl core to 2014.12.10.3
  • Added auto-updating of the youtube-dl core
  • Added the ability to download in the background
  • Added to programs/addons/apps for controlling background downloads and queue management
  • Added settings for stream selection defaults, download path defaults and auto-update defaults
  • Deprecated the module function disableDASHVideo() which is now set in the addon settings
  • Added the option to download the currently playing video (via the option from 'youtube-dl Control' in Programs)
  • Changed the icon

On my REPO.

I'll need to update the guide in the thread, but here is some basic info:

handleDownload() now accepts the additional parameters of duration (for live streams) and bg (to set background downloading)

Code:
handleDownload(info,duration=None,bg=False):

info can be a VideoInfo object as returned by getVideoInfo() or a dictionary for generic URL downloading.
The dict must include 'url', and should included 'title' and 'media_type' of video, audio or image if applicable. If known 'ext' should be set to the correct file extension, otherwise the addon will try to figure it out itself or just set a default for the media type. While not currently used, you can also set 'description' and 'thumbnail' as they may be used in the future when managing queues and such.

Some new methods are isDownloading() to check if files are downloading in the background and manageDownloads() which opens the the downloads manager so the user can stop downloads and manage the queue.

The addon now includes auto-updating of the core. It currently checks for new versions every 24 hours, but I may change this to be kind to their server. In any case there is an option in the settings. - Removed

There's a new icon and if anyone wants to make a better one, I would really appreciate it, as I'm not great at it. Also the skin for the download manager isn't that great, so if anyone wants to design something more beautiful I would appreciate that as well.

One nifty new feature for users is the ability to download the currently playing video. If a web video is playing and you open the download manager, you will have the option 'Download Currently Playing Video'.

There is a lot of new stuff here as well as some restructuring and code cleanup under the hood, so I'm not going to push this to the official repository until it's had more testing, so please let me know if you have any issues or questions.
Reply


Messages In This Thread
v14.810.0 - by ruuk - 2014-08-11, 19:45
v14.925.0 - by ruuk - 2014-09-25, 17:49
v14.1026.0 - by ruuk - 2014-10-26, 21:53
v14.1210.0 - by ruuk - 2014-12-10, 23:32
v14.1210.1 - by ruuk - 2014-12-11, 21:17
v15.318.0 - by ruuk - 2015-04-02, 23:01
v15.1123.0 - by ruuk - 2015-11-23, 21:20
v15.1124.0 - by ruuk - 2015-11-24, 21:05
v15.1223.0 - by ruuk - 2015-12-23, 22:27
v16.306.0 - by ruuk - 2016-03-13, 19:05
v16.318.0 - by ruuk - 2016-03-21, 20:31
v16.327.0 - by ruuk - 2016-03-31, 01:12
v16.521.0 - by ruuk - 2016-05-22, 18:15
v16.627.0 - by ruuk - 2016-06-28, 20:38
v16.1026.0 - by ruuk - 2016-10-28, 18:32
v17.310.0 - by ruuk - 2017-03-11, 23:47
v17.518.0 - by ruuk - 2017-05-21, 08:53
v17.518.1 - by ruuk - 2017-05-25, 04:00
v17.709.0 - by ruuk - 2017-07-11, 03:00
v17.1228.0 - by ruuk - 2017-12-28, 22:46
v17.1231.0 - by ruuk - 2018-01-01, 05:46
v18.320.0 - by ruuk - 2018-03-25, 02:07
v18.425.0 - by ruuk - 2018-04-28, 02:53
v14.1217.0 - by ruuk - 2014-12-27, 21:12
RE: Script Error Message - by ruuk - 2016-04-14, 13:15
RE: v16.1026.0 - by Lunatixz - 2016-10-28, 20:25
L0RE - by L0RE - 2017-12-19, 14:34
Script Error Message - by eondesigns1138 - 2016-04-08, 10:46
Error python dependency 2.25.0 - by Alyy - 2016-05-21, 10:45
Logout Mark Read Team Forum Stats Members Help
[Module] youtube-dl - multi-site playable URL resolver2