Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

All you need is this:

1. Self-hosted web server with local file system access to your media.

2. One HTML page that I will generate for you. This page will contain a media player and a play list of your media files.

With this approach the solution is ridiculously simple, but you are at the mercy of the client device web browser for media codec/container support. For audio this is not so restricting but for video this is really restricting.

The application that generates that one HTML page for you is this: https://github.com/prettydiff/mp3-master-list

It is a Node.js application and you will need to run npm install in the application directory before the other commands will work.

Enjoy!



Not a bad idea! Maybe you could create a GH page with some public domain music for a demo.


There are three examples in the repo. Look for the html files in the lib directory.

They won’t actually play media for you because I don’t include media files in the repo but you can get a very real sense of a long playlist and the usability of the media player controls and full playlist interaction.

Maybe I will work on better documentation in the future but I only wrote this to play files on my phone around the house.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: