diff options
| -rw-r--r-- | yt_radio.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_radio.py b/yt_radio.py index f4bd9a0..da479a6 100644 --- a/yt_radio.py +++ b/yt_radio.py @@ -148,7 +148,7 @@ def _ensure_metadata(index): def _stream_track(index): url = PLAYLIST[index] _ensure_metadata(index) - meta = METADATA.get(index, {"title": f"Track {index+1}", "artist": "Unknown", "duration": -1}) + meta = METADATA.get(index, {"title": f"Track {index+1}", "artist": "Unknown", "duration": -1, "id": ""}) NOW_PLAYING["index"] = index NOW_PLAYING["title"] = meta["title"] |
