From a6f37731c0c5b417593005104f430ae8579c2ec7 Mon Sep 17 00:00:00 2001 From: Nokse22 Date: Sun, 28 Apr 2024 23:13:36 +0200 Subject: [PATCH] fixed track radio page not working --- src/lib/variables.py | 1 - src/pages/track_radio_page.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/variables.py b/src/lib/variables.py index ae5a2ec..da9f461 100644 --- a/src/lib/variables.py +++ b/src/lib/variables.py @@ -54,7 +54,6 @@ def is_favourited(item): if isinstance(item, Track): for fav in favourite_tracks: - print(fav.name) if (fav.id == item.id): return True diff --git a/src/pages/track_radio_page.py b/src/pages/track_radio_page.py index 67a3d4e..e879de7 100644 --- a/src/pages/track_radio_page.py +++ b/src/pages/track_radio_page.py @@ -67,7 +67,7 @@ def _load_page(self): builder.get_object("_play_button").connect("clicked", self.on_play_button_clicked) builder.get_object("_shuffle_button").connect("clicked", self.on_shuffle_button_clicked) - builder.get_object("_in_to_my_collection_button").set_visible(False) + builder.get_object("_in_my_collection_button").set_visible(False) image = builder.get_object("_image") if isinstance(self.item, Track):