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.