I have a folder contained a lot of movies on sub folders all the movie folders formatted…
- User
I have a folder contained a lot of movies on sub folders all the movie folders formatted like so movie_name (year) genre, genre, .. rating for example: The Matrix (1999) Action, Sci-Fi 8.7 Balestra (2024) Drama, Fantasy, Sci-Fi, Sport, Thriller 7.6 The Lord of the Rings; The Fellowship of the Ring (2001) Action, Adventure, Drama, Fantasy 8.9
every movie folder contained the following:
- an .mp4 file for the movie it self
- an .jpg file for the movie cover
- sometimes it contained .srt or other subtitle format beside the movie or inside a folder named "sub" sometime there is no subtitle file
write an html code that let me see all the movies continued in that folder (let me put the path of the folder that the movie on it) let me sort the movies by year, name, the date of the folder of the movie was created (sort by the date of the movie wase downloaded) you can add sort modes as you see necessary filter the movies search by name the page will be a catalog a grid of cards every card containing the fooling info: the movie cover (add the rating in the top right the number with on a sircle) the movie name the movie genres in smaller font a tag that show if there is a subtitle a button to open the mp4 file with the windows os default video player a button to open the movie folder
and put on the top page an input field for the root folder path and a button to proses the entered path a text show the number of the movie that found some
use a simple python local server to open the index.html file and a .bat file to start the server and open the page on the browser so there will be three files index.html server.py start_here.bat
- Assistant