v0 Objectives - sanchitsharma/background-volumio GitHub Wiki
SCOPE
- Timed Playlists
Hard coded time based playlist exist in rpi for multiple users. For example, there might be a playlist for
morning - 7:30-9:30
evening -8:30-10:00
night - 10:00-12:00 am
text file based configuration of playlists
- Users
Each user is a user in RPi.
Each user has individual playlist for each time to which he/she can add/edit/delete songs via some plugins - (current plugin youtube)
Each user has an identification based on bluetooth/wifi ip address
For each user. A script to-
add song to a timed playlist via some plugin (currently youtube)
list all songs in a playlist
delete a song based on number in list-all
- Background Player
Whenever rpi is on (Make a state diagram for this)->
Detect which users are around
If time is right for some timed-playlist
Script to switch off background player if want to control own songs
Modules
- Playlist Editor
Module for editing/updating EXISTING playlists currently from youtube plugin
Youtube mp3 Downloader based on link and storing it
Script to (for a user)-
Add song to a playlist
List songs in a given playlist
delete a song based on number in list-all
- Configuration Scripts
Init Scripts to create initial or update (based on conf files. A) -
Users
Timed Playlists
-
Playlist Scripts -
to combine multiple playlists into one before any timed playlist starts
-
A Player
A checker script which keeps checking for users around and recompiles playlist if any new user is around
A stateful script which plays songs (and does not repeat in that cycle) from a timed playlist