File size: 308 Bytes
410048c
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
# 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