Jump to content

Movie and TV Show Search


Recommended Posts

  • 4 weeks later...
  • Replies 95
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

Movie and TV Show Search Search for movies or tv shows and get general info and ratings from various sites.     Features Get movie/tv show runtime, genre, MPAA rating

Looks like the issues with the OMDb API are resolved. The workflow should work smoothly once again.

Apart from people building super-cool workflow with the library (obviously), it's comments like this that make it all worth doing. Thanks very much, and I'm very glad to hear the docs are useful.

Posted Images

  • 2 months later...
  • 1 year later...

Hello, this seemed to be working before, but now, when I find a movie and hit enter on the rotten tomatoes icon to open a browser window and search in rottentomatoes.com, I always get "no results found" and then I have to manually type in the movie again in the search bar. What I found was that in the url, the workflow adds a "+" between words, whereas in a regular site search, there are spaces. How can I fix this?

 

Thx!

 

383064622_Screenshot2020-02-11at15_00_48.thumb.png.844fb62696fce299e9250e7123e7e0a4.png172437455_Screenshot2020-02-11at15_01_01.thumb.png.13e1245087f0222718831ca5ac425f44.png

Link to post
  • 11 months later...
  • 1 month later...

I recently updated this workflow and it stopped working. My internet connection is working fine, I also checked Little Snitch but Alfred is not blocked. Tried reinstalling it, but keep getting the same error.

 

 

[14:31:17.000] Movie and TV Show Search[Script Filter] Queuing argument ''
[14:31:17.109] Movie and TV Show Search[Script Filter] Script with argv '' finished
[14:31:22.255] Movie and TV Show Search[Script Filter] Queuing argument 'the good wife'
[14:31:23.023] Movie and TV Show Search[Script Filter] Script with argv '(null)' finished
[14:31:23.027] STDERR: Movie and TV Show Search[Script Filter] 14:31:22 workflow.py:2225 DEBUG    Workflow version : 2.8.0
14:31:22 workflow.py:1628 DEBUG    Reading settings from `/Users/XX/Library/Application Support/Alfred/Workflow Data/com.mcknight.movies/settings.json` ...
14:31:22 workflow.py:2423 DEBUG    Set last run version : 2.8.0
14:31:22 workflow.py:2267 DEBUG    Workflow finished in 0.502 seconds.
[14:31:23.027] Movie and TV Show Search[Script Filter] <?xml version="1.0" encoding="utf-8"?>
<items><item valid="no"><title>Uh oh... something went wrong</title><subtitle>Please check your internet connection.</subtitle></item></items>

Link to post
20 hours ago, Southgirl said:

I recently updated this workflow and it stopped working. My internet connection is working fine, I also checked Little Snitch but Alfred is not blocked. Tried reinstalling it, but keep getting the same error.

Hi @Southgirl

To rule out a network issue, you could try going to https://api.themoviedb.org/3/. If you don't receive the following, it means something on your network is blocking communication:

{"status_code":7,"status_message":"Invalid API key: You must be granted a valid key.","success":false}

 

If you are still having issues, you'll have to provide more details (version of Alfred, Mac OS, python, etc) and we can try to get to the bottom of it!

Link to post
6 hours ago, tone said:

{"status_code":7,"status_message":"Invalid API key: You must be granted a valid key.","success":false}

 

Hi @tone,

 

I got the same message.

 

I'm on 10.11.6 and Alfred version is 4.3.2. Now, the python version is 2.7.10 according to Terminal. But then I remembered I had updated it recently, so Alfred shows me the newer version. I thought updating Python automatically got rid of older versions? Let me know if you need more info. 

 

 

python.png

Link to post

So, I clicked on that URL and both times (with and without Little Snitch) I got a page with all kinds of information about the show on my search. The worklfow still keeps giving me the same connection error though (both times as well).

 

It worked flawlessly with the version I had before (from 2016, if I'm not mistaken). Is there something in the latest update that might not work on 10.11? Tested it with the VPN off, but no luck.

 

Tested it on a MacBook Pro running on 10.13.6 as well, it works fine there.

Edited by Southgirl
Link to post
On 3/4/2021 at 9:34 PM, Southgirl said:

I thought updating Python automatically got rid of older versions?

 

Only older versions you installed the same way. It never touches the system Python, which is what the workflow uses. Also, the system Python is Python 2. That isn't compatible with the Python 3 you've installed.

 

The problem you're having is almost certainly due to how old your OS is. It has an ancient version of OpenSSL that doesn't support the HTTPS encryption a lot of websites use. As Python uses OpenSSL, it can't connect to such websites.

 

You will have this issue with many workflows written in Python and probably other languages, too.

 

If you can't update to at least High Sierra, you could maybe get them to work by installing Python 2 with Homebrew and editing the workflows to use /usr/local/bin/python instead of /usr/bin/python.

 

Edited by deanishe
Link to post

@Southgirl You could try running these commands in Terminal to see which error message(s) you get.

 

/usr/bin/python -c 'import urllib; urllib.urlopen("https://api.themoviedb.org/3/")'

 

and

 

/usr/bin/python -c 'import urllib; urllib.urlopen("https://github.com/")'

 

Then we'll know if you do actually need to update your OS.

Link to post

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...