Exemplo n.º 1
0
def album():
    global album
    try:
        music_data = pandora_out()
        album = music_data['album']
        album = album.rstrip('\n')
    except Exception:
        pass
    return album or "Waiting!"
Exemplo n.º 2
0
def song():
    global song
    try:
        music_data = pandora_out()
        song = music_data['song']
        song = song.rstrip('\n')
    except Exception:
        pass
    return song or "Waiting!"
Exemplo n.º 3
0
def artist():
    global artist
    try:
        music_data = pandora_out()
        artist = music_data["artist"]
        artist = artist.rstrip("\n")
    except Exception:
        pass
    return artist or "Waiting!"
Exemplo n.º 4
0
def station():
    global station
    try:
        music_data = pandora_out()
        station = music_data['station']
        station = station.rstrip('\n')
    except Exception:
        pass
    return station or "Waiting!"