Jump to content

DownMedia — Download media from popular sources


Recommended Posts

  • 4 weeks later...

Hej there,
unfortunately i get the error below, by trying using the "dv" shortcut:
 

[18:34:32.171] DownMedia[Script Filter] Queuing argument ''

[18:34:32.594] DownMedia[Script Filter] Script with argv '' finished

[18:34:32.595] ERROR: DownMedia[Script Filter] Code 1: Did not find "yt-dlp". You will need to install it yourself. Homebrew recommended.

I already installed yt-dlp with brew, though. 

==> Summary

🍺  /usr/local/Cellar/yt-dlp/2022.4.8: 2,158 files, 23.9MB

Any suggestions how this issue could be solved?

Link to comment
2 minutes ago, vitor said:

Welcome @Lennart,

 

I need all information requested, as linked to in the top post.

Sure! Sorry :)

-
brew upgrade yt-dlp -> Warning: yt-dlp 2022.4.8 already installed

Workflow version -> v22.4
- Alfred version-> 
Alfred 4.6.4 Build 1294, Tuesday 22nd March 2022
- MacOS -> Monterey 12.3.1 (Intel Mac)
- Failing link: 

- Debugger output -> 

[18:34:32.171] DownMedia[Script Filter] Queuing argument ''

[18:34:32.594] DownMedia[Script Filter] Script with argv '' finished

[18:34:32.595] ERROR: DownMedia[Script Filter] Code 1: Did not find "yt-dlp". You will need to install it yourself. Homebrew recommended.

- Additional information:

-> I tried using the "dv" shortcut

-> I already installed yt-dlp with brew, though. 

==> Summary

🍺  /usr/local/Cellar/yt-dlp/2022.4.8: 2,158 files, 23.9MB

-> Current Ruby Version 3.10

 

Link to comment
47 minutes ago, vitor said:

How about:

 

export PATH="/opt/homebrew/bin:/usr/local/bin:${PATH}"
which yt-dlp
file /usr/local/bin/yt-dlp

 

Also, to double-check, are you on Intel or Apple Silicon?

I am on an Intel Mac
 

Bildschirmfoto 2022-04-22 um 21.06.21.png

Link to comment
4 hours ago, vitor said:

Everything looks OK and you’re the only one experiencing this. You’ll have to figure out what’s different about your machine.


Is there a way of a foolproof fresh install of the workflow and their linked libraries (including ruby etc.)? To find the difference will be difficult.

Link to comment
1 minute ago, Lennart said:


Is there a way of a foolproof fresh install of the workflow and their linked libraries (including ruby etc.)? To find the difference will be difficult.

 

Before i posted the issue, i have already tried a lot to fix the issue 😕 without any result

I have used your old version "video download" in the past , but it is broken since monterey.

Bildschirmfoto 2022-04-23 um 08.47.01.png

Link to comment

Hi,

 

I am getting this error 

 

ERROR: DownVid[Run Script] downvid.sh: line 38: python: command not found

 

I am guessing it's a Python2/3 thing, likely something I messed up previously trying to follow the instructions at Making Python 2 Workflows work on macOS Monterey 12.3 and above

 

-----

  • The terminal output from the command: brew upgrade yt-dlp
Warning: yt-dlp 2022.4.8 already installed
  • The Workflow version you’re on.
22.5
  • The Alfred version you’re on.
4.6.5
  • The macOS version you’re on.
Monterey 12.3.1
  • At least one link that is failing.
  • The debugger output, set to All Information.
[13:27:05.984] DownVid[Script Filter] Queuing argument ''
[13:27:05.984] DownMedia[Script Filter] Queuing argument ''
[13:27:06.071] DownVid[Script Filter] Script with argv '(null)' finished
[13:27:06.073] DownVid[Script Filter] <?xml version='1.0'?><items>
    <item uid='Regular Download' arg='/var/folders/24/g_by4bn57x5890wq070h323m0000gn/T/downvid.h80UBLzx' valid='yes'>
        <title>DownVid</title>
        <subtitle>Downloads the video to your Desktop</subtitle>
        <icon>icon.png</icon>
    </item>
</items>
[13:27:06.584] DownVid[Script Filter] Queuing argument ''
[13:27:06.587] DownMedia[Script Filter] Queuing argument ''
[13:27:06.617] DownVid[Script Filter] Script with argv '(null)' finished
[13:27:06.619] DownVid[Script Filter] <?xml version='1.0'?><items>
    <item uid='Regular Download' arg='/var/folders/24/g_by4bn57x5890wq070h323m0000gn/T/downvid.DpRQl2Vl' valid='yes'>
        <title>DownVid</title>
        <subtitle>Downloads the video to your Desktop</subtitle>
        <icon>icon.png</icon>
    </item>
</items>
[13:27:07.023] DownMedia[Script Filter] Script with argv '' finished
[13:27:07.025] STDERR: DownMedia[Script Filter] /Users/<username>/Dropbox/applications/Alfred-app/Alfred.alfredpreferences/workflows/user.workflow.0270B806-90B3-4916-9A29-148EFEDE13F5/get_title_and_url.js: execution error: Error: Error: You need a supported browser as your frontmost app (-2700)
[13:27:07.026] DownMedia[Script Filter] {"items":[{"uid":"downmedia video","subtitle":"Add to WatchList (⌥): true 𐄁 Full Playlist (⌘): false","valid":true,"variables":{"media_type":"video","add_to_watchlist":true,"full_playlist":false},"mods":{"cmd":{"subtitle":"Add to WatchList (⌥): true 𐄁 Full Playlist (⌘): true","variables":{"media_type":"video","Add_to_watchlist":true,"full_playlist":true}},"alt":{"subtitle":"Add to WatchList (⌥): false 𐄁 Full Playlist (⌘): false","variables":{"media_type":"video","add_to_watchlist":false,"full_playlist":false}},"cmd+alt":{"subtitle":"Add to WatchList (⌥): false 𐄁 Full Playlist (⌘): true","variables":{"media_type":"video","add_to_watchlist":false,"full_playlist":true}}},"title":"https://www.youtube.com/watch?v=FqC2lO3Yy_4&list=PLPPomK5QKeyWV7PYC9s-PxrDhVIDpt4Oe","arg":"https://www.youtube.com/watch?v=FqC2lO3Yy_4&list=PLPPomK5QKeyWV7PYC9s-PxrDhVIDpt4Oe"}]}
[13:27:09.171] DownVid[Script Filter] Processing complete
[13:27:09.174] DownVid[Script Filter] Passing output '/var/folders/24/g_by4bn57x5890wq070h323m0000gn/T/downvid.DpRQl2Vl' to Run Script
[13:27:09.175] DownVid[Script Filter] Passing output '/var/folders/24/g_by4bn57x5890wq070h323m0000gn/T/downvid.DpRQl2Vl' to Run Script
[13:27:09.251] STDERR: DownVid[Run Script] /bin/bash: line 9: python: command not found
[13:27:09.440] ERROR: DownVid[Run Script] downvid.sh: line 38: python: command not found
downvid.sh: line 43: python: command not found
 
-----
 
Hope I got the right info. Thanks!
Edited by evanfuchs
Link to comment

Is it possible to select which folder media downloads into? Mine is currently going to an older downloads folder that I don't use any longer and I can't figure out how/where to change it.

 

Thanks so much, by the way, this workflow saves me SO much time and hassle.

Link to comment
Posted (edited)

Hey vitor, I'm having a problem where dv and da commands only give me the option to add YouTube videos to my WatchList workflow. I've tried installing/reinstalling the DownMedia workflow, using older versions, etc.

 

Any idea what might be wrong? No error codes or anything, M1 MBA. 

 

Edit: Nevermind I'm silly, it's working fine

Edited by donkdonk
Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...