Compare commits
4 Commits
fix-new-cl
...
master
Author | SHA1 | Date |
---|---|---|
Peder Bergebakken Sundt | 546d921ec4 | |
Oystein Kristoffer Tveit | cb292a56b1 | |
Oystein Kristoffer Tveit | 132cabf434 | |
Daniel Lovbrotte Olsen | 4617f83f5c |
|
@ -2,11 +2,11 @@
|
|||
"nodes": {
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1711703276,
|
||||
"narHash": "sha256-iMUFArF0WCatKK6RzfUJknjem0H9m4KgorO/p3Dopkk=",
|
||||
"lastModified": 1726755586,
|
||||
"narHash": "sha256-PmUr/2GQGvFTIJ6/Tvsins7Q43KTMvMFhvG6oaYK+Wk=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "d8fe5e6c92d0d190646fb9f1056741a229980089",
|
||||
"rev": "c04d5652cfa9742b1d519688f65d1bbccea9eb7e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -294,7 +294,7 @@ class RemiApp(App):
|
|||
except api.APIError:
|
||||
playback_pos = None
|
||||
|
||||
if playback_pos:
|
||||
if playback_pos and isinstance(playback_pos, dict) and playback_pos["current"] and playback_pos["total"]:
|
||||
slider_pos = playback_pos["current"] / playback_pos["total"] * 100
|
||||
current = seconds_to_timestamp(playback_pos["current"])
|
||||
total = seconds_to_timestamp(playback_pos["total"])
|
||||
|
|
Loading…
Reference in New Issue