Closed kd1889 closed 3 years ago
See Issue#18 regarding issues surrounding display of information
The homepage: Currently, only shows the menu options. In the future, we will add functionalities to create/select users.
The radio menu:
The radio menu lists all the radio stations currently loaded onto the radio. Using the checkboxes, the users can select which radio stations they want enabled. We used yaml
to create configuration based on the selections as shown:
When a station is checked, and the form is submitted, the radio.yaml
file is updated, particular the state
of the radio stations.
The music menu: The music menu shows two menu options: playlist and upload music.
The upload music menu:
The upload music menu has two forms: the name of the song being added, and the actual file. If the file is not .mp3
, or .wav
, the upload fails. In the future, we will implement functionalities to upload multiple files at once.
The playlist menu: Has two more menu options. Playlist 1 and 2. Both are identical barring for song selection. Follows similar procedure to radio menu.
The parental control menu: Select multiple options for parental control: from a duration of play to a range of active time. If add music/stations is set to disabled, we prevent users from updating radio stations and uploading new music. Editing playlists is still allowed. Disabled upload page: Disabled radio page:
All pages update corresponding configuration files, and the files are used for the application logic.