UrloMythus commited on
Commit
c1a8f3b
·
1 Parent(s): 999b09d
Files changed (1) hide show
  1. README.md +12 -252
README.md CHANGED
@@ -1,255 +1,15 @@
 
 
 
 
 
 
 
 
 
 
1
 
2
-
3
 
4
-
5
 
6
- # MammaMia
7
-
8
-
9
-
10
-
11
-
12
-
13
-
14
- A Stremio Addon for high quality HTTPS Stream in Italian
15
-
16
-
17
-
18
-
19
-
20
-
21
-
22
- 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.
23
-
24
-
25
-
26
-
27
-
28
- 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.
29
-
30
-
31
-
32
-
33
-
34
-
35
-
36
- # Installation
37
-
38
-
39
-
40
-
41
-
42
- ## Local
43
-
44
-
45
-
46
-
47
-
48
- Install required packages
49
-
50
-
51
-
52
-
53
-
54
- ``pip install -r requirements.txt ``
55
-
56
-
57
-
58
-
59
- Then to start the Flask server just execute:
60
-
61
-
62
-
63
-
64
- ``python3 run.py``
65
-
66
-
67
-
68
-
69
-
70
- ## Hugging Face
71
-
72
-
73
-
74
-
75
-
76
- To host this project with Hugging Face, go to the [linked](https://huggingface.co/spaces/MammaMia-Urlo/MammaMia/) page and follow these steps
77
-
78
-
79
-
80
-
81
-
82
-
83
-
84
- 1. Create an Hugging Face Account
85
-
86
-
87
-
88
-
89
-
90
- 2. Click on three dots on the top (right) part of the screen
91
-
92
-
93
-
94
-
95
-
96
- 3. Click Duplicate this Space
97
-
98
-
99
-
100
-
101
-
102
- 4. Insert TMDB Key
103
-
104
-
105
-
106
-
107
-
108
- 5. Clone the Project
109
-
110
-
111
-
112
-
113
-
114
- 6. You are done!
115
-
116
-
117
-
118
-
119
-
120
- 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
121
-
122
-
123
-
124
-
125
-
126
- 8. Do not forget to add /manifest.json
127
-
128
- 9. To update the remote server, you can either upload files manually, or you can connect the [repository locally](https://huggingface.co/docs/hub/en/repositories-getting-started) 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.
129
- If you just want to syncronize with the public instance then there is a button in the settings to do so.
130
-
131
-
132
-
133
- 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)
134
-
135
-
136
-
137
-
138
-
139
- ## Render
140
-
141
-
142
-
143
-
144
-
145
- To install this project on [Render](https://render.com/) follow these steps:
146
-
147
-
148
-
149
-
150
-
151
- 1. Create an Account
152
-
153
-
154
-
155
-
156
-
157
- 2. Create a Web Service
158
-
159
-
160
-
161
-
162
-
163
- 3. Fork the repo and then connect it to Render
164
-
165
-
166
-
167
-
168
-
169
- 4. Among the other environment variables, put PORT = 8080. This is needed because render needs the Port given as an environment variable.
170
-
171
-
172
-
173
-
174
-
175
- 5. As build command put `` pip install -r requirements `` and as run command put ``python3 run.py ``
176
-
177
-
178
-
179
-
180
-
181
- 6. Then just finish Render Setup and you are done :)
182
-
183
-
184
-
185
- Remember, load_env needs to be disabled in the config.json
186
-
187
-
188
-
189
-
190
-
191
-
192
-
193
-
194
-
195
- # How to add to Stremio
196
-
197
-
198
-
199
-
200
-
201
- Just paste the URL/manifest.json in your search bar.
202
-
203
-
204
-
205
-
206
-
207
- # Enviroment Variables
208
-
209
-
210
-
211
-
212
-
213
-
214
-
215
- | Enviroment Variable | Value |
216
- |-------------------------|---|
217
- |TMDB_KEY|INSERT YOUR API KEY HERE|
218
-
219
-
220
-
221
-
222
-
223
- Here is [linked](https://developer.themoviedb.org/docs/getting-started) a tutorial about how to get a TMDB KEY
224
-
225
-
226
-
227
-
228
-
229
- # Config
230
-
231
-
232
-
233
- 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:
234
-
235
-
236
-
237
- | Config | Value |
238
- |-------------------------|---|
239
- | Domain | The domain of the site, must be a string |
240
- |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|
241
- |fast_search|"1" for enabled, "0" for disabled. It enables a faster search for TantiFilm Provider but in case there are two movies/series with the exactly same name then it might take the wrong one|
242
- |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. |
243
- |HOST| The host for the Flask APP|
244
- |PORT| The port for the Flask APP. Default: 8080 |
245
-
246
- For now Mysterius must be kept disabled if you do not know what you are doing.
247
-
248
-
249
- Check those links to get the new Domain for the providers.
250
-
251
- [FILMPERTUTTI](https://filmpertuttiiii.nuovo.live/)
252
-
253
- [STREAMINGCOMMUNITY](https://t.me/+jlXmmprhtakxYWJh)
254
-
255
- [TANTIFILM](https://tantinuovo.com/tantifilm-nuovo-indirizzo/)
 
1
+ ---
2
+ title: MammaMia
3
+ emoji: 💻
4
+ colorFrom: indigo
5
+ colorTo: green
6
+ sdk: docker
7
+ pinned: false
8
+ app_port: 8080
9
+ app_file: run.py
10
+ ---
11
 
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
13
 
14
+ Test
15