CC-2114: stream Metadata shows.showing show-song-song instead of show-artist-song
This commit is contained in:
parent
095a218969
commit
a58e7ed42e
|
@ -6,9 +6,9 @@ end
|
||||||
# A function applied to each metadata chunk
|
# A function applied to each metadata chunk
|
||||||
def append_title(m) =
|
def append_title(m) =
|
||||||
if !stream_metadata_type == 1 then
|
if !stream_metadata_type == 1 then
|
||||||
[("artist","#{!show_name} - #{m['title']}")]
|
[("artist","#{!show_name} - #{m['artist']}")]
|
||||||
#elsif !stream_metadata_type == 2 then
|
#####elsif !stream_metadata_type == 2 then
|
||||||
# [("artist", ""), ("title", !show_name)]
|
##### [("artist", ""), ("title", !show_name)]
|
||||||
elsif !stream_metadata_type == 2 then
|
elsif !stream_metadata_type == 2 then
|
||||||
[("artist",!station_name), ("title", !show_name)]
|
[("artist",!station_name), ("title", !show_name)]
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue