kd1889 / Internet-Radio-for-Kids

0 stars 0 forks source link

Web UI #17

Closed kd1889 closed 3 years ago

kd1889 commented 3 years ago
kd1889 commented 3 years ago

See Issue#18 regarding issues surrounding display of information

kd1889 commented 3 years ago

The homepage: image Currently, only shows the menu options. In the future, we will add functionalities to create/select users.

The radio menu: image 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: image 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: image The music menu shows two menu options: playlist and upload music.

The upload music menu: image 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: image 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: image 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: image Disabled radio page: image

All pages update corresponding configuration files, and the files are used for the application logic.