use album colors on album header play button

- use alnum chars only on hashes
- add underline on track album hover
This commit is contained in:
geoffrey45
2022-06-30 21:02:01 +03:00
committed by Mungai Geoffrey
parent 5acb8cb84d
commit 34a214df22
6 changed files with 87 additions and 19 deletions
+1 -3
View File
@@ -54,10 +54,8 @@ class Track:
@staticmethod
def create_unique_hash(*args):
ill_chars = '/\\:*?"<>|#&'
string = "".join(str(a) for a in args).replace(" ", "")
return "".join(string).strip(ill_chars).lower()
return "".join([i for i in string if i.isalnum()]).lower()
@dataclass(slots=True)