listening for tags on audio stream
- From: "W. de Hoog" <wdehoog exalondelft nl>
- To: rygel-list gnome org
- Subject: listening for tags on audio stream
- Date: Thu, 21 Sep 2017 16:59:22 +0200
Hi,
As tipped on this list (in may) I am listening to tag signal on the playbin.
In rygel-playbin-renderer.vala:
case MessageType.TAG:
Gst.TagList tag_list;
debug ("taglist found\n");
message.parse_tag (out tag_list);
tag_list.foreach ((TagForeachFunc) foreach_tag);
break;
and:
private void foreach_tag (Gst.TagList list, string tag) {
switch (tag) {
case "title":
string tag_string;
list.get_string (tag, out tag_string);
debug ("tag: %s = %s\n", tag, tag_string);
break;
default:
debug ("unknown tag: %s\n", tag);
break;
}
}
all copied from https://wiki.gnome.org/Projects/Vala/GStreamerSample
But I never get a usefull tag. This is printed in the log:
(rygel:24680): RygelRendererGst-DEBUG: rygel-playbin-player.vala:580:
taglist found
(rygel:24680): RygelRendererGst-DEBUG: rygel-playbin-player.vala:520:
unknown tag: \x80\xe8\xf9
(rygel:24680): RygelRendererGst-DEBUG: rygel-playbin-player.vala:520:
unknown tag: \x80\xe8\xf9
Always this 'unknown tag: \x80\xe8\xf9'
Any ideas on what is going wrong?
regards,
--
Willem-Jan de Hoog
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]