JELLYFIN - IMDb and OMDb URL Whitelisting

From IT-Arts.net


Combined IMDb and OMDb Whitelisting

Jellyfin supports using both IMDb and OMDb as metadata providers. Therefore, you will need to whitelist the URLs for both services to ensure Jellyfin functions correctly.

Summary of URLs to Whitelist

The following **URLs** should be whitelisted in your firewall to ensure Jellyfin can access both **IMDb** and **OMDb**:

  • **IMDb**:
https://www.imdb.com
https://www.imdbapi.com
  • **OMDb**:
  https://www.omdbapi.com

Ensure that your firewall allows outbound access to these URLs on **port 443** (HTTPS), which is the standard for secure web traffic.

Necessary IMDb URLs to Whitelist

The following URLs must be whitelisted for Jellyfin to communicate with IMDb:

  • **IMDb API Base URL**:
https://www.imdb.com
  • **IMDb Data API** (for programmatic access to movie metadata):
https://www.imdbapi.com

These URLs are crucial for Jellyfin to access IMDb's movie metadata, including titles, ratings, posters, and more.

Troubleshooting IMDb Whitelisting Issues

If Jellyfin is unable to fetch metadata from IMDb, check the following:

  • Ensure that the firewall allows outbound access to **https://www.imdb.com** and **https://www.imdbapi.com**.
  • Review Jellyfin's logs under **Dashboard > Logs** for errors related to IMDb access.
  • Use tools like `ping` or `curl` to verify that the URLs are reachable from your server:
ping www.imdb.com
curl -I https://www.imdb.com

---

OMDb URL Whitelisting

OMDb (Open Movie Database) is an alternative metadata provider used by Jellyfin to gather movie details such as plot summaries, ratings, and release dates. OMDb requires an API key for access.

Necessary OMDb URLs to Whitelist

The primary URL for OMDb API access is:

  • **OMDb API Base URL**:
https://www.omdbapi.com

Additionally, if you're using OMDb with an API key, you'll need to whitelist the following pattern:

  • **OMDb API Key Request**:
https://www.omdbapi.com/?apikey=YOUR_API_KEY

These URLs allow Jellyfin to fetch metadata from OMDb, which can supplement or replace IMDb's metadata.

Troubleshooting OMDb Whitelisting Issues

If Jellyfin cannot fetch metadata from OMDb, follow these troubleshooting steps:

  • Ensure that the firewall allows outbound access to **https://www.omdbapi.com**.
  • Verify that the OMDb API key is correctly configured in **Dashboard > Metadata > Metadata Providers**.
  • Use tools like `ping` or `curl` to test connectivity to OMDb:
ping www.omdbapi.com
curl -I https://www.omdbapi.com

---

Troubleshooting

If Jellyfin is not fetching metadata correctly from IMDb or OMDb, follow these troubleshooting steps:

1. Check Jellyfin Logs

Check Jellyfin’s logs for any metadata fetch errors: - Go to **Dashboard > Logs** in the Jellyfin web interface. - Look for errors related to **IMDb** or **OMDb** metadata fetching.

You can also view Jellyfin logs directly on the server:

cat /var/log/jellyfin/jellyfin.log | grep "metadata"

2. Verify Network Connectivity

Ensure that your Jellyfin server has internet access and can reach the metadata providers. Use tools like `ping` or `curl` to verify connectivity:

ping www.imdb.com
ping www.omdbapi.com

Additionally, use `curl` to check for any response headers:

curl -I https://www.imdb.com
curl -I https://www.omdbapi.com

3. Test with cURL

You can manually test fetching metadata from OMDb to ensure the service is responding correctly. For example:

curl "https://www.omdbapi.com/?apikey=YOUR_API_KEY&t=Inception"

This can help determine whether the issue is with network connectivity or Jellyfin's configuration.

---