Add player functionality with HLS support and API integration
- Implemented a new Player class in player.js to handle audio playback, including HLS support using hls.js. - Created a shared API module in api.js for making HTTP requests with proper error handling. - Added DOM utility functions in dom.js for creating and clearing elements. - Introduced WebSocket connection handling in ws.js for real-time updates. - Developed a comprehensive CSS stylesheet for styling the application, including a high-contrast theme.
This commit is contained in:
6
.env.example
Normal file
6
.env.example
Normal file
@@ -0,0 +1,6 @@
|
||||
PORT=4173
|
||||
SESSION_SECRET=change-me-to-a-long-random-string
|
||||
DB_PATH=./data/db/oradio.sqlite
|
||||
ADMIN_BOOTSTRAP_USER=admin
|
||||
ADMIN_BOOTSTRAP_PASSWORD=changeme
|
||||
STREAM_CHECK_CRON=0 */6 * * *
|
||||
Reference in New Issue
Block a user