kd1889 / Internet-Radio-for-Kids

0 stars 0 forks source link

Background Actions #10

Closed sboahen closed 3 years ago

sboahen commented 3 years ago
sboahen commented 3 years ago

Added starter code: c310a89f8058f6ee4cf2f8fd14f47b5ccc040304 The starter code in the demo will have the main program components moved to radio.py once finalized. Pages (such as home or current track playing) will be created and from the base class Page. Procedure to test and screenshots of test in commit

NB Will need to probably add configuration for two lines for the lcd and change the setup

sboahen commented 3 years ago

Added functionality to move the cursor through positions on the lcd display: c1b421f076fccaa81a73f841477604d7a46d8fc7

sboahen commented 3 years ago

Updated starter code to update lcd screen when button is pushed: e55ede97f9d67f710cae493432fe439032ba60dc In this commit, only buttons 1 and 3 are activated for the home page and radio menu, respectively

This will be a model which will be moved to radio.py after review

sboahen commented 3 years ago

Updated button_lcd_demo.py to scroll through track and radio options: 6a91370

sboahen commented 3 years ago

Added functionality for MusicPlayer prototype: 295bb43 The functionality supports threading for playing all music in the background. It also supports changing music, even while one is playing already. Updates for playing music will be placed MusicPlayer play_track method. TrackList attribute should be updated accordingly A similar Player can be created for PlaySomething page by either creating a new class or merging with MusicPlayer to behave differently based on button pushed

kd1889 commented 3 years ago

Successfully emitted sound from radio and music player in the background while continuing to display the menu options. Selecting the menu options did not interrupt either services. Cannot attach sound files but recorded the demonstration