This project aims to re-create Kodi in more modern techonlogy. Allowing a community of more developers to develop plugins, themes & more (read more to find out how). Ideally, there will be two versions of Bodi. A completly static basic version that can be deployed to even GitHub Pages etc as well a server based version that includes a backend possibly via PHP, NodeJS etc...
The goal is the static version will be able to connect to other Bodi server instances & play media from there, install (supported static) addons, import movies / media file paths etc via JSON.
The goal for the server based is to have two versions -
- version that can be deployed & run on a simple web server running PHP (with the ability to share some content / libary content - maybe via API etc?)
- a executable version to run / deploy locally. With the ability to share media libraries to static Bodi instances and more.
The idea is to do something like this - benflix: Beautify your movie collection with a Netflix-like, one-file index page. then make addon's that allow developers to create plugins for Bodi in Node.JS (via node.php), Python (via Web Assembly possibly etc)
Notes: not saying PHP is the best route for this project, but if the server version is developed in PHP, a plugin could possibily be developed to auto-download / install Node.php (Node.js) & etc to server to be able to expland the plugin options / development options.
If you think the PHP route is the best route of doing this after reading / seeing the above resources. You can find a basic function for reading all files in a directory in the src
folder. Plus see this + https://stackoverflow.com/questions/32870725/load-video-file-to-html5-player-with-php - using these should be able to help you get an quick protoype in PHP setup!