Add genre
This commit is contained in:
@@ -76,6 +76,11 @@ class RadioUtil:
|
||||
"value": self.duration_conv(track['duration']),
|
||||
"inline": True,
|
||||
},
|
||||
{
|
||||
"name": "Genre",
|
||||
"value": track['genre'] if track['genre'] else 'Unknown',
|
||||
"inline": True,
|
||||
},
|
||||
{
|
||||
"name": "Filetype",
|
||||
"value": track['file_path'].rsplit(".", maxsplit=1)[1],
|
||||
|
||||
Reference in New Issue
Block a user