mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 20:43:04 +00:00
add favs count to fetch endpoint + remove filetype from track
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -213,7 +213,6 @@ def get_tags(filepath: str):
|
||||
|
||||
tags.date = parse_date(tags.year) or int(last_mod)
|
||||
tags.filepath = win_replace_slash(filepath)
|
||||
tags.filetype = filetype
|
||||
tags.last_mod = last_mod
|
||||
|
||||
tags.artists = tags.artist
|
||||
|
||||
Reference in New Issue
Block a user