diff --git a/mediaserver/mediaserver.py b/mediaserver/mediaserver.py index 6ee950d..79e2349 100755 --- a/mediaserver/mediaserver.py +++ b/mediaserver/mediaserver.py @@ -362,6 +362,7 @@ class MediaService(dbus.service.Object): print("Player state: {0}".format(state)) if state == "LOADING": print("Failure during LOAD: {0}".format(error)) + self.loadcount -= 1 self.OnLoadFail(error) else: print("Failure during RUN: {0}".format(error))