CC-5226: Metadata isn't correct during playing

-fixed using "insert_metadata" and callbacks instead.
This commit is contained in:
Martin Konecny 2013-06-12 14:04:52 -04:00
parent 4e71345a61
commit 949ae9667b
2 changed files with 8 additions and 7 deletions

View file

@ -5,7 +5,8 @@ def notify(m)
end
def notify_queue(m)
queue_metadata := m
f = !dynamic_metadata_callback
ignore(f(m))
notify(m)
end
@ -31,10 +32,6 @@ def append_title(m) =
end
end
def queue_metadata_callback(m) =
!queue_metadata
end
def crossfade_airtime(s)
#duration is automatically overwritten by metadata fields passed in
#with audio