made playing info a custom widget and updated the subsonic api library
This commit is contained in:
1 parent
6c4e9c40b1
commit
110c7f3425
3 files changed
+139
-106
No files matched your search
@@ -340,6 +340,7 @@ class PlayingInfo(Widget):
|
||||
|
||||
table.add_column("")
|
||||
table.add_column("")
|
||||
table.show_header = False
|
||||
|
||||
if app.currently_playing:
|
||||
song = app.currently_playing
|
||||
@@ -351,6 +352,8 @@ class PlayingInfo(Widget):
|
||||
table.add_row("Track Number", str(song.trackNumber))
|
||||
table.add_row("Bit Rate", str(song.bitRate))
|
||||
|
||||
return table
|
||||
|
||||
class MainView(Screen):
|
||||
CSS_PATH = 'main.tcss'
|
||||
|
||||
|
||||
Reference in new issue
Block a user