There are two ways to go about:
Run the cell of the respective method number you chose. Just press the circular play button beside the rectangular box.
Login with your google account. Copy the js code and copy the token string for later when we deploy the heroku backend, the token should look something like this:
json
{"token": "jhgdfgdhgfh", "refresh_token": "1//sdhgbfdhghd", "token_uri": "https://oauth2.googleapis.com/token", "client_id": "hsdgfjhgfsd.apps.googleusercontent.com", "client_secret": "gfsdfsdgf", "scopes": ["https://www.googleapis.com/auth/drive"]}
Script{}
box you will see some code, delete all that and paste the js code that you obtained in step 18 there./manifest.json
to the end. For example if my herokuapp url is https://your-stremiogdrive.herokuapp.com
add /manifest.json
to the end to get: https://your-stremiogdrive.herokuapp.com/manifest.json
. Copy this url.https://your-stremiogdrive.herokuapp.com/manifest.json
) and press enter. Click install and you are done.The addon uses the drive api to search for video files in your drive (both your teamdrives and mydrive) kinda like using the google drive web search bar.
So after setting up the addon go and search for something on stremio. When you open a search result, stremio will ask the addon if it has the video for the search result. The addon searches for the video in your google drive and if it gets any result it will give it to stremio and stremio will display the results.
For example if I want to watch a movie, say its called Pirates of the Goolag, then: * I will open stremio and search for Pirates of the Goolag. If its on imdb then it should appear on the stremio search results (stremio fetches search results from imdb). * Open the search result for Pirates of the Goolag and stremio will ask the addon if it has a video stream for Pirates of the Goolag. * The addon searches in your Google Drive for Pirates of the Goolag and if its anywhere on your google drive, doesnt matter where as long as the video file has the name and year of the movie (for eg: Pirates of the Goolag 2016.mkv or Pirates.of.the.Goolag.2016.UHD.BluRay.x265.mkv), the addon will return the search results for Pirates of the Goolag. * Stremio will then display it as a video stream and all you have to do is tap on it and enjoy.
The addon searches for:
Series episodes by searching for Videos with their filename as the name of the series and which episode it was by a specifier. Supported specifiers are:
Heroku does not provide free tiers anymore. Do we have alternative to Heroku, and how to deploy it? Thanks.
``` 2023-02-02T03:24:47.770 app[e7885b13] sin [info] [2023-02-02 03:24:47 +0000] [528] [ERROR] Error handling request
2023-02-02T03:24:47.770 app[e7885b13] sin [info] Traceback (most recent call last):
2023-02-02T03:24:47.770 app[e7885b13] sin [info] File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/workers/sync.py", line 184, in handle_request
2023-02-02T03:24:47.770 app[e7885b13] sin [info] for item in respiter:
2023-02-02T03:24:47.770 app[e7885b13] sin [info] File "/app/.heroku/python/lib/python3.9/site-packages/werkzeug/wsgi.py", line 462, in next
2023-02-02T03:24:47.770 app[e7885b13] sin [info] return self._next()
2023-02-02T03:24:47.770 app[e7885b13] sin [info] File "/app/.heroku/python/lib/python3.9/site-packages/werkzeug/wrappers/response.py", line 49, in _iter_encoded
2023-02-02T03:24:47.770 app[e7885b13] sin [info] for item in iterable:
2023-02-02T03:24:47.770 app[e7885b13] sin [info] File "/app/sgd/routes.py", line 63, in get_streams
2023-02-02T03:24:47.770 app[e7885b13] sin [info] stream_meta = Meta(stream_type, stream_id)
2023-02-02T03:24:47.770 app[e7885b13] sin [info] File "/app/sgd/meta.py", line 120, in init
2023-02-02T03:24:47.770 app[e7885b13] sin [info] IMDb.init(self)
2023-02-02T03:24:47.770 app[e7885b13] sin [info] File "/app/sgd/meta.py", line 21, in init
2023-02-02T03:24:47.770 app[e7885b13] sin [info] if not self.get_meta_from_imdb_sg():
2023-02-02T03:24:47.770 app[e7885b13] sin [info] File "/app/sgd/meta.py", line 85, in get_meta_from_imdb_sg
2023-02-02T03:24:47.770 app[e7885b13] sin [info] self.set_meta(meta[0], year="y", name="l")
2023-02-02T03:24:47.770 app[e7885b13] sin [info] TypeError: set_meta() got an unexpected keyword argument 'name'
```
Not a programmer, need help when you have time please.
It's giving error: 400 on the google login page.
Hi! this was causing file names to break on android. Drive name was just 8000 new lines.
Thank you for working on this project.
I would like to know if the addon is also capable of intercepting the streaming variants that Google creates for each video on Drive. Encoding would no longer be necessary and it saves resources.
stremio addon gdrive google drive google-drive-api google-drive