jarhead Posted April 28, 2015 Share Posted April 28, 2015 Thank you for the kind words. Glad you got it working. I took the chance to update the instructions, as they were slightly out-of-date. I noticed from the youtube-dl readme file, as of April 26, 2015, youtube-dl uses -f bestvideo+bestaudio/best as the default. Is there a way to tell if the workflow is using the most current version of youtube-dl? Thanks. Link to comment
vitor Posted April 28, 2015 Author Share Posted April 28, 2015 (edited) Is there a way to tell if the workflow is using the most current version of youtube-dl? You can go into the workflow’s directory and run python youtube-dl -U to update. However, every time you run the workflow it checks if the version you have in it (the actual file) is over 15 days old, and if it is it updates it, so you should never be too far behind. Rest assured, the only operations it performs to achieve this are checking how old the file is (using common local CLI tools) and that same youtube-dl -U (youtube-dl --update, in this case) command to update, so it isn’t “phoning home” or anything like that (well, unless youtube-dl itself is doing something nasty, but I seriously doubt that). Edited April 28, 2015 by Vítor Link to comment
vitor Posted May 31, 2015 Author Share Posted May 31, 2015 Update. It will now try to figure out if you have either ffmpeg or avcon installed (by looking into /usr/local/bin, as well as your PATH), and if you do, it’ll download all available subtitles for the video (if any), and embed them (if it’s an mkv or mp4). Link to comment
vitor Posted June 5, 2015 Author Share Posted June 5, 2015 Update. When getting subtitles, force merged file into mp4 to prevent discrepancies when adding to WatchList. Link to comment
vitor Posted June 9, 2015 Author Share Posted June 9, 2015 Update. It now tries to force the download of specific file formats. This is done to avoid inconsistencies between the filename youtube-dl predicts it’ll get and the one it actually does (which could screw up adding to watchlist) and to prevent getting a bunch of files from one download — sometimes youtube-dl, in its pursuit for the best video and audio independently can get incompatible formats it can’t then join. Link to comment
vitor Posted June 25, 2015 Author Share Posted June 25, 2015 Update. Use a default generic best format as a fallback, when the preferred ones aren’t available. Link to comment
Glacier Posted December 12, 2015 Share Posted December 12, 2015 Have I missed a step as it downloading two separate files to my desktop (video and audio) with the audio missing from the mp4. Thanks this looks promising if I can overcome this problem! Link to comment
vitor Posted December 12, 2015 Author Share Posted December 12, 2015 That’s not a problem. Let it finish. It’s getting the best audio and video sources, and will join them together when it’s done.If it doesn’t, I’ll need the exact url you’re trying to download, and for you to open the debugger, and post the output after repeating the task. Link to comment
Glacier Posted December 13, 2015 Share Posted December 13, 2015 That’s not a problem. Let it finish. It’s getting the best audio and video sources, and will join them together when it’s done. If it doesn’t, I’ll need the exact url you’re trying to download, and for you to open the debugger, and post the output after repeating the task. Thank you! Your reply gave me enough clues to determine I had not installed ffmpeg. I am sure I overlooked this step. All is well now. Fantastic workflow and thanks for creating it. Hopefully YouTube will not break it......Take Care! Link to comment
vitor Posted December 13, 2015 Author Share Posted December 13, 2015 (edited) I had not installed ffmpeg Though the workflow does give you some niceties if you have ffmpeg installed, that shouldn’t be a requirement. I take great care to not have my workflows require extar dependencies, as much as possible. I think I found what I should fix. Thank you. Hopefully YouTube will not break it This workflow uses youtube-dl, which is a fantastic project with many contributors and updated regularly. Whenever Youtube breaks this interaction, they fix it. The workflow will also auto-update youtube-dl for you every fifteen days. Edited December 13, 2015 by Vítor Link to comment
vitor Posted December 13, 2015 Author Share Posted December 13, 2015 Update.It now only forces a file format when ffmpeg or avconv are present. Link to comment
vitor Posted December 27, 2015 Author Share Posted December 27, 2015 Update. Various changes, most notably that you now can download entire playlists at once, by using ⌘. You can also now completely abort a download (instead of just restarting it) by using ⌃ (Ctrl) on dvp. Link to comment
vitor Posted March 13, 2016 Author Share Posted March 13, 2016 Update. Don’t allow dvp to run when no download is in progress. Link to comment
salmone Posted May 19, 2016 Share Posted May 19, 2016 this workflow is great, thanks!! It’s very similar to the previous solution, only now you’ll look for the line python youtube-dl --quiet --output "${downdir}/%(title)s.%(ext)s" "${link}" and change it to be python youtube-dl --quiet -f 22/18/17 --output "${downdir}/%(title)s.%(ext)s" "${link}" Are these instructions to download mp4 still up to date? I can't find where I have to change this setting.. Link to comment
vitor Posted May 19, 2016 Author Share Posted May 19, 2016 Thank you, salmone. You don’t need that anymore, it now always download the mp4, if available. Link to comment
VALVESSELLER Posted May 23, 2016 Share Posted May 23, 2016 Hi Vítor, thanks for providing such awesome workflow. It works all well. But if i want to download video with 1080P, how should i do that? Is there a way downloading 1080P video? Thanks! Link to comment
vitor Posted May 23, 2016 Author Share Posted May 23, 2016 VALVESSELLER This workflow uses youtube-dl to download the videos. It always downloads the best quality video available in mp4 (I had to introduced that condition some time ago). If it’s downloading something less quality than a 1080p video, then that quality is likely not available. Link to comment
VALVESSELLER Posted May 24, 2016 Share Posted May 24, 2016 VALVESSELLER This workflow uses youtube-dl to download the videos. It always downloads the best quality video available in mp4 (I had to introduced that condition some time ago). If it’s downloading something less quality than a 1080p video, then that quality is likely not available. Thanks for the explanation. Link to comment
salmone Posted May 28, 2016 Share Posted May 28, 2016 after a week of usage I'm liking this workflow more and more! One thing that I was wondering, is if there is a way to make it ask in which location download the file? (each time or maybe just change desktop location to another folder) Link to comment
vitor Posted May 28, 2016 Author Share Posted May 28, 2016 after a week of usage I'm liking this workflow more and more! Glad to know! One thing that I was wondering, is if there is a way to make it ask in which location download the file? (each time or maybe just change desktop location to another folder) There used to be no easy way, no. However, with Alfred 3, why not? Download the newest version, and you’ll be able to change the directories via the two Workflow Environment Variables. Link to comment
salmone Posted May 29, 2016 Share Posted May 29, 2016 Glad to know! There used to be no easy way, no. However, with Alfred 3, why not? Download the newest version, and you’ll be able to change the directories via the two Workflow Environment Variables. Thanks Vitor, I downloaded the latest version and I'm trying to find out how to change the "workflow environment variables" I'm reading this http://www.alfredforum.com/topic/8939-workflow-environment-variables-questiongiulio/ but I guess it is not a super simple thing to do.. Link to comment
vitor Posted May 29, 2016 Author Share Posted May 29, 2016 Are you on Alfred 3? If so, it’s very simple. Link to comment
salmone Posted May 29, 2016 Share Posted May 29, 2016 Thanks Vitor! Didn't know that, super simple and works fine! Just wondering, is there perhaps a value that I can put in the "variable value field" to tell him "ask where to download each time"? Link to comment
vitor Posted May 29, 2016 Author Share Posted May 29, 2016 (edited) Just wondering, is there perhaps a value that I can put in the "variable value field" to tell him "ask where to download each time"? There is not. I have no plans to build that one in. Edited May 29, 2016 by Vítor Link to comment
TJung Posted June 5, 2016 Share Posted June 5, 2016 Hello, is there a way to get the previous version of DownVid? The current version doesn’t run with Alfred 2, and I can’t upgrade to Alfred 3 yet because I’m still on Mountain Lion. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now