kenanmike Posted July 23, 2021 Share Posted July 23, 2021 I wrote this to Vitor elsewhere but thought it's probably better putting this in this thread: Thanks *so* much for work on this workflow, it's fantastic! Question one: which would improve it even more for me: is it possible to show the Critics Consensus text as well inline, OR if not, then when hitting return/enter after having selected the movie is it possible to open the selected movie's page on RT rather than a search page?So having selected it in Alfred and hit enter on RT, it would open this page rather than this one. Question two: I'm not getting any preview of anything when I press shift at any point in the process. I'm on MacOS - any ideas what I need to change? Link to comment
tone Posted August 3, 2021 Author Share Posted August 3, 2021 Hi @kenanmike, I replied to your GitHub issue, but I'll post my reply here as well... This workflow uses The Open Movie Database as its source for RT ratings. Unfortunately, it looks like the breakdown of critic/audience ratings returns "N/A" for movies. It only returns the main tomato meter rating. As for opening the RT page, It looks like this is doable as the API now returns the RT url. This is implemented in version 2.9. Quote Question two: I'm not getting any preview of anything when I press shift at any point in the process. I'm on MacOS - any ideas what I need to change? Check to see that the Quick Look setting is enabled in Alfred (Alfred Preferences > Features > Previews). Then, when you search for a movie and hit return to get the details, you should be able to quick look the top item in Alfred. I've noticed that MacOS's quick look has changed the way it renders HTML over the years - and right now, the images aren't displayed. If you hit return on the top item, the page should open and display properly in your browser. Link to comment
tone Posted March 25, 2022 Author Share Posted March 25, 2022 I spent some time updating this workflow to work with macOS Monterey (sans Python 2). You can grab the latest version of the workflow on GitHub. cands 1 Link to comment
cands Posted March 25, 2022 Share Posted March 25, 2022 Thanks for updating! Unfortunately I get the following error complaining about urllib3 missing: [08:37:55.789] Logging Started... [08:38:03.847] ERROR: Movie and TV Show Search[Script Filter] Code 1: Traceback (most recent call last): File "media.py", line 11, in <module> import requests File "/Users/***/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.A2EAA197-3267-406D-B42C-8F427B547486/requests/__init__.py", line 43, in <module> import urllib3 ModuleNotFoundError: No module named 'urllib3' Link to comment
eshmootie Posted March 25, 2022 Share Posted March 25, 2022 1 hour ago, cands said: Thanks for updating! Unfortunately I get the following error complaining about urllib3 missing: [08:37:55.789] Logging Started... [08:38:03.847] ERROR: Movie and TV Show Search[Script Filter] Code 1: Traceback (most recent call last): File "media.py", line 11, in <module> import requests File "/Users/***/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.A2EAA197-3267-406D-B42C-8F427B547486/requests/__init__.py", line 43, in <module> import urllib3 ModuleNotFoundError: No module named 'urllib3' Getting the same error. Tried, pip3 install urllib3 and pip install urllib3. Dosen't solve it. Link to comment
tone Posted March 25, 2022 Author Share Posted March 25, 2022 5 hours ago, cands said: Thanks for updating! Unfortunately I get the following error complaining about urllib3 missing 4 hours ago, eshmootie said: Getting the same error Hi @cands, @eshmootie. I've created a new version (2.11.1). Let me know if it works for you. Thanks! Link to comment
vitor Posted March 25, 2022 Share Posted March 25, 2022 @tone You added “It will not work if you are using an older macOS version with python 2” to the release notes, but it will. /usr/bin/python3 already existed in previous versions and behaved the same way it does now. Link to comment
tone Posted March 25, 2022 Author Share Posted March 25, 2022 @vitor Thanks for the info. I'll remove that message from the release notes. Link to comment
cands Posted March 25, 2022 Share Posted March 25, 2022 44 minutes ago, tone said: Hi @cands, @eshmootie. I've created a new version (2.11.1). Let me know if it works for you. Thanks! Thanks a lot, I confirm that this version works on my system (macOS 12.3, Alfred 4.6.4). tone 1 Link to comment
eshmootie Posted March 26, 2022 Share Posted March 26, 2022 18 hours ago, tone said: Hi @cands, @eshmootie. I've created a new version (2.11.1). Let me know if it works for you. Thanks! Hi, Still getting an error; Link to comment
tone Posted March 26, 2022 Author Share Posted March 26, 2022 13 hours ago, eshmootie said: Still getting an error Hi @eshmootie. Some googling makes it seem like it could be related to the python3 installation. Did you manually install python3 or are you using the version packaged with macOS? Maybe the top answer here applies to you. I assume you can reach themoviedb API from your browser (try this API url) without any SSL/cert issues? It's possible I may need to add some code to avoid this issue for certain environments, but I'm definitely not a python expert! If any python devs out there have any suggestions, please let me know. Link to comment
kenanmike Posted April 11, 2022 Share Posted April 11, 2022 Thanks very much for keeping this workflow functional with all the Monterey complications. One question I had was about showing Rotten Tomatoes results for TV shows..they don't come up at the moment. I assume this is because RT shows ratings for each season, but *not* for the tv show overall. Anyway to specify season when I search a TV show on this workflow? Or maybe get RT to simply show season 1 ratings for each show by default? Link to comment
tone Posted April 11, 2022 Author Share Posted April 11, 2022 1 hour ago, kenanmike said: Anyway to specify season when I search a TV show on this workflow? Or maybe get RT to simply show season 1 ratings for each show by default? I rely on the OMDb API for RT ratings. Unfortunately, it doesn't look like they have the RT ratings for TV shows/seasons at this time. Link to comment
kenanmike Posted April 11, 2022 Share Posted April 11, 2022 3 hours ago, tone said: I rely on the OMDb API for RT ratings. Unfortunately, it doesn't look like they have the RT ratings for TV shows/seasons at this time. No problem, thanks for responding Link to comment
njm Posted August 22, 2022 Share Posted August 22, 2022 Hello there, I want to thank you for this wonderful workflow. I am having an issue with it as shown in the first pic. There is no issue with my connection. Also, I have tried my own OMDb API ID. None of these solutions work for me. My python version is shown in the second pic. Link to comment
tone Posted August 22, 2022 Author Share Posted August 22, 2022 Hi @njm. Please post your debug output. Hopefully it'll provide some hints as to why it's not working for you. Thanks. Link to comment
njm Posted August 22, 2022 Share Posted August 22, 2022 (edited) 9 minutes ago, tone said: Hi @njm. Please post your debug output. Hopefully it'll provide some hints as to why it's not working for you. Thanks. Thanks for your quick respond. Attached is the output of the debugging. Edited August 22, 2022 by njm Link to comment
tone Posted August 22, 2022 Author Share Posted August 22, 2022 Try the suggested solution(s) posted here. The issue might also be caused by a network firewall. njm 1 Link to comment
njm Posted August 22, 2022 Share Posted August 22, 2022 15 minutes ago, tone said: Try the suggested solution(s) posted here. Thank you so much @tone! This solution worked for me. tone 1 Link to comment
Aadako Posted March 27 Share Posted March 27 Thank you for this brilliant workflow! Is there a way to make the fields copyable? Like if I want to copy the director's name to the clipboard? thanks! Link to comment
tone Posted March 29 Author Share Posted March 29 Hi @Aadako, You can now copy (with command-C) the director, writer, and actors fields in version 2.16.1. Aadako and cands 1 1 Link to comment
DrDannySands Posted September 28 Share Posted September 28 Hi. Just found this workflow on the Alfred Gallery and it looks pretty great. But I can't get it to work. I am using version 2.16.1 of workflow. I requested and activated an API key but it seems to be an 8-digit number, is that correct? When I use the workflow, every time I only see the message "Uh oh, something went wrong." What am I doing wrong? Link to comment
sosaveme Posted September 29 Share Posted September 29 6 hours ago, DrDannySands said: Hi. Just found this workflow on the Alfred Gallery and it looks pretty great. But I can't get it to work. I am using version 2.16.1 of workflow. I requested and activated an API key but it seems to be an 8-digit number, is that correct? When I use the workflow, every time I only see the message "Uh oh, something went wrong." What am I doing wrong? Same issue. Is it possible to fix? Link to comment
vitor Posted September 29 Share Posted September 29 @DrDannySands @sosaveme Check the debugger. The developer needs that information to know what’s going on. 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