Im not a web developer, Im only a system administrator that knowns Python and some JS, and I struggle with CSS, any suggestion/help to improve the frontend is welcome.
The video player supports subtittles and changing the audio track
Some browsers cannot play some video formats because this project is not using transcoding to convert in realtime the video/sound, it only converts the subtitles.
To change the audio track from a video you must need to enable "Experimental Web Platform features" in your browser.
Because of the limitations of HTLM5 it can only play webVTT subs but dont worry it will convert it automatically.
It supports natively ASS/SSA subtitles by using jassub to render the subtitles and also webVTT
Python3, Windows/Linux, Flask, ffmpeg
-
To run via flask internal HTTP server via CLI
python3 run.py -b IP_addr -p port -d directory [--dirsize]
-
To use a WSGI for deployment -> (for example gunicorn)
gunicorn --env FOLDER=directory [--env SHOWSIZE=True] -b IP_addr app:app
To get the JSON you need to use curl or wget or send a request asking for a JSON (set in headers ACCEPT:"application/json").
For the text browsers and legacy browsers there is a custom html for better browsing (for lynx, links, w3m, ie explorer).
To download a folder you must pass at the end of the dir path /?mode=dir to download it as tar.
Or click the donwload option when there is nothing selected (modern browsers) or in basic html mode just click the button "dl dir"
-
Sort type
- s for size
- n for name
- d for date
-
Sort direction
- p for ascending
- d for descending