Exemple #1
0
def player():
    return {
        'now_playing': get_now_playing(),
        'total_songs': app.player.get_num_songs(),
        'playlist_songs': app.player.get_num_playlist_songs(),
        'player': app.player,
    }
Exemple #2
0
def now_playing():
    return get_now_playing()