ssnjr2002 / stremio-gdrive

Stremio addon for fetching videos from your google drive.
101 stars 93 forks source link

How to configure this!? #2

Closed hehenaice closed 3 years ago

hehenaice commented 3 years ago

I understand this repo is very much in its infancy, but I think this part is an essential part of this. How am I supposed to config this add-on to scan my given folders! Screenshot_2021-05-08-01-40-25-12_4d38fce200f96aeac5e860e739312e76

I'm not sure if Libdrive's config would exactly be working with it And if it would work please tell me or document it so that we can atleast test the thing. Thank you for reading through this.

ssnjr2002 commented 3 years ago

First of all this is not libdrive. Secondly the instructions are given in the readme. If you have any doubts go ahead and ask me here

hehenaice commented 3 years ago

First of all this is not libdrive. Secondly the instructions are given in the readme. If you have any doubts go ahead and ask me here

Okay I have the doubts. That is. How is the addon suppose the know where I have kept my movies and series? They are across multiple teamdrives. I understand this is not Libdrive but I just guessed the plugin was based on it. Your step by step guide was so good even a noob could do it. But there is no documentation out there telling how to configure it.

Edit : I possibly could be dumb and totally missing something obvious, so sorry for that and my request for this would be to create a Telegram support/chat group for this cuz, we are all data hoarders ;)

ssnjr2002 commented 3 years ago

Well 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:

The addon searches for:

hehenaice commented 3 years ago

2021-05-08T06:18:25.507435+00:00 app[web.1]: Fetched 51 stream(s) in 1.896s for name contains "godzilla" and name contains "vs" and name contains "kong" and name contains "2021" 2021-05-08T06:18:25.508453+00:00 app[web.1]: 10.14.24.199 - - [08/May/2021:06:18:25 +0000] "GET //stream/movie/tt5034838.json HTTP/1.1" 200 15273 "-" "Stremio/1.3.6 VersionCode/6304454 Package/com.stremio.one realme/RMX1931 Android/11 Dalvik/2.1.0 (Linux; U; Android 11; RMX1931 Build/RKQ1.200928.002)" 2021-05-08T06:19:11.643226+00:00 app[web.1]: Fetched 0 stream(s) in 0.418s for name contains "27" and name contains "dresses" and name contains "2008"

What you said seems to be working for one Movie And not for the other. Whereas in general drive search this shows up. Screenshot_2021-05-08-11-44-23-28_d5d9e833ce2a47bc1309ea2533a97fbc So, either the search is inconsistent, or I am going mad

Edit : More inconsistency proof 2021-05-08T07:08:37.748021+00:00 app[web.1]: 10.15.97.180 - - [08/May/2021:07:08:37 +0000] "GET //stream/movie/tt1951266.json HTTP/1.1" 200 15 "-" "Stremio/1.3.6 VersionCode/6304454 Package/com.stremio.one realme/RMX1931 Android/11 Dalvik/2.1.0 (Linux; U; Android 11; RMX1931 Build/RKQ1.200928.002)" 2021-05-08T07:09:40.914707+00:00 app[web.1]: Fetched 0 stream(s) in 0.415s for name contains "the" and name contains "hunger" and name contains "games" and name contains "mockingjay" and name contains "part" and name contains "1" and name contains "2014"

Screenshot_2021-05-08-12-40-58-74

hehenaice commented 3 years ago

So from my own trial and error, I deduce that the addon fails and succeeds to recognise a stream according to this image. IMG_20210508_121319 So what remains is to know why and how to fix it.

ssnjr2002 commented 3 years ago

Would you be willing to contact me on telegram? My userid id is @firstwastaken

mohitjoshi155 commented 3 years ago

So from my own trial and error, I deduce that the addon fails and succeeds to recognise a stream according to this image. IMG_20210508_121319 So what remains is to know why and how to fix it.

Yes libdrive also requires renaming like this for detection i m guessing libdrive code was used for some part here so its having the same issue it requires u to rename files like u suggested

ssnjr2002 commented 3 years ago

So from my own trial and error, I deduce that the addon fails and succeeds to recognise a stream according to this image. IMG_20210508_121319 So what remains is to know why and how to fix it.

Yes libdrive also requires renaming like this for detection i m guessing libdrive code was used for some part here so its having the same issue it requires u to rename files like u suggested

Nah the libdrive code was for just proxying a file from google drive not searching. Anyway some changes have been rolled out to fix this issue. It hopefully covers everything