Skip to content

Konsing/Criterion_Collection_Add-On_Stremio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

72 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation


🎬 Criterion Collection Stremio Add-on

Enhance your Stremio experience with a dedicated add-on for the Criterion Collection. Browse classic and contemporary films with high-quality metadata, posters, and seamless integration into Stremio.


πŸ–₯️ Stremio Interface Preview

πŸ”Ή Discover Page View

Explore the Criterion Collection directly within Stremio.

Criterion Collection Discover Page


🏠 Home Page View

See the collection featured on your Stremio home screen.

Criterion Collection Home Page


πŸ” Meta View / Catalog View

Browse the Criterion Collection with a sleek and intuitive catalog view.

Criterion Collection Catalog View 1 Criterion Collection Catalog View 2 Criterion Collection Catalog View 3 Criterion Collection Catalog View 4

πŸ”Ή Sorting Feature (NEW!)

Easily sort movies by Year, Rating, and Runtime in ascending or descending order!

Criterion Collection Sorting Feature

  • Sorting Options Available:
    • πŸ“… Year (Oldest First) β†’ Year Ascending
    • πŸ“… Year (Newest First) β†’ Year Descending
    • ⭐ IMDb Rating (Lowest to Highest) β†’ Rating Ascending
    • ⭐ IMDb Rating (Highest to Lowest) β†’ Rating Descending
    • ⏳ Runtime (Shortest First) β†’ Runtime Ascending
    • ⏳ Runtime (Longest First) β†’ Runtime Descending

Simply click the sorting menu in Stremio’s Discover section to change the sorting order!


πŸ“‘ Now Hosted on Render

The add-on is now hosted on Render.com and can be added to Stremio using the following link:

How to Add to Stremio (For Users)

  1. Open Stremio.
  2. Go to Settings > Add-ons.
  3. Click "Install via URL" and paste the following link:
    https://criterion-collection-add-on-stremio-qvt7.onrender.com/manifest.json
    
  4. Click "Install", and you're all set! 🎬

πŸ“Œ Features

  • βœ… Browse Criterion Collection movies inside Stremio.
  • βœ… Advanced Sorting (Sort by Year, Rating, and Runtime).
  • βœ… Movie Metadata (Title, Poster, IMDb Rating, Runtime).
  • βœ… Dynamically loads criterion_movies.json (No need to restart Stremio).
  • βœ… Deployable on Render, VPS, or Docker.

πŸš€ Getting Started (For Developers)

1️⃣ Clone the Repository

First, clone the repository:

git clone https://github.com/your-username/criterion-stremio-addon.git
cd criterion-stremio-addon

2️⃣ Install Dependencies

Ensure you have Python, Node.js, and Docker installed.

🐍 Python Dependencies

Run:

pip install selenium webdriver-manager selenium-stealth flask flask-cors python-dotenv

🟒 Node.js Dependencies

Run:

npm install stremio-addon-sdk

🐳 Install Docker (Optional for Containerized Deployment)

If you prefer running this as a Docker container, install Docker from:
➑️ Docker Installation Guide


πŸ•΅οΈβ€β™‚οΈ Step 1: Scrape Criterion Movie List

This script scrapes movie data directly from the Criterion website.

πŸ”Ή Run the scraper

Run:

python scraper.py
  • This will generate criterion_movies.json.

🎬 Step 2: Run the Stremio Add-on

This script integrates the scraped data with Stremio Add-on SDK.

πŸ”Ή Run the Stremio Add-on

node stremio_addon.js
  • The add-on will start at: http://localhost:7000/manifest.json
  • Open this URL in your browser to confirm it’s working.

πŸ“‘ Step 3: Add to Stremio

  1. Open Stremio.
  2. Go to Add-ons > Developer Mode > Add an Add-on.
  3. Enter:
    http://localhost:7000/manifest.json
    
  4. Click Install, then check if movies appear inside Stremio!

🐳 Running with Docker

1️⃣ Build Docker Image

Run the following command to build the Docker image:

docker build -t my-stremio-addon .

2️⃣ Run the Docker Container

Once the image is built, run the container:

docker run -p 7000:7000 my-stremio-addon
  • The add-on will be accessible at: http://localhost:7000/manifest.json

πŸš€ Fix: If Movies Are Not Showing in Stremio

If the add-on installs but doesn’t show movies, do the following:

βœ… Fix 1: Ensure stremio_addon.js is Correct

Make sure the stremio_addon.js script includes the "type": "movie" field in both the catalog and meta responses.

βœ… Fix 2: Check the Catalog Endpoint

Visit:

http://localhost:7000/catalog/movie/criterion.json

Ensure it returns a valid JSON response with movie data.

βœ… Fix 3: Restart Stremio & Reinstall the Add-on

  1. Remove the add-on from Stremio.
  2. Reinstall it using:
    http://localhost:7000/manifest.json
    
  3. Restart Stremio completely and check if movies appear.

πŸ”„ Hosting the Stremio Add-on

πŸ“‘ Deploying the Stremio Add-on

  1. Render.com (Current Hosting)
    • The add-on is already hosted on Render at:
    https://criterion-collection-add-on-stremio-qvt7.onrender.com/manifest.json
    
  2. VPS (DigitalOcean, Linode, etc.)
    • Use PM2 to keep the Stremio add-on running persistently.

πŸ”₯ Summary of Commands

πŸ“ Local Setup

pip install -r requirements.txt
npm install
python scraper.py
node stremio_addon.js

🐳 Docker Setup

docker build -t my-stremio-addon .
docker run -p 7000:7000 my-stremio-addon

πŸš€ Enjoy streaming Criterion movies in Stremio! 🎬


About

Stremio add-on that lists Criterion Collection Films

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •