Jump to content

roccitman

Member
  • Posts

    132
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by roccitman

  1. I think I have a direction. Found this and it seems to work. Gets me at least most of the way there anyway:
  2. Hey group Struggling to set up some date choices for a URL. So the URL is structured like this: /admin/schedules?unit_instance_id=345&from_date=03%2F04%2F2022&to_date=04%2F04%2F2026 I am getting the first part unit_instance_id from a list filter, but how can I get the from_date and put in the escape characters '%2f' instead of slashes?
  3. Got this with the ffmpeg -version command Roccos-MacBook-Pro:~ roccoapril$ ffmpeg -version ffmpeg version 4.4 Copyright (c) 2000-2021 the FFmpeg developers built with Apple clang version 11.0.0 (clang-1100.0.33.17) configuration: --prefix=/usr/local/Cellar/ffmpeg/4.4_1 --enable-shared --enable-pthreads --enable-version3 --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libspeex --enable-libsoxr --enable-libzmq --enable-libzimg --disable-libjack --disable-indev=jack --enable-videotoolbox libavutil 56. 70.100 / 56. 70.100 libavcodec 58.134.100 / 58.134.100 libavformat 58. 76.100 / 58. 76.100 libavdevice 58. 13.100 / 58. 13.100 libavfilter 7.110.100 / 7.110.100 libavresample 4. 0. 0 / 4. 0. 0 libswscale 5. 9.100 / 5. 9.100 libswresample 3. 9.100 / 3. 9.100 libpostproc 55. 9.100 / 55. 9.100
  4. Hey Vitor Odd, I've been trying this video: And it worked once in the five times I tried. But regardless of working or not, I get these extra two files with the extra .fxxx. at the end No Joke bottom to top.f137.mp4 No Joke bottom to top.f140.m4a Two debug outputs below, first was a fail, second was a success... failed debug output... [09:04:15.715] DownMedia[Script Filter] Queuing argument '' [09:04:16.323] DownMedia[Script Filter] Script with argv '' finished [09:04:16.326] 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":"(1) No Joke bottom to top - YouTube","arg":"https://www.youtube.com/watch?v=beedCJz8P5E"}]} [09:04:17.652] DownMedia[Script Filter] Processing complete [09:04:17.659] DownMedia[Script Filter] Passing output 'https://www.youtube.com/watch?v=beedCJz8P5E' to Run Script [09:04:48.541] ERROR: DownMedia[Run Script] ERROR: [Errno 2] No such file or directory: '/Users/roccoapril/Downloads/No Joke bottom to top.f137.mp4' [09:04:48.568] DownMedia[Run Script] Processing complete [09:04:48.570] DownMedia[Run Script] Passing output '' to Run Script successful debut output... [09:08:59.966] DownMedia[Script Filter] Queuing argument '' [09:09:00.565] DownMedia[Script Filter] Script with argv '' finished [09:09:00.568] 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":"(1) No Joke bottom to top - YouTube","arg":"https://www.youtube.com/watch?v=beedCJz8P5E"}]} [09:09:01.324] DownMedia[Script Filter] Processing complete [09:09:01.332] DownMedia[Script Filter] Passing output 'https://www.youtube.com/watch?v=beedCJz8P5E' to Run Script [09:09:31.693] STDERR: DownMedia[Run Script] xattr: No such file: /Users/roccoapril/Downloads/No Joke bottom to top.mp4 55:207: execution error: Alfred 4 got an error: Cannot find workflow with Id 'com.vitorgalvao.alfred.watchlist' (-2) You do not have WatchList installed. Download it at https://github.com/vitorgalvao/alfred-workflows/tree/master/WatchList [09:09:31.702] DownMedia[Run Script] Processing complete [09:09:31.703] DownMedia[Run Script] Passing output '' to Run Script
  5. Ahh sorry, missed those for some reason. Yes, doesn't seem to matter the link, and doesn't seem to matter how many times it's tried.
  6. Hey Vitor I think this one is something simple, but I can't put my finger on it. Getting a download failed message. Do I have another video stuck in a queue? 1) Warning: youtube-dl 2021.4.26 already installed 2) Version 21.4 3) 4.3.4 [1229] 4) macOS version is 10.14.6 (Mojave) 5) Failing link: https://www.youtube.com/watch?v=i_ttPiNlVjM 6)output... [08:41:44.157] DownMedia[Script Filter] Queuing argument '' [08:41:44.890] DownMedia[Script Filter] Script with argv '' finished [08:41:44.894] 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":"(1) Hard Enduro Training with Megs Braap - YouTube","arg":"https://www.youtube.com/watch?v=i_ttPiNlVjM"},{"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=ajYVBiVotzA","arg":"https://www.youtube.com/watch?v=ajYVBiVotzA"}]} [08:41:52.288] DownMedia[Script Filter] Processing complete [08:41:52.312] DownMedia[Script Filter] Passing output 'https://www.youtube.com/watch?v=i_ttPiNlVjM' to Run Script [08:42:30.912] ERROR: DownMedia[Run Script] ERROR: [Errno 2] No such file or directory: '/Users/roccoapril/Downloads/Hard Enduro Training with Megs Braap.f137.mp4' [08:42:30.925] DownMedia[Run Script] Processing complete [08:42:30.927] DownMedia[Run Script] Passing output '' to Run Script
  7. Easy and done! Like when your modem doesn't work. Unplug, wait 30 seconds and plug back in. Have a nice weekend my man!
  8. Hello Vitor This is low priority but I thought I would ask. Getting URL invalid when trying to extract the audio. I tried to change the audio format to m4a (changed it back to mp3) but I fear I messed something else up (judging by the debug warning). 1) Terminal output: Updating Homebrew... ==> Auto-updated Homebrew! Updated 1 tap (homebrew/core). ==> Updated Formulae Updated 2 formulae. Warning: youtube-dl 2020.11.19 already installed 2) Workflow version is v20.11 3) Alfred version is 4.2.1 [1187] 4) macOS version is 10.14.6 (Mojave) 5) Failing link: https://www.youtube.com/watch?v=ISDa3-rHgds 6) Debug output: [09:16:37.460] Logging Started... [09:16:43.373] DownMedia[Script Filter] Queuing argument '' [09:16:43.889] DownMedia[Script Filter] Script with argv '' finished [09:16:43.892] DownMedia[Script Filter] {"items":[{"uid":"downmedia audio","subtitle":"Add to WatchList (⌥): true 𐄁 Full Playlist (⌘): false","valid":true,"variables":{"media_type":"audio","add_to_watchlist":true,"full_playlist":false},"mods":{"cmd":{"subtitle":"Add to WatchList (⌥): true 𐄁 Full Playlist (⌘): true","variables":{"media_type":"audio","Add_to_watchlist":true,"full_playlist":true}},"alt":{"subtitle":"Add to WatchList (⌥): false 𐄁 Full Playlist (⌘): false","variables":{"media_type":"audio","add_to_watchlist":false,"full_playlist":false}},"cmd+alt":{"subtitle":"Add to WatchList (⌥): false 𐄁 Full Playlist (⌘): true","variables":{"media_type":"audio","add_to_watchlist":false,"full_playlist":true}}},"title":"How-to Install Thunder Products TPI Torque Wings - YouTube","arg":"https://www.youtube.com/watch?v=ISDa3-rHgds"}]} [09:16:45.057] DownMedia[Script Filter] Processing complete [09:16:45.063] DownMedia[Script Filter] Passing output 'https://www.youtube.com/watch?v=ISDa3-rHgds' to Run Script [09:16:46.176] ERROR: DownMedia[Run Script] Usage: youtube-dl [OPTIONS] URL [URL...] youtube-dl: error: invalid audio format specified [09:16:46.183] DownMedia[Run Script] Processing complete [09:16:46.184] DownMedia[Run Script] Passing output '' to Run Script [09:20:18.579] DownMedia[Script Filter] Queuing argument '' [09:20:19.132] DownMedia[Script Filter] Script with argv '' finished [09:20:19.144] DownMedia[Script Filter] {"items":[{"uid":"downmedia audio","subtitle":"Add to WatchList (⌥): true 𐄁 Full Playlist (⌘): false","valid":true,"variables":{"media_type":"audio","add_to_watchlist":true,"full_playlist":false},"mods":{"cmd":{"subtitle":"Add to WatchList (⌥): true 𐄁 Full Playlist (⌘): true","variables":{"media_type":"audio","Add_to_watchlist":true,"full_playlist":true}},"alt":{"subtitle":"Add to WatchList (⌥): false 𐄁 Full Playlist (⌘): false","variables":{"media_type":"audio","add_to_watchlist":false,"full_playlist":false}},"cmd+alt":{"subtitle":"Add to WatchList (⌥): false 𐄁 Full Playlist (⌘): true","variables":{"media_type":"audio","add_to_watchlist":false,"full_playlist":true}}},"title":"How-to Install Thunder Products TPI Torque Wings - YouTube","arg":"https://www.youtube.com/watch?v=ISDa3-rHgds"}]} [09:20:20.137] DownMedia[Script Filter] Processing complete [09:20:20.154] DownMedia[Script Filter] Passing output 'https://www.youtube.com/watch?v=ISDa3-rHgds' to Run Script [09:20:22.541] ERROR: DownMedia[Run Script] Usage: youtube-dl [OPTIONS] URL [URL...] youtube-dl: error: invalid audio format specified [09:20:22.558] DownMedia[Run Script] Processing complete [09:20:22.559] DownMedia[Run Script] Passing output '' to Run Script
  9. @vitor Thank you so much for this, and all of your help over the years. I will endeavor to follow your instructions!
  10. Yes, thanks to @deanishe for helping out! @vitor I upgraded youtube-dl again and I'm getting farther in the process now. Gathering more data for you.
  11. Hey Vitor. youtube-dl is updated. but still getting the url failed. Here's the debugging output if it helps. [08:35:51.138] Logging Started... [08:36:02.624] DownMedia[Script Filter] Queuing argument '' [08:36:03.129] DownMedia[Script Filter] Script with argv '' finished [08:36:03.133] DownMedia[Script Filter] {"items":[{"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":"(29) 15 Scary Moments of Strange Things Found On the Road! - YouTube","arg":"https://www.youtube.com/watch?v=6yDDmGua5c8"}]} [08:36:04.711] DownMedia[Script Filter] Processing complete [08:36:04.770] DownMedia[Script Filter] Passing output 'https://www.youtube.com/watch?v=6yDDmGua5c8' to Run Script [08:36:09.906] ERROR: DownMedia[Run Script] WARNING: Unable to extract video title ERROR: This video is unavailable. [08:36:09.951] DownMedia[Run Script] Processing complete [08:36:09.952] DownMedia[Run Script] Passing output '' to Run Script Can't extract title? Do I have a funky setting done wrong?
  12. Here's the output if it helps... [20:35:34.404] DownMedia[Script Filter] Queuing argument '' [20:35:35.148] DownMedia[Script Filter] Script with argv '' finished [20:35:35.152] DownMedia[Script Filter] {"items":[{"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":"(27) Ends & Odds: DIY Bandsaw Guides & More! - YouTube","arg":"https://www.youtube.com/watch?v=XIAC1zyYGrc"}]} [20:35:37.042] DownMedia[Script Filter] Processing complete [20:35:37.054] DownMedia[Script Filter] Passing output 'https://www.youtube.com/watch?v=XIAC1zyYGrc' to Run Script [20:35:43.469] ERROR: DownMedia[Run Script] WARNING: Unable to extract video title ERROR: This video is unavailable. [20:35:43.475] DownMedia[Run Script] Processing complete [20:35:43.476] DownMedia[Run Script] Passing output '' to Run Script
  13. Yeah, still getting the error after updating youtube-dl... youtube-dl is up-to-date (2020.01.24)
  14. Hmm, something's wrong then. I left it for almost an hour and it doesn't seem to complete.. :~ ra$ /ra/Library/Application Support/Alfred/Workflow Data/com.vitorgalvao.alfred._sharedresources/bin/youtube-dl" --update >
  15. Thanks V! Is this two separate commands or can you dump the whole thing into Terminal at once? And how long does it take to run?
  16. Hey man, getting that invalid URL error after installing the new version. Can you remind me where the files are I need to delete for a fresh install?
  17. Yeah, I did that but no love. Then I unloaded everything and re-installed. Seems to be working now!
  18. Hmm, I get the beginning notification now, but then just this in the dvp [12:11:39.096] Logging Started... [12:11:50.228] DownVid[Script Filter] Queuing argument '' [12:11:53.232] DownVid[Script Filter] Script with argv '' finished [12:11:53.236] DownVid[Script Filter] {"items":[{"uid":"dv","title":"Download Video","subtitle":"Downloads the video to Downloads","arg":"https://www.youtube.com/watch?v=Nmdy_8ovit0 video watchlist_false playlist_false","mods":{"cmd":{"subtitle":"Download full playlist","arg":"https://www.youtube.com/watch?v=Nmdy_8ovit0 video watchlist_false playlist_true"}}},{"uid":"da","title":"Download Audio","subtitle":"Downloads the audio to Downloads","arg":"https://www.youtube.com/watch?v=Nmdy_8ovit0 audio watchlist_false playlist_false","mods":{"cmd":{"subtitle":"Download full playlist","arg":"https://www.youtube.com/watch?v=Nmdy_8ovit0 audio watchlist_false playlist_true"}}}]} [12:11:55.174] DownVid[Script Filter] Processing complete [12:11:55.179] DownVid[Script Filter] Passing output 'https://www.youtube.com/watch?v=Nmdy_8ovit0 video watchlist_false playlist_false' to Run Script [12:12:25.262] DownVid[Script Filter] Queuing argument '' [12:12:25.466] DownVid[Script Filter] Queuing argument '' [12:12:25.664] DownVid[Script Filter] Script with argv '' finished [12:12:25.669] DownVid[Script Filter] {"rerun":1,"items":[{"title":"DownVid Progress","subtitle":"Getting download info…"}]} [12:12:26.666] DownVid[Script Filter] Queuing argument '' [12:12:26.835] DownVid[Script Filter] Script with argv '' finished [12:12:26.841] DownVid[Script Filter] {"rerun":1,"items":[{"title":"DownVid Progress","subtitle":"Getting download info…"}]} [12:12:27.836] DownVid[Script Filter] Queuing argument '' [12:12:28.031] DownVid[Script Filter] Script with argv '' finished [12:12:28.040] DownVid[Script Filter] {"rerun":1,"items":[{"title":"DownVid Progress","subtitle":"Getting download info…"}]} [12:12:29.033] DownVid[Script Filter] Queuing argument '' [12:12:29.203] DownVid[Script Filter] Script with argv '' finished [12:12:29.212] DownVid[Script Filter] {"rerun":1,"items":[{"title":"DownVid Progress","subtitle":"Getting download info…"}]} [12:12:30.205] DownVid[Script Filter] Queuing argument '' [12:12:30.380] DownVid[Script Filter] Script with argv '' finished [12:12:30.394] DownVid[Script Filter] {"rerun":1,"items":[{"title":"DownVid Progress","subtitle":"Getting download info…"}]} [12:12:31.382] DownVid[Script Filter] Queuing argument '' [12:12:31.552] DownVid[Script Filter] Script with argv '' finished [12:12:31.562] DownVid[Script Filter] {"rerun":1,"items":[{"title":"DownVid Progress","subtitle":"Getting download info…"}]} [12:12:32.558] DownVid[Script Filter] Queuing argument '' [12:12:32.734] DownVid[Script Filter] Script with argv '' finished [12:12:32.750] DownVid[Script Filter] {"rerun":1,"items":[{"title":"DownVid Progress","subtitle":"Getting download info…"}]} [12:12:33.130] DownVid[Script Filter] Processing complete
  19. Yeah, just this in dvp... [11:45:14.654] Logging Started... [11:45:17.472] DownVid[Script Filter] Queuing argument '' [11:45:17.600] DownVid[Script Filter] Queuing argument '' [11:45:17.784] DownVid[Script Filter] Script with argv '' finished [11:45:17.787] DownVid[Script Filter] {"rerun":1,"items":[{"title":"DownVid Progress","subtitle":"ffmpeg There re't y subtites t embe / WATCH - Kellyanne Conway asks White House reporter to reveal his ethnicity.f136.mp4","valid":false,"mods": It keeps repeating. And no notifications. [Btw, Alfred 4.0.3, macOS Mojave, Safari 12.1.1, and downvid 1.22.9] EDITED TO ADD: Just updated to the latest version of the workflow. Things are working better now!
  20. Just getting this now in the debugger. Nothing past that seems to happen. [11:39:49.003] DownVid[Script Filter] Queuing argument '' [11:39:49.264] DownVid[Script Filter] Script with argv '' finished [11:39:49.267] DownVid[Script Filter] {"items":[{"uid":"dv","title":"Download Video","subtitle":"Downloads the video to Downloads","arg":"https://www.youtube.com/watch?v=Nmdy_8ovit0 video watchlist_false playlist_false","mods":{"cmd":{"subtitle":"Download full playlist","arg":"https://www.youtube.com/watch?v=Nmdy_8ovit0 video watchlist_false playlist_true"}}},{"uid":"da","title":"Download Audio","subtitle":"Downloads the audio to Downloads","arg":"https://www.youtube.com/watch?v=Nmdy_8ovit0 audio watchlist_false playlist_false","mods":{"cmd":{"subtitle":"Download full playlist","arg":"https://www.youtube.com/watch?v=Nmdy_8ovit0 audio watchlist_false playlist_true"}}}]} [11:39:50.092] DownVid[Script Filter] Processing complete [11:39:50.094] DownVid[Script Filter] Passing output 'https://www.youtube.com/watch?v=Nmdy_8ovit0 video watchlist_false playlist_false' to Run Script
  21. Hey sots, most things seem to work for me. Can you elaborate?
×
×
  • Create New...