mimmordino Posted April 10, 2017 Share Posted April 10, 2017 Am I missing something or does the download playlist function not work when holding down the command key? I've copied a youtube video link that is a part of a playlist and hold down the command key. However, only the main video downloads, it does not download the other videos in the playlist. Link to comment
vitor Posted April 10, 2017 Author Share Posted April 10, 2017 @mimmordino Works perfectly here. For me to debug it you need to share the link you’re trying to add. Link to comment
mimmordino Posted April 10, 2017 Share Posted April 10, 2017 14 hours ago, vitor said: @mimmordino Works perfectly here. For me to debug it you need to share the link you’re trying to add. Here is a link to a test playlist. Downvid will download the first video but not the second. I copy the URL of the first video in that list, type dv command and hit enter. https://www.youtube.com/playlist?list=PLpPcpNLD9TFV2qGQuZG8zPs6F4daOrY_K Link to comment
vitor Posted April 10, 2017 Author Share Posted April 10, 2017 @mimmordino Tip: you can also do it by copying the playlist’s link itself, it doesn’t have to be one from a video. I can’t reproduce at all, though. It works flawlessly when I try it, both with the playlist’s link and the link of the first video. Try redownloading DownVid to make sure you’re on the latest version, and if possible record your screen. Link to comment
mimmordino Posted April 10, 2017 Share Posted April 10, 2017 @vitor Here ya go. I've already redownloaded/reinstalled DownVid. https://youtu.be/-jRlY7qs4UA Link to comment
vitor Posted April 11, 2017 Author Share Posted April 11, 2017 Thank you for the video, @mimmordino, the steps were really clear. Unfortunately, I still cannot reproduce. Only two things I can think for you to do: Go into your workflow’s directory and update youtube-dl. If you’re comfortable with a terminal, cd into the workflow’s directory and python youtube-dl --update. Open the debugger, and see if there’re any errors there. Link to comment
deanishe Posted April 11, 2017 Share Posted April 11, 2017 Works perfectly for me, too. Link to comment
mimmordino Posted April 11, 2017 Share Posted April 11, 2017 @vitor Ok so I updated youtube-dl to 2017.04.11 and tried again. Still no dice. Below is the output of the debugger. Just so I make sure I"m not missing anything...I copy the URL, I open Alfred (alt-space), type dv, hold down the command key, and while I hold it down, hit enter. Correct? That should work? I don't need anything else installed except for Alfred and the DownVid workflow? [2017-04-11 18:26:10][input.scriptfilter] <?xml version='1.0'?><items> <item uid='Regular Download' arg='/var/folders/rr/kc2qhbx51h79zc1j3n8g4_hr0000gn/T/downvid.deUJ3aRD' valid='yes'> <title>DownVid</title> <subtitle>Downloads the video to your Desktop</subtitle> <icon>icon.png</icon> </item> </items> [2017-04-11 18:26:21][input.scriptfilter] Processing output of 'action.script' with arg '/var/folders/rr/kc2qhbx51h79zc1j3n8g4_hr0000gn/T/downvid.deUJ3aRD' and the file downvid.deUJ3aRD contains: ttps://www.youtube.com/watch?v=yYdlRfkGTyE&t=23s&list=PLpPcpNLD9TFV2qGQuZG8zPs6F4daOrY_K&index=1% Link to comment
mimmordino Posted April 11, 2017 Share Posted April 11, 2017 (edited) And in case you need to see my workflow configuration: Not holding down command saves the file to Downloads. Holding down command saves the file to TestDownload Edited April 11, 2017 by mimmordino Re-added image. Link to comment
vitor Posted April 12, 2017 Author Share Posted April 12, 2017 (edited) 14 hours ago, mimmordino said: Not holding down command saves the file to Downloads. Holding down command saves the file to TestDownload No, that is not what’s supposed to happen at all. The watchlist configuration is to interact with another workflow. Pressing ⌘ is a different option. Since you don’t seem to be using WatchList, that shouldn’t even have any effect on anything. Which means you fond a bug. It was so specific, the only time it’d happen would be in this precise situation. Thank you. It’s already fixed (should be, please download the new version and test). Edited April 12, 2017 by deanishe Markdown -> BBCode Link to comment
vitor Posted April 12, 2017 Author Share Posted April 12, 2017 Update. Fix bug when downloading playlists without WatchList installed. To update, download the latest version (same URL) or wait a few days (15 or less) and it’ll prompt you to on next usage, since it uses OneUpdater. Link to comment
mimmordino Posted April 12, 2017 Share Posted April 12, 2017 @vitor Working great now! Thanks for the help! vitor 1 Link to comment
vitor Posted May 1, 2017 Author Share Posted May 1, 2017 Update. Slightly improved information when downloading, a new icon, and a ton of code improvements. Switched to using ruby and JSON for Script Filters; detects WatchList better and if you don’t have it but tell to add to it, it’ll do a normal download; creates less temporary files; has a more streamlined process for adding from external sources, uses _sharedresources. If you use the Services, for this version you must reinstall them (run :downvidservices twice). To update, download the latest version (same URL) or wait a few days (15 or less) and it’ll prompt you to on next usage, since it uses OneUpdater. Link to comment
vitor Posted May 2, 2017 Author Share Posted May 2, 2017 Update. Strip surrounding whitespace from copied urls. To update, download the latest version (same URL) or wait a few days (15 or less) and it’ll prompt you to on next usage, since it uses OneUpdater. Link to comment
vitor Posted May 4, 2017 Author Share Posted May 4, 2017 Update. Updated notifications icon. To update, download the latest version (same URL) or wait a few days (15 or less) and it’ll prompt you to on next usage, since it uses OneUpdater. Link to comment
thinkfilm Posted May 10, 2017 Share Posted May 10, 2017 Hi Vitor, The latest version of DownVid (1.21.3) seems to have stopped working for Vimeo and Youtube. Did something change? Link to comment
thinkfilm Posted May 13, 2017 Share Posted May 13, 2017 I just ran the Alfred debugger and I see this message: Starting debug for 'DownVid' [2017-05-13 09:13:54][ERROR: action.script] youtube-dl does not work on Python 2.7.10 and prior. You will need to have a more recent version in your PATH. I haven't changed anything on my system so I'm a bit confused. Link to comment
vitor Posted May 13, 2017 Author Share Posted May 13, 2017 56 minutes ago, thinkfilm said: I just ran the Alfred debugger and I see this message: Starting debug for 'DownVid' [2017-05-13 09:13:54][ERROR: action.script] youtube-dl does not work on Python 2.7.10 and prior. You will need to have a more recent version in your PATH. I haven't changed anything on my system so I'm a bit confused. Recent versions of youtube-dl no longer worked with the default Python. It seems that has been fixed, now. Download the just updated version of this workflow, and you’ll be good to go. Link to comment
thinkfilm Posted May 13, 2017 Share Posted May 13, 2017 I appreciate that, Vitor. I use this DownVid daily - along with several other of your excellent workflows. Thank you for all that. Link to comment
vitor Posted May 13, 2017 Author Share Posted May 13, 2017 Thank you for the kind words, @thinkfilm. Since I don’t do any kind of tracking or logging I have no idea who uses my Workflows, so it’s always a pleasure to know when someone likes them and uses them. Link to comment
vitor Posted May 18, 2017 Author Share Posted May 18, 2017 (edited) Update. It now uses notificator for notifications. This is the first workflow I’m (re)adding it to, so please tell me if something goes wrong (if you get any error or stop receiving notifications). If everything works fine, I’d also be interested in knowing. Main reasons for the switch to notificator: I’m the developer, so I have greater control over fixing issues and adding features. Easier and faster to customise (it’s built with this feature as one of its major goals). New versions of terminal-notifier are no longer a good choice to include in Workflows since it moved from an app bundle to a CLI tool, meaning that to properly use a custom icon (which was the whole point), a new empty app has to be included as well, to fake the sender. Uses less space than terminal-notifier, due to the new restriction. Requires less files than terminal-notifier, due to the new restriction, meaning more organisation. It’s unencumbered by licenses, so all pieces of the Workflow are once again public domain, which is important to me: that other users can use the code without having to worry about that. Also updated to the latest (yet unreleased) version of OneUpdater. To update, download the latest version (same URL) or wait a few days (15 or less) and it’ll prompt you to on next usage, since it uses OneUpdater. Edited May 18, 2017 by vitor Link to comment
TeamCro Posted May 22, 2017 Share Posted May 22, 2017 Is there a possibility to download the audio file instead of the video? Link to comment
vitor Posted May 22, 2017 Author Share Posted May 22, 2017 4 hours ago, TeamCro said: Is there a possibility to download the audio file instead of the video? It is technically possible, but it’s not a feature I plan to add. Few people want it, and it requires ffmpeg or avconv to be installed. The workflow currently has support for those but it’s strictly optional: if you have them it takes advantage of their features, if you don’t it does not. The first posts in this thread go into that discussion. Link to comment
TeamCro Posted May 23, 2017 Share Posted May 23, 2017 19 hours ago, vitor said: It is technically possible, but it’s not a feature I plan to add. Few people want it, and it requires ffmpeg or avconv to be installed. The workflow currently has support for those but it’s strictly optional: if you have them it takes advantage of their features, if you don’t it does not. The first posts in this thread go into that discussion. What do I need u to give, to make it for me Link to comment
deanishe Posted May 30, 2017 Share Posted May 30, 2017 On 22/05/2017 at 7:05 PM, vitor said: Few people want it The lack of audio support is actually the main reason I don't use DownVid and/or WatchList. If I'm at the computer, I generally just stream the video in mpv, and most of the stuff I save, I actually want as audio, so I can listen while I'm out and about. 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