Don't load twice on init due to output hot reload.
This commit is contained in:
parent
ed308a6726
commit
5163cc338a
1 changed files with 2 additions and 3 deletions
|
@ -744,9 +744,8 @@ class Player:
|
||||||
|
|
||||||
loaded_item = loaded_state["loaded_item"]
|
loaded_item = loaded_state["loaded_item"]
|
||||||
if loaded_item:
|
if loaded_item:
|
||||||
self.logger.log.info("Loading filename: " +
|
# No need to load on init, the output switch does this, as it would for regular output switching.
|
||||||
str(loaded_item.filename))
|
#self.load(loaded_item.weight)
|
||||||
self.load(loaded_item.weight)
|
|
||||||
|
|
||||||
# Load may jump to the cue point, as it would do on a regular load.
|
# Load may jump to the cue point, as it would do on a regular load.
|
||||||
# If we were at a different state before, we have to override it now.
|
# If we were at a different state before, we have to override it now.
|
||||||
|
|
Loading…
Reference in a new issue