add favs count to fetch endpoint + remove filetype from track

This commit is contained in:
mungai-njoroge
2023-12-06 11:12:27 +03:00
parent fd71989c6d
commit 7f87cde96c
3 changed files with 42 additions and 4 deletions
+3
View File
@@ -78,6 +78,9 @@ def get_recently_played(limit=7):
if entry.type == "folder":
folder = entry.type_src
if not folder:
continue
is_home_dir = entry.type_src == "$home"
if is_home_dir: