Jump to content

Critic Ratings — See ratings for movies, TV shows, anime, and manga


Recommended Posts

Posted

When reporting issues, please include your exact installed versions of:

  • The Workflow.
  • Alfred.
  • macOS.

In addition to:

  • The debugger output. Perform the failing action, click “Copy” on the top right and paste it here.
  • Details on what you did, what happened, and what you expected to happen. A short video of the steps with the debugger open may help to find the problem faster.

Thank you. Accurate and thorough information is crucial for a proper diagnosis which allows me to help you better.

  • vitor changed the title to Critic Ratings — See Metacritic ratings for movies, tv, games, and music
  • 6 months later...
  • vitor changed the title to Critic Ratings — Search Metacritic ratings for movies, TV shows, and games
  • 4 months later...
Posted

Vitor, I just downloaded this workflow to try it out and when i start searching with keyword it fallsback to a fallback search. Here are the results from the debugger. Any suggestions?

 

[18:24:38.226] Logging Started...
[18:24:44.795] Critic Ratings[Script Filter] Queuing argument 'god'
[18:24:45.418] Critic Ratings[Script Filter] Script with argv 'god' finished
[18:24:45.426] ERROR: Critic Ratings[Script Filter] Code 1: /Volumes/dbox v3/Dropbox (Personal)/Alfred/Alfred.alfredpreferences/workflows/user.workflow.432D5BBB-223F-483F-A5F1-C3AE638EA763/metacritic: execution error: Error: TypeError: undefined is not an object (evaluating 'apiSearch(searchQuery)["components"][0]') (-2700)

 

  • vitor changed the title to Critic Ratings — See ratings for movies, TV shows, anime, and manga
Posted

Updated to 2024.2.

  • Change ratings keyword to metacritic.
  • Add support for anime and manga searches.
  • Add configuration to define personal negative/mixed/positive rating thresholds.
  • Add icon for unrated media.
  • Set screenshot DPI to 144.
  • 3 months later...
Posted (edited)

Vitor, I'm having an issue with the metacritic search. Search fails and goes to a fallback search. Debugger below. I'm on 14.7 and Alfred 5.5.1. 

 

[20:46:38.581] Logging Started...

[20:46:46.121] Critic Ratings[Script Filter] Queuing argument 'run'

[20:46:46.406] Critic Ratings[Script Filter] Script with argv 'run' finished

[20:46:46.413] ERROR: Critic Ratings[Script Filter] Code 1: /Volumes/dbox v3/Dropbox (Personal)/Alfred/Alfred.alfredpreferences/workflows/user.workflow.2F7BC912-D3A7-49BC-A3AE-E990B28496AA/metacritic: execution error: Error: SyntaxError: JSON Parse error: Unrecognized token '<' (-2700)

Edited by sepulchra
too many typos!
Posted

Fixed in 2024.3. Thank you for the heads-up, it was working a day or two ago so it’s a recent change.

 

It is likely I’ll eventually replace Metacritic with something else, which might require an API key. No ETA.

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