Fixed: Load failure now decreases load count
This commit is contained in:
parent
bd448406b8
commit
a2b5bb5f10
|
@ -362,6 +362,7 @@ class MediaService(dbus.service.Object):
|
||||||
print("Player state: {0}".format(state))
|
print("Player state: {0}".format(state))
|
||||||
if state == "LOADING":
|
if state == "LOADING":
|
||||||
print("Failure during LOAD: {0}".format(error))
|
print("Failure during LOAD: {0}".format(error))
|
||||||
|
self.loadcount -= 1
|
||||||
self.OnLoadFail(error)
|
self.OnLoadFail(error)
|
||||||
else:
|
else:
|
||||||
print("Failure during RUN: {0}".format(error))
|
print("Failure during RUN: {0}".format(error))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user