# Module to store the current song info and file path for web streaming | |
from typing import Optional, Dict | |
_current_song: Optional[Dict] = None | |
def set_current_song(song_info: Dict): | |
global _current_song | |
_current_song = song_info | |
def get_current_song() -> Optional[Dict]: | |
return _current_song |