Code Monkey home page Code Monkey logo

Comments (8)

ssnjr2002 avatar ssnjr2002 commented on May 26, 2024 1

I think you forgot to update your cloudflare proxy script.

from stremio-gdrive.

ssnjr2002 avatar ssnjr2002 commented on May 26, 2024 1

No worries man, thanks for testing it out 👍

from stremio-gdrive.

ssnjr2002 avatar ssnjr2002 commented on May 26, 2024

Just pushed some updates. Let me know if everything works as intended now.

from stremio-gdrive.

AlyafeiAli avatar AlyafeiAli commented on May 26, 2024

Just pushed some updates. Let me know if everything works as intended now.

Thank you for the quick reply. But now I'm getting "Playback Error" on both devices, Android and Windows, no matter what file I play or which Shared Drive it's on.
Looks like something got broken

from stremio-gdrive.

ssnjr2002 avatar ssnjr2002 commented on May 26, 2024

Interesting... Everything seems to work fine for me... Okay to test whats wrong I need you to check if the addon results are correct, to do that:

  1. Get the link of your heroku app and at the end add this: /stream/movie/IMDB_ID.json Substitute IMDB_ID with an imdb id of an actual movie present in your google drive. For example if my heroku app name is sgd and the imdb id of a movie on my drive is tt2379713 my url would look like this: http://sgd.herokuapp.com/stream/movie/tt2379713.json

  2. Open the url and it will load a json file. In the json file you will see urls pointing to the cloudflare proxy. Open some of the urls and see if it downloads a file or if it errors out.

If multiple urls error out, then:

  1. Check if the url path is of the following pattern: https://cfproxy.name.workers.dev/load/FILE_ID/FILE_NAME.FILE_EXTENSION.

  2. Go to https://dash.cloudflare.com and open the editor to your worker and paste the url in the box in between GET and Send and click send. On the rightmost window you will see the response and with the error, tell me the error. If the error code is 500 then show me the console output below.

image

from stremio-gdrive.

AlyafeiAli avatar AlyafeiAli commented on May 26, 2024

All the links are giving me an error when I open them in my browser.
The links are like this: https://stremiov2.xxxxx.workers.dev/load/FileID/Men.in.Black.1997.Remastered.BluRay.1080p.TrueHD.5.1.AVC.REMUX-FraMeSToR.mkv
https://stremiov2.xxxxx.workers.dev/load/FileID/Men%20in%20Black%20%281997%29%20RM4K%20%281080p%20BluRay%20x265%2010bit%20Tigole%29.mkv

And I get error 404 when I paste it between GET and Send and click on Send, like shown below:
image

from stremio-gdrive.

AlyafeiAli avatar AlyafeiAli commented on May 26, 2024

Wait I noticed that your script is slightly different than the one I have... I think I messed up when I updated to the latest update.
I'll deploy from scratch and report back!

from stremio-gdrive.

AlyafeiAli avatar AlyafeiAli commented on May 26, 2024

Exactly!
I updated my cloudflare proxy script and now everything is working perfectly and the names are being passed as intended!
Thank you so much and sorry for the confusion I caused lol

from stremio-gdrive.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.