MammaMia New Version 1.5, fixed sources and Live TV, added support for MFP, added support for quick deployment with vercel and render, added proxy support
This commit is contained in:
@@ -13,28 +13,11 @@
|
||||
|
||||
|
||||
|
||||
A Stremio Addon for high quality HTTPS Streams in Italian
|
||||
A Stremio Addon for HTTPS Streams in Italian
|
||||
|
||||
Movies, Series, Anime and Live TV are supported.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
While hosting, this project, remember that Filmpertutti uses Mixdrop. Mixdrop only allows seeing the videos from the same IP where they were generated so, if you want to scrape filmpertutti, you will have to host this project locally. Else, you can only scrape other providers.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Hosting your own instance is suggested, but you can use the public instance [linked](https://mammamia-urlo-mammamia.hf.space/) in the About Page of the repo.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -111,45 +94,21 @@ To host this project with Hugging Face, go to the [linked](https://huggingface.c
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
2. Go to [linked](https://huggingface.co/spaces/MammaMia-Urlo/CloneThisSpace) page and click on three dots on the top (right) part of the screen
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
3. Click Duplicate this Space
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
4. Insert TMDB Key and set visibility to Public
|
||||
|
||||
5. Duplicate the Project
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
5. Clone the Project
|
||||
|
||||
|
||||
6. Go into settings and click on Factory Rebuild.
|
||||
|
||||
|
||||
6. Go on the Github of the [Repo](https://github.com/UrloMythus/MammaMia/), and after creating a Github Account click on Fork -> Create New Fork -> Create One.
|
||||
7. After that go back to your HuggingFace Space and click on Files --> Click on Dockerfile ---> Click on edit ---> Where there is "YourUsername" put your Github username and where there is "YourRepoName" insert the name of the fork.
|
||||
8. When you are done click Commit Changes to main
|
||||
|
||||
|
||||
7. You are done!
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -158,24 +117,11 @@ To host this project with Hugging Face, go to the [linked](https://huggingface.c
|
||||
8. To install it on Stremio altought, you will need the Direct URL. It can be found on three dots --> Embed This Space --> Direct URL
|
||||
If you do not find it it means your space is Private. To fix so go to Settings and click Set Visibility to Public.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
9. How do I handle updates? To update the addon you will have to Factory Rebuild your space (in Settings) and, if there are any changes to config.json, copy them from [here](https://github.com/UrloMythus/MammaMia/blob/main/config.json) to the config.json in your Space, under Files.
|
||||
|
||||
|
||||
10. How can I use Live TV? For now it won't work on public instances. Wait until next update.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Technical Details:
|
||||
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 and Public Instance need to be disabled in the config.json (it should be by default if you clone the project from HF)
|
||||
|
||||
|
||||
How do I handle Updates ? First of all you will need to go to your GitHub Repo and click Sync Changes. Then go into your HuggingFace Space ---> Settings ---> Factory Reset
|
||||
|
||||
|
||||
|
||||
@@ -184,7 +130,7 @@ On Hugging Face you are forced to use the 8080 port because it is the only one a
|
||||
|
||||
## Render
|
||||
|
||||
|
||||
[](https://render.com/deploy?repo=https://github.com/UrloMythus/MammaMia)
|
||||
|
||||
|
||||
|
||||
@@ -244,13 +190,14 @@ To install this project on [Render](https://render.com/) follow these steps:
|
||||
|
||||
|
||||
|
||||
Remember, load_env and Public Instance needs to be disabled in the config.json
|
||||
Remember, load_env and Public Instance needs to be disabled in the config.json and Remote_Instance needs to be set to 1
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# Vercel
|
||||
[](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2FUrloMythus%2FMammaMia&env=PORT,TMDB_KEY&envDescription=PORT%20(8080)%20and%20API%20KEY%20of%20TMDB&envLink=https%3A%2F%2Fgithub.com%2FUrloMythus%2FMammaMia%2Fblob%2Fmain%2Fexample.env)
|
||||
|
||||
|
||||
|
||||
@@ -285,8 +232,8 @@ Open your instance URL and configure MammaMia. Once you are done you can click o
|
||||
| Enviroment Variable | Value |
|
||||
|-------------------------|---|
|
||||
|TMDB_KEY|INSERT YOUR API KEY HERE|
|
||||
|
||||
|
||||
|FORWARDPROXY| "YOURFORWARDPROXY/" For sites with Cloudfare Protections|
|
||||
|PROXY | ["PROXY1","PROXY2"] For sites with Cloudfare Protections, use as many as you wish|
|
||||
|
||||
|
||||
|
||||
@@ -306,7 +253,9 @@ Here is [linked](https://www.themoviedb.org/settings/api) a tutorial about how t
|
||||
|
||||
|
||||
|
||||
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:
|
||||
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. "1" means True, "0" means False
|
||||
|
||||
Down here all explained:
|
||||
|
||||
|
||||
|
||||
@@ -315,18 +264,20 @@ In the repo there is a config.json that you can modify to change some aspects of
|
||||
| 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 supported providers but it is less accurate|
|
||||
|load_env|Put "1" if enabled, "0" if disabled. It needs to be enabled if you need to load a .env file. On remote hosting services, like Hugging Face or Render, it needs to be disabled. |
|
||||
|enabled | If the site is enabled or not. This will override user-preference while configuration the add-on|
|
||||
|**_ForwardProxy|If that site needs to use a ForwardProxy which needs to be given in the enviroment variables
|
||||
|**_Proxy| If that site needs to use Proxies which need to be given in the enviroment variables
|
||||
|Cookies| Cookies needed for a specific site to work. To get them you will need to log in the site and obtain cookies using Dev Tools.
|
||||
|load_env|It needs to be enabled 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 Fast API APP|
|
||||
|PORT| The port for the Fast API APP. Default: 8080 |
|
||||
|
||||
|Icon| The Icon for the Add-On.|
|
||||
|Public_Instance| If it's the main public instance. Most of users shouldn't care about this|
|
||||
|Remote_Instance| Set to "1" if the server where the add-on is hosted has not the same IP of the one where Stremio Server is.|
|
||||
|Global_Proxy| Whatever to enable a Global Proxy which will be valid for every request in the add-on.
|
||||
|
||||
|
||||
For now Mysterius must be kept disabled if you do not know what you are doing.
|
||||
|
||||
For now Tantifilm, even if its player is not IP-Locked, does not work on Hugging Face.
|
||||
|
||||
|
||||
|
||||
Check those links to get the new Domain for the providers.
|
||||
@@ -355,14 +306,22 @@ Check those links to get the new Domain for the providers.
|
||||
|
||||
[ANIMEWORLD](https://t.me/AnimeWorldITA2)
|
||||
|
||||
[CB01](https://cb01official.community/)
|
||||
|
||||
## Mediaflow Proxy
|
||||
|
||||
This project uses Mediaflow-Proxy to bypass some protections. You can find instructions about how to install it [here](https://github.com/mhdzumair/mediaflow-proxy/).
|
||||
Not only some provider won't play without it, as said in the config, but also most of paid channels won't.
|
||||
|
||||
## Credits
|
||||
|
||||
- Big thanks to [Lovi0](https://github.com/Lovi-0), the creator of StreamingCommunity downloader, for helping me with some aspects of this project.
|
||||
- This project uses [MediaFlowProxy](https://github.com/mhdzumair/mediaflow-proxy/) in order to be able to play some Live TV channels. Big thanks to his creator, [mhdzumair](https://github.com/mhdzumair)
|
||||
- This project uses [MediaFlowProxy](https://github.com/mhdzumair/mediaflow-proxy/) in order to be able to play some Live TV channels and to proxy some streams. Big thanks to his creator, [mhdzumair](https://github.com/mhdzumair)
|
||||
|
||||
## Disclaimer
|
||||
This project does not host any illegal content on his servers, if you want any content to be taken down, please contact the actual owners of those sites.
|
||||
The Live TV sources are taken from online sites, avaiable on the web and indixed by Google.
|
||||
|
||||
We hereby issue this notice to inform you that this Add-On just function like an ordinary browser (like your browser) that fetch video files from internet, and do not violate the provisions of the Digital Millennium Copyright Act (DMCA). The Content these extensions may access is not hosted or made avaiable by us or the Stremio application but the websites they are browsing in their autonomous mode. It is sole responsibility of the user and his/her countries' or states' law. If you think they are violating any intellectual property then please contact the actual file hosts not the owners of this repository or the Stremio app.
|
||||
|
||||
Thank You.
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user