Skip to content

giampy12/MammaMia

 
 

Repository files navigation

MammaMia

A Stremio Addon for high quality HTTPS Stream in Italian

While hosting, this project, remember that Filmpertutti uses Mixdrop. Mixdrop only allows seeing the videos only from the same IP where they were generated so, if you want to scrape filmpertutti, you have to host this project locally. Else, you can only scrape streamingcommunity.

Hosting your own instance is suggested but you can use the public instance linked in the About Page of the repo.

Installation

Local

Install required packages

pip install -r requirements.txt

Then to start the Flask server just execute:

python3 run.py

Hugging Face

To host this project with Hugging Face, go to the linked page and follow these steps

  1. Create an Hugging Face Account

  2. Click on three dots on the top (right) part of the screen

  3. Click Duplicate this Space

  4. Insert TMDB Key

  5. Clone the Project

  6. You are done!

  7. To install it on Stremio altought, you will need the Direct URL. It can be found on three dots --> Embed This Space --> Direct URL

  8. Do not forget to add /manifest.json

  9. To update the remote server, you can either upload files manually, or you can connect the repository locally and use your file manager to do so. If you know how a Dockerfile works you could even clone the repository every time, although you will need to modify the config.json (by disabling both load_dotenv and FILMPERTUTTI). Plus remember that the README.MD of Hugging Face MUST NOT be changed or the app won't run. If you just want to syncronize with the public instance then there is a button in the settings to do so.

On Hugging Face you are forced to use the 8080 port because it is the only one allowed to send/get network requests. Moreover, remember that load_env needs to be disabled (it should be by default if you clone the project from HF)

Render

To install this project on Render follow these steps:

  1. Create an Account

  2. Create a Web Service

  3. Fork the repo and then connect it to Render

  4. Among the other environment variables, put PORT = 8080. This is needed because render needs the Port given as an environment variable.

  5. As build command put pip install -r requirements and as run command put python3 run.py

  6. Then just finish Render Setup and you are done :)

Remember, load_env needs to be disabled in the config.json

How to add to Stremio

Just paste the URL/manifest.json in your search bar.

Enviroment Variables

Enviroment Variable Value
TMDB_KEY INSERT YOUR API KEY HERE

Here is linked a tutorial about how to get a TMDB KEY

Config

In the repo there is a config.json that you can modify to change some aspects of the addon like the domains of the sites. Down here all explained:

Config Value
Domain The domain of the site, must be a string
enabled If the site is enabled or not. "1" means true. "0" means false. Remember there is no point in enabling filmpertutti on a remote server since it's IP-LOCKED
fast_search "1" for enabled, "0" for disabled. It enables a faster search for TantiFilm and StreamingCommunity Providers but in case there are two movies/series with the exactly same name then they might take the wrong one
load_env Put "1" if enabled, "0" if disabled. It needs to be enable if you need to load a .env file. On remote hosting services, like Hugging Face or Render, it needs to be disabled.
HOST The host for the Flask APP
PORT The port for the Flask APP. Default: 8080

For now Mysterius must be kept disabled if you do not know what you are doing. For now Tantifilm, even if it's player is not IP-Locked, does not work on Hugging Face.

Check those links to get the new Domain for the providers.

FILMPERTUTTI

STREAMINGCOMMUNITY

TANTIFILM

About

A Stremio Addon for HTTPS Stream in Italian

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.7%
  • Dockerfile 1.3%