I'm pretty new to Python\Django.
I'm trying to make a local Netflix-like Library for my Movie\TV shows collection.
The general idea is that the user chooses a media folder, the server side runs on the files in the folder adds them to the database and then the user can search for the items and play them back in the GUI.
The first snag I ran into is getting the folder path from the user without actually uploading any files. After doing some searching online I found this :
<input type="file" id="file_input" webkitdirectory="" directory="">
This HTML code allows the user to choose a folder and iterates through all the files inside, however, I don't know how can I pass this information to views.py so that I could run logic on the input.
Does anyone know how this could be accomplished ?