module documentation

Infrastructure to facilitate playing songs

Class PlayThread Thread to be used for playing songs
Function play_music_in_background Play music in background if no song is provided, a random will be picked
Function play_random_music_in_background Play random music from the available songs in the background
Function play_song_in_background Play song from given file in background
Function __music Undocumented
def play_music_in_background(song_file: str | None = None) -> PlayThread:

Play music in background if no song is provided, a random will be picked

Parameters
song_file:str | NoneSong to play, set to None or omit to use a random one
Returns
PlayThreadUnderlying thread for playing music
def play_random_music_in_background() -> PlayThread:

Play random music from the available songs in the background

Returns
PlayThreadUnderlying thread for playing music
def play_song_in_background(file_name: str) -> PlayThread:

Play song from given file in background

Parameters
file_name:strFilename of song to play in background
Returns
PlayThreadUnderlying thread for playing music
def __music(song_title):

Undocumented