xilopaint Posted April 11, 2023 Share Posted April 11, 2023 (edited) YouTube Search An Alfred workflow to search YouTube. Setup The workflow requires an API key, which can be requested and set up by following the steps 1–3 that you can find here. Usage Search videos via the yt keyword, channels via the ytc keyword, and zplaylists via the ytp keyword. When displaying channels, select one of them and use the ⌘ modifier key to show its description.Contribute To report a bug or request a feature, please create an issue or submit a pull request. Edited June 3, 2023 by xilopaint JJJJ 1 Link to comment
dood Posted April 13, 2023 Share Posted April 13, 2023 Works great, thanks! xilopaint 1 Link to comment
xilopaint Posted May 14, 2023 Author Share Posted May 14, 2023 (edited) Update v0.2.0 New Features (ENH) Add channel search (#1) Add auto-update capability via OneUpdater (#2) Full Changelog: https://github.com/xilopaint/alfred-youtube/compare/v0.1.0…v0.2.0 Edited July 2, 2023 by xilopaint Link to comment
xilopaint Posted May 14, 2023 Author Share Posted May 14, 2023 (edited) The workflow is no longer available in Alfred Gallery and will be updated in the future through OneUpdater. I requested its removal because the Gallery doesn't accept non-notarized binaries. Using uncompiled code has performance and development limitations. Good news is that the workflow will be faster from now on (~40% faster). If you downloaded the workflow from Gallery I suggest you to download v0.2.0 from GitHub. Future updates will be automatic. Edited May 14, 2023 by xilopaint Link to comment
xilopaint Posted May 18, 2023 Author Share Posted May 18, 2023 (edited) Update v0.3.0 New Features (ENH) ENH: add playlist search (#3) Full Changelog: https://github.com/xilopaint/alfred-youtube/compare/v0.2.0…v0.3.0 Edited July 2, 2023 by xilopaint Link to comment
dood Posted May 31, 2023 Share Posted May 31, 2023 Hi @xilopaint, I'm getting this error on Monterey 12.6.5 / Alfred 5.1: [11:16:05.288] ERROR: YouTube Search[Script Filter] Code 134: dyld[26843]: Symbol not found: (_$s10Foundation12URLQueryItemV4name5valueACSSh_SSSghtcfC) Referenced from: '~/Documents/Alfred Backup/Alfred.alfredpreferences/workflows/user.workflow.8175CB29-AB63-4B61-A929-A1377FF7F02A/ytsearch' Expected in: '/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation' Link to comment
xilopaint Posted May 31, 2023 Author Share Posted May 31, 2023 1 hour ago, dood said: Hi @xilopaint, I'm getting this error on Monterey 12.6.5 / Alfred 5.1: [11:16:05.288] ERROR: YouTube Search[Script Filter] Code 134: dyld[26843]: Symbol not found: (_$s10Foundation12URLQueryItemV4name5valueACSSh_SSSghtcfC) Referenced from: '~/Documents/Alfred Backup/Alfred.alfredpreferences/workflows/user.workflow.8175CB29-AB63-4B61-A929-A1377FF7F02A/ytsearch' Expected in: '/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation' This suggests the Foundation framework version present in Monterey lacks a symbol needed to run the workflow. If you can't upgrade your system, I'm afraid there's nothing we can do. Link to comment
dood Posted June 2, 2023 Share Posted June 2, 2023 I actually discovered that v0.1.0 still works for me, so I'll stick with that Link to comment
xilopaint Posted June 3, 2023 Author Share Posted June 3, 2023 22 hours ago, dood said: I actually discovered that v0.1.0 still works for me, so I'll stick with that v0.1.0 was the only uncompiled version. If someone has the same issue on Ventura with the latest version, I'll investigate it. Link to comment
Faris Najem Posted June 13, 2023 Share Posted June 13, 2023 (edited) On 5/18/2023 at 7:01 PM, xilopaint said: Update v0.3.0 New Features (ENH) ENH: add playlist search (#3) Full Changelog: https://github.com/xilopaint/alfred-youtube/compare/v0.2.0…v0.3.0 Hi Xilopaint, Kindly, the first attached screenshot shows the results that appear after attempting to search for a video on YouTube, the second shows the results before I write any thing. Where could the expected error be? I have done everything required; I obtained the YouTube API key from Google and placed it in its designated location. The workflow is supposed to work, but unfortunately, I don't know where the problem lies. I would greatly appreciate your help. Thank you very much. Edited June 13, 2023 by Faris Najem Link to comment
xilopaint Posted June 13, 2023 Author Share Posted June 13, 2023 @Faris Najem You need to post the Workflow Debugger output. Link to comment
Faris Najem Posted June 13, 2023 Share Posted June 13, 2023 (edited) 12 hours ago, xilopaint said: @Faris Najem You need to post the Workflow Debugger output. This is the results: [02:28:08.359] Logging Started... [02:28:24.159] YouTube Search[Script Filter] Queuing argument 'm' [02:28:24.185] YouTube Search[Script Filter] Script with argv 'm' finished [02:28:24.190] ERROR: YouTube Search[Script Filter] Code 134: dyld: Symbol not found: _$s10Foundation12URLQueryItemV4name5valueACSSh_SSSghtcfC Referenced from: /Users/myname/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.B9A7A6EE-6772-47C0-B355-7B4995469646/./ytsearch (which was built for Mac OS X 13.3) Expected in: /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation Edited June 14, 2023 by Faris Najem Link to comment
xilopaint Posted June 14, 2023 Author Share Posted June 14, 2023 47 minutes ago, Faris Najem said: This is the results: [02:28:08.359] Logging Started... [02:28:24.159] YouTube Search[Script Filter] Queuing argument 'm' [02:28:24.185] YouTube Search[Script Filter] Script with argv 'm' finished [02:28:24.190] ERROR: YouTube Search[Script Filter] Code 134: dyld: Symbol not found: _$s10Foundation12URLQueryItemV4name5valueACSSh_SSSghtcfC Referenced from: /Users/farisal-mawwashi/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.B9A7A6EE-6772-47C0-B355-7B4995469646/./ytsearch (which was built for Mac OS X 13.3) Expected in: /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation What version of macOS are you running? Link to comment
Faris Najem Posted June 14, 2023 Share Posted June 14, 2023 5 hours ago, xilopaint said: What version of macOS are you running? MacOs Catalina 10.15.7 Link to comment
xilopaint Posted June 14, 2023 Author Share Posted June 14, 2023 (edited) 10 minutes ago, Faris Najem said: MacOs Catalina 10.15.7 You need macOS Ventura to run the latest workflow version. It seems v0.1.0 might work with some older versions of macOS according to this post: On 6/2/2023 at 4:49 PM, dood said: I actually discovered that v0.1.0 still works for me, so I'll stick with that Edited June 14, 2023 by xilopaint Link to comment
Faris Najem Posted June 14, 2023 Share Posted June 14, 2023 2 hours ago, xilopaint said: You need macOS Ventura to run the latest workflow version. It seems v0.1.0 might work with some older versions of macOS according to this post: Now, it's working. Thank you so much 💐. xilopaint 1 Link to comment
xilopaint Posted July 2, 2023 Author Share Posted July 2, 2023 (edited) Update v0.4.0 New Features (ENH) Add live broadcast search (#4) Full Changelog: https://github.com/xilopaint/alfred-youtube/compare/v0.3.0…v0.4.0 Edited July 2, 2023 by xilopaint 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