Commit 0089ca26 authored by Marinus Schraal's avatar Marinus Schraal Committed by Marinus Schraal

coremodel: Don't bind player validation

Since fb9878fa starting to play a song from a new set player playlist
is relatively slow. It is however unneeded to bind validation back to
the main model song as it is just a short-lived playability check for
local songs.

Remove the validation property binding to remedy the slowness.
parent 8641f63f
......@@ -236,9 +236,6 @@ class CoreModel(GObject.GObject):
"state", player_song, "state",
GObject.BindingFlags.BIDIRECTIONAL
| GObject.BindingFlags.SYNC_CREATE)
player_song.bind_property(
"validation", model_song, "validation",
GObject.BindingFlags.SYNC_CREATE)
def _on_items_changed(model, position, removed, added):
songs_list = []
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment