2015-05-19, 18:44
(2015-05-19, 17:09)bromix Wrote:(2015-05-19, 16:46)rob_webset Wrote: Hi bromix,
Thanks for all your work on this addon.
I have created a pull request in GitHub in order to add Download Support for a given video file.
https://github.com/bromix/plugin.video.youtube/pull/274
I hope this is OK.
Rob
Thanks...you have an answer on GitHub two particular cases won't work If we could solve these two and also get rid of the dependency.
Thanks bromix for taking a look. Unfortunately I think what you are suggesting may be beyond my knowledge of the YouTube code (Took me a while to work out where to put in the context hook etc to get it to the point of the pull request) - not saying you are wrong, just that I think it may be needing some-one with a more indepth knowledge (I think it best to avoid death by a thousand pull request! )
Maybe if someone has a bit more knoweldge they can update the new yt_download.py to do the behaviour you describe. (At least this moves the behaviour into a single file now.)
Thanks
Rob