Latchmor 584 Posted February 18, 2014 Share Posted February 18, 2014 Hi all, anyone know of a small app or script that you can run on a directory that will list/export the contents to html pages so you could use the resulting files to browse directories and play the files? The files are all mp4/aac so if it listed them 1 video per page with <video src="Name Of File.mp4" controls preload="metadata"></video> so they are embedded in the page that would be great! I could perhaps allow the user with this drive to run the app/script every time a new directory/video is added and it would create updated html files. I can do html/css myself so it's no big deal, just trying to save some time by getting the donkey work done quickly and I'll 'tart up' the files. I guess I'm trying to create a Portable Media Browser!!! Cheers Latchmor Link to comment Share on other sites More sharing options...
pmac 132 Posted February 20, 2014 Share Posted February 20, 2014 How about THIS? Link to comment Share on other sites More sharing options...
AdrianW 1053 Posted February 20, 2014 Share Posted February 20, 2014 (edited) You can always open a CMD window, and type this (assuming E: is your USB drive): E: dir /b > listing.txt Which will create a file called listing.txt containing all the file names. tree /A > tree.txt would give you a tree listing. Edited February 20, 2014 by AdrianW Link to comment Share on other sites More sharing options...
Latchmor 584 Posted February 20, 2014 Author Share Posted February 20, 2014 Thanks guys. After searching for a while I decided to create a vbscript based on some others I found and a lot of trial and error! I run the script from the folder with all the MP4s and it creates an html page for each MP4 with the MP4 embedded and it also creates a contents/menu page with links to the individual pages. Working ok so far but I'm still tweaking adding some CSS and Company Logo etc. Cheers Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now