transcoder icon indicating copy to clipboard operation
transcoder copied to clipboard

404

Open privatesam opened this issue 7 years ago • 3 comments

I keep getting a 404 when I attempt to open a video file using your server:

10.7.7.80 - - [17/Jul/2017 23:27:54] "GET /library/Movies%2Mv1184_watts_sd.mp4 HTTP/1.1" 404 -

Any ideas?

privatesam avatar Jul 17 '17 22:07 privatesam

How do you get that link? Through the browser?

derolf avatar Jul 18 '17 08:07 derolf

Thats the error that gets thrown on the cli in on the server when I try and click on a video in the browser.

privatesam avatar Jul 18 '17 12:07 privatesam

Hey, I was getting the same error. If you remove the try: except block in @app.route("/library/<path:path>") you can see where it fails if you have debug mode enabled. Then you'll see that the app wants to write to a file in cache/ but gets a No such file or directory error. So just create a directory named cache inside the library directory and you're good. Maybe @derolf can add an empty folder to the repository so in the future people can just clone the app and start using it.

rognod avatar Oct 25 '17 19:10 rognod