From koko.zhao@cdskysoft.com Wed Sep 6 08:22:40 2017 Return-Path: X-Original-To: rygel-list@gnome.org Delivered-To: rygel-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.gnome.org (Postfix) with ESMTP id 5BA39764CF for ; Wed, 6 Sep 2017 08:22:40 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: 0.8 X-Spam-Level: X-Spam-Status: No, score=0.8 tagged_above=-999 required=2 tests=[BAYES_50=0.8, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham Received: from smtp.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WdXJcleCLgaG for ; Wed, 6 Sep 2017 08:22:07 +0000 (UTC) X-Greylist: delayed 444 seconds by postgrey-1.34 at restaurant.gnome.org; Wed, 06 Sep 2017 08:22:07 UTC Received: from mr213139.mail.yeah.net (m213139.ym.163.com [223.252.213.139]) by smtp.gnome.org (Postfix) with ESMTP id 0E73376B9E for ; Wed, 6 Sep 2017 08:22:06 +0000 (UTC) Received: from kokozhao (unknown [182.151.214.170]) by mr213139.mail.yeah.net (HMail) with ESMTPA id 076621C2765 for ; Wed, 6 Sep 2017 16:14:38 +0800 (CST) From: =?gb2312?B?S29rbyjV1NPxxr0p?= To: Subject: Does Rygel support IPV6 as a server? Date: Wed, 6 Sep 2017 16:14:46 +0800 Message-ID: <000b01d326e8$34358ff0$9ca0afd0$@cdskysoft.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000C_01D3272B.42591E10" X-Mailer: Microsoft Outlook 14.0 Thread-Index: AdMm5+x34s3HxU0LTwOWLUD6EY5xOg== Content-Language: zh-cn X-HM-Spam-Status: e1ktWUFJV1koWUFPN1dZCBgUCR5ZQUtVS1dZCQ4XHghZQVkyNS06NzI*QU tVS1kG X-HM-Sender-Digest: e1kSHx4VD1lBWUc6ORw6Gjo5MDofHhAqURUKDyo3CzkaCg5VSlVKTktP TUNOTUxCSUxJVTMWGhIXVRAUEBRVARMaFDsYHwgQAggUHQ9VGBQWRVlXWQweGVlBHRoXCB5XWQgB WUFPQ0JON1dZEgtZQVlKQ0lVSk5KVUlKT1VKTEtZBg++ X-HM-Tid: 0a5e564161e27d8bkuuk076621c2765 X-Mailman-Approved-At: Sun, 10 Sep 2017 13:22:17 +0000 X-BeenThere: rygel-list@gnome.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: GNOME UPnP/DLNA services List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Sep 2017 08:22:40 -0000 This is a multipart message in MIME format. ------=_NextPart_000_000C_01D3272B.42591E10 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 7bit Hi Dear I now need a support for IPv6 DLNA server, this software support? Best Regards Koko ------=_NextPart_000_000C_01D3272B.42591E10 Content-Type: text/html; charset="gb2312" Content-Transfer-Encoding: quoted-printable

Hi = Dear

         I now need = a support for IPv6 DLNA server, this software = support?

 

 

Best Regards

 

Koko

 

------=_NextPart_000_000C_01D3272B.42591E10-- From wdehoog@exalondelft.nl Thu Sep 21 15:05:46 2017 Return-Path: X-Original-To: rygel-list@gnome.org Delivered-To: rygel-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.gnome.org (Postfix) with ESMTP id 4D7447622C for ; Thu, 21 Sep 2017 15:05:46 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-999 required=2 tests=[BAYES_00=-1.9] autolearn=ham Received: from smtp.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zf_iqhfVxksT for ; Thu, 21 Sep 2017 15:05:15 +0000 (UTC) X-Greylist: delayed 346 seconds by postgrey-1.34 at restaurant.gnome.org; Thu, 21 Sep 2017 15:05:15 UTC Received: from smtp-out2.caiw.net (smtp-out2.caiw.net [62.45.45.126]) by smtp.gnome.org (Postfix) with ESMTPS id C012277168 for ; Thu, 21 Sep 2017 15:05:15 +0000 (UTC) Received: from barracuda-auth-2.caiw.net (barracuda-auth-2.caiw.net [62.45.59.19]) by smtp-out2.caiw.net (Postfix) with ESMTP id 0F2E961943 for ; Thu, 21 Sep 2017 16:59:26 +0200 (CEST) X-ASG-Debug-ID: 1506005965-03e51e3a22103930001-t3XGwr Received: from smtp-out1.caiw.net (smtp-out1.caiw.net [62.45.45.125]) by barracuda-auth-2.caiw.net with ESMTP id 8DB90NEyxs9nzOB0 for ; Thu, 21 Sep 2017 16:59:25 +0200 (CEST) X-Barracuda-Envelope-From: wdehoog@exalondelft.nl X-Barracuda-RBL-Trusted-Forwarder: 62.45.45.125 Received: from [192.168.4.34] (007-231-158-163.dynamic.caiway.nl [163.158.231.7]) (Authenticated sender: neil@kabelfoon.nl) by smtp-out1.caiw.net (Postfix) with ESMTPSA id 616C8E0084 for ; Thu, 21 Sep 2017 16:59:25 +0200 (CEST) To: rygel-list@gnome.org X-Barracuda-RBL-IP: 192.168.4.34 From: "W. de Hoog" Subject: listening for tags on audio stream Message-ID: <1cf2fe35-741a-10bb-e6c4-3fe5afb4e3a4@exalondelft.nl> X-ASG-Orig-Subj: listening for tags on audio stream Date: Thu, 21 Sep 2017 16:59:22 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Barracuda-Connect: smtp-out1.caiw.net[62.45.45.125] X-Barracuda-Start-Time: 1506005965 X-Barracuda-URL: https://62.45.59.19:443/cgi-mod/mark.cgi X-Barracuda-Scan-Msg-Size: 1311 X-Virus-Scanned: by bsmtpd at caiw.net X-Barracuda-BRTS-Status: 1 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0059 1.0000 -1.9828 X-Barracuda-Spam-Score: -1.98 X-Barracuda-Spam-Status: No, SCORE=-1.98 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=3.5 KILL_LEVEL=1000.0 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.43179 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-BeenThere: rygel-list@gnome.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: GNOME UPnP/DLNA services List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Sep 2017 15:05:46 -0000 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 From wdehoog@exalondelft.nl Thu Sep 21 18:51:29 2017 Return-Path: X-Original-To: rygel-list@gnome.org Delivered-To: rygel-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.gnome.org (Postfix) with ESMTP id 3B9D67630B for ; Thu, 21 Sep 2017 18:51:29 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-999 required=2 tests=[BAYES_00=-1.9] autolearn=ham Received: from smtp.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EuwFxlSMenQ5 for ; Thu, 21 Sep 2017 18:50:58 +0000 (UTC) Received: from smtp-out2.caiw.net (smtp-out2.caiw.net [62.45.45.126]) by smtp.gnome.org (Postfix) with ESMTPS id B68D977178 for ; Thu, 21 Sep 2017 18:50:57 +0000 (UTC) Received: from barracuda-auth-2.caiw.net (barracuda-auth-2.caiw.net [62.45.59.19]) by smtp-out2.caiw.net (Postfix) with ESMTP id B3438618C2 for ; Thu, 21 Sep 2017 20:50:54 +0200 (CEST) X-ASG-Debug-ID: 1506019854-03e51e7d10ba570001-t3XGwr Received: from smtp-out1.caiw.net (smtp-out1.caiw.net [62.45.45.125]) by barracuda-auth-2.caiw.net with ESMTP id 4hnUo1JWHx0ox6B3 for ; Thu, 21 Sep 2017 20:50:54 +0200 (CEST) X-Barracuda-Envelope-From: wdehoog@exalondelft.nl X-Barracuda-RBL-Trusted-Forwarder: 62.45.45.125 Received: from [192.168.4.34] (007-231-158-163.dynamic.caiway.nl [163.158.231.7]) (Authenticated sender: neil@kabelfoon.nl) by smtp-out1.caiw.net (Postfix) with ESMTPSA id 38A48E0084 for ; Thu, 21 Sep 2017 20:50:54 +0200 (CEST) Subject: Re: listening for tags on audio stream X-Barracuda-RBL-IP: 192.168.4.34 From: "W. de Hoog" X-ASG-Orig-Subj: Re: listening for tags on audio stream To: rygel-list@gnome.org References: <1cf2fe35-741a-10bb-e6c4-3fe5afb4e3a4@exalondelft.nl> Message-ID: Date: Thu, 21 Sep 2017 20:50:50 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <1cf2fe35-741a-10bb-e6c4-3fe5afb4e3a4@exalondelft.nl> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Barracuda-Connect: smtp-out1.caiw.net[62.45.45.125] X-Barracuda-Start-Time: 1506019854 X-Barracuda-URL: https://62.45.59.19:443/cgi-mod/mark.cgi X-Barracuda-Scan-Msg-Size: 287 X-Virus-Scanned: by bsmtpd at caiw.net X-Barracuda-BRTS-Status: 1 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=3.5 KILL_LEVEL=1000.0 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.43186 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-BeenThere: rygel-list@gnome.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: GNOME UPnP/DLNA services List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Sep 2017 18:51:29 -0000 Hi, Found a way to get the tags: n = tag_list.n_tags(); for(i=0;i X-Original-To: rygel-list@gnome.org Delivered-To: rygel-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.gnome.org (Postfix) with ESMTP id 89F6476C53 for ; Fri, 22 Sep 2017 05:59:34 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-999 required=2 tests=[BAYES_00=-1.9] autolearn=ham Received: from smtp.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gngKoO0SFOoV for ; Fri, 22 Sep 2017 05:59:04 +0000 (UTC) Received: from mail.webstreams.de (mail.webstreams.de [5.9.94.125]) by smtp.gnome.org (Postfix) with ESMTP id 2D6EB76C52 for ; Fri, 22 Sep 2017 05:59:03 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.webstreams.de (Postfix) with ESMTP id 1A1A52DC054 for ; Fri, 22 Sep 2017 07:59:01 +0200 (CEST) Received: from mail.webstreams.de ([127.0.0.1]) by localhost (mail.webstreams.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id t5fjhoODIbFc for ; Fri, 22 Sep 2017 07:59:01 +0200 (CEST) Received: from jensge.org (web [5.9.94.123]) by mail.webstreams.de (Postfix) with ESMTPSA id E5A012DC041 for ; Fri, 22 Sep 2017 07:59:00 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 22 Sep 2017 07:59:00 +0200 From: Jens Georg To: rygel-list@gnome.org Subject: Re: listening for tags on audio stream In-Reply-To: References: <1cf2fe35-741a-10bb-e6c4-3fe5afb4e3a4@exalondelft.nl> Message-ID: <2052390d3178444fc145588561ebc66e@jensge.org> X-Sender: mail@jensge.org User-Agent: Roundcube Webmail/1.3.1 X-BeenThere: rygel-list@gnome.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: GNOME UPnP/DLNA services List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Sep 2017 05:59:34 -0000 > > Found a way to get the tags: > > n = tag_list.n_tags(); > for(i=0;i tag = tag_list.nth_tag_name(i); > ... > > > Now I would like to add them to the current meta data. How should that > be done? > > regards, Hi, I will push my local branch later where I have a bit of code. The main issue is to determine when to override the provided tags and when not to. From mail@jensge.org Sat Sep 23 10:06:04 2017 Return-Path: X-Original-To: rygel-list@gnome.org Delivered-To: rygel-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.gnome.org (Postfix) with ESMTP id 47E3976BC2 for ; Sat, 23 Sep 2017 10:06:04 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-999 required=2 tests=[BAYES_00=-1.9] autolearn=ham Received: from smtp.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3q0RsinhtYpl for ; Sat, 23 Sep 2017 10:05:42 +0000 (UTC) Received: from mail.webstreams.de (mail.webstreams.de [5.9.94.125]) by smtp.gnome.org (Postfix) with ESMTP id 6BF1B764E2 for ; Sat, 23 Sep 2017 10:05:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.webstreams.de (Postfix) with ESMTP id 9C4472DC064 for ; Sat, 23 Sep 2017 12:05:39 +0200 (CEST) Received: from mail.webstreams.de ([127.0.0.1]) by localhost (mail.webstreams.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iV2lBH2Ll6vc for ; Sat, 23 Sep 2017 12:05:39 +0200 (CEST) Received: from laptop-jge (p5DD62942.dip0.t-ipconnect.de [93.214.41.66]) by mail.webstreams.de (Postfix) with ESMTPSA id 699432DC062 for ; Sat, 23 Sep 2017 12:05:39 +0200 (CEST) Message-ID: <1506161138.3646.0.camel@jensge.org> Subject: Re: listening for tags on audio stream From: Jens Georg To: rygel-list@gnome.org Date: Sat, 23 Sep 2017 12:05:38 +0200 In-Reply-To: <2052390d3178444fc145588561ebc66e@jensge.org> References: <1cf2fe35-741a-10bb-e6c4-3fe5afb4e3a4@exalondelft.nl> <2052390d3178444fc145588561ebc66e@jensge.org> Content-Type: multipart/mixed; boundary="=-ipaLsdFsC3HFKEWPvENx" X-Mailer: Evolution 3.22.6-1ubuntu1 Mime-Version: 1.0 X-BeenThere: rygel-list@gnome.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: GNOME UPnP/DLNA services List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Sep 2017 10:06:04 -0000 --=-ipaLsdFsC3HFKEWPvENx Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Hi, please find my preliminary patch attached. > > > > Found a way to get the tags: > > > >         n = tag_list.n_tags(); > >         for(i=0;i >           tag = tag_list.nth_tag_name(i); > >           ... > > > > > > Now I would like to add them to the current meta data. How should > > that  > > be done? > > > > regards, > > Hi, > > I will push my local branch later where I have a bit of code. The > main  > issue is to > determine when to override the provided tags and when not to. > _______________________________________________ > rygel-list mailing list > rygel-list@gnome.org > https://mail.gnome.org/mailman/listinfo/rygel-list --=-ipaLsdFsC3HFKEWPvENx Content-Disposition: attachment; filename="guess-metadata.patch" Content-Transfer-Encoding: base64 Content-Type: text/x-patch; name="guess-metadata.patch"; charset="UTF-8" ZGlmZiAtLWdpdCBhL3NyYy9saWJyeWdlbC1yZW5kZXJlci1nc3QvcnlnZWwtcGxheWJpbi1wbGF5 ZXIudmFsYSBiL3NyYy9saWJyeWdlbC1yZW5kZXJlci1nc3QvcnlnZWwtcGxheWJpbi1wbGF5ZXIu dmFsYQppbmRleCBjNWVkNDdhMTQuLjViNDYxNTJmNiAxMDA2NDQKLS0tIGEvc3JjL2xpYnJ5Z2Vs LXJlbmRlcmVyLWdzdC9yeWdlbC1wbGF5YmluLXBsYXllci52YWxhCisrKyBiL3NyYy9saWJyeWdl bC1yZW5kZXJlci1nc3QvcnlnZWwtcGxheWJpbi1wbGF5ZXIudmFsYQpAQCAtMTg3LDYgKzE4Nyw3 IEBAIHB1YmxpYyBjbGFzcyBSeWdlbC5QbGF5YmluLlBsYXllciA6IEdMaWIuT2JqZWN0LCBSeWdl bC5NZWRpYVBsYXllciB7CiAgICAgcHJpdmF0ZSBzdHJpbmcgdHJhbnNmZXJfbW9kZSA9IG51bGw7 CiAKICAgICBwcml2YXRlIGJvb2wgdXJpX3VwZGF0ZV9oaW50ID0gZmFsc2U7CisgICAgcHJpdmF0 ZSBib29sIG1ldGFkYXRhX3VwZGF0ZV9oaW50ID0gZmFsc2U7CiAgICAgcHJpdmF0ZSBzdHJpbmc/ IF91cmkgPSBudWxsOwogICAgIHB1YmxpYyBzdHJpbmc/IHVyaSB7CiAgICAgICAgIG93bmVkIGdl dCB7CkBAIC0xOTUsNiArMTk2LDcgQEAgcHVibGljIGNsYXNzIFJ5Z2VsLlBsYXliaW4uUGxheWVy IDogR0xpYi5PYmplY3QsIFJ5Z2VsLk1lZGlhUGxheWVyIHsKIAogICAgICAgICBzZXQgewogICAg ICAgICAgICAgdGhpcy5fdXJpID0gdmFsdWU7CisgICAgICAgICAgICB0aGlzLndyaXRlciA9IG51 bGw7CiAgICAgICAgICAgICB0aGlzLnBsYXliaW4uc2V0X3N0YXRlIChTdGF0ZS5SRUFEWSk7CiAg ICAgICAgICAgICBpZiAoUGxheWVyLmhhc19kbG5hX3NyYyAmJiB2YWx1ZS5oYXNfcHJlZml4ICgi aHR0cCIpKSB7CiAgICAgICAgICAgICAgICAgZGVidWcgKCJUcnlpbmcgdG8gdXNlIERMTkEgc3Jj IGVsZW1lbnQiKTsKQEAgLTI1MCw2ICsyNTIsMTEgQEAgcHVibGljIGNsYXNzIFJ5Z2VsLlBsYXli aW4uUGxheWVyIDogR0xpYi5PYmplY3QsIFJ5Z2VsLk1lZGlhUGxheWVyIHsKICAgICAgICAgc2V0 IHsKICAgICAgICAgICAgIHRoaXMuX3BhcnNlZF9kdXJhdGlvbiA9IDA7CiAgICAgICAgICAgICB0 aGlzLl9tZXRhZGF0YSA9IHZhbHVlOworICAgICAgICAgICAgaWYgKHZhbHVlID09ICIiICYmIHRo aXMuX3VyaSAhPSAiIikgeworICAgICAgICAgICAgICAgIHRoaXMubWV0YWRhdGFfdXBkYXRlX2hp bnQgPSB0cnVlOworICAgICAgICAgICAgfSBlbHNlIHsKKyAgICAgICAgICAgICAgICB0aGlzLm1l dGFkYXRhX3VwZGF0ZV9oaW50ID0gZmFsc2U7CisgICAgICAgICAgICB9CiAgICAgICAgIH0KICAg ICB9CiAKQEAgLTUxMyw2ICs1MjAsMTMgQEAgcHVibGljIGNsYXNzIFJ5Z2VsLlBsYXliaW4uUGxh eWVyIDogR0xpYi5PYmplY3QsIFJ5Z2VsLk1lZGlhUGxheWVyIHsKICAgICBwcml2YXRlIHZvaWQg YnVzX2hhbmRsZXIgKEdzdC5CdXMgYnVzLAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg TWVzc2FnZSBtZXNzYWdlKSB7CiAgICAgICAgIHN3aXRjaCAobWVzc2FnZS50eXBlKSB7CisgICAg ICAgIGNhc2UgTWVzc2FnZVR5cGUuVEFHOiB7CisgICAgICAgICAgICBUYWdMaXN0PyB0YWdzID0g bnVsbDsKKyAgICAgICAgICAgIHdhcm5pbmcgKCJHb3QgdGFncyBtZXNzYWdlIGZyb20gJXMiLCBt ZXNzYWdlLnNyYy5nZXRfbmFtZSAoKSk7CisgICAgICAgICAgICBtZXNzYWdlLnBhcnNlX3RhZyAo b3V0IHRhZ3MpOworICAgICAgICAgICAgdGhpcy51cGRhdGVfZGlkbCAodGFncyk7CisgICAgICAg IH0KKyAgICAgICAgYnJlYWs7CiAgICAgICAgIGNhc2UgTWVzc2FnZVR5cGUuRFVSQVRJT05fQ0hB TkdFRDoKICAgICAgICAgICAgIGlmICh0aGlzLnBsYXliaW4ucXVlcnlfZHVyYXRpb24gKEZvcm1h dC5USU1FLCBudWxsKSkgewogICAgICAgICAgICAgICAgIHRoaXMubm90aWZ5X3Byb3BlcnR5ICgi ZHVyYXRpb24iKTsKQEAgLTYwNyw2ICs2MjEsNTkgQEAgcHVibGljIGNsYXNzIFJ5Z2VsLlBsYXli aW4uUGxheWVyIDogR0xpYi5PYmplY3QsIFJ5Z2VsLk1lZGlhUGxheWVyIHsKICAgICAgICAgdGhp cy51cmlfdXBkYXRlX2hpbnQgPSB0cnVlOwogICAgIH0KIAorICAgIHByaXZhdGUgdm9pZCB1cGRh dGVfZGlkbCAoR3N0LlRhZ0xpc3Q/IHRhZ3MpIHsKKyAgICAgICAgLy8gTm90aGluZyB0byBkbwor ICAgICAgICBpZiAodGFncyA9PSBudWxsKSB7CisgICAgICAgICAgICByZXR1cm47CisgICAgICAg IH0KKworICAgICAgICAvLyBOb3RoaW5nIHRvIHVwZGF0ZQorICAgICAgICBpZiAoIXRoaXMubWV0 YWRhdGFfdXBkYXRlX2hpbnQpIHsKKyAgICAgICAgICAgIHJldHVybjsKKyAgICAgICAgfQorCisg ICAgICAgIC8vIEluaXQgZGlkbC1saXRlIGl0ZW0KKyAgICAgICAgdGhpcy5nZW5lcmF0ZV9iYXNp Y19kaWRsICgpOworCisgICAgICAgIHRhZ3MuQGZvcmVhY2ggKChsaXN0LCB0YWcpID0+IHsKKyAg ICAgICAgICAgIHdhcm5pbmcgKCJGb3VuZCB0YWcgJXMiLCB0YWcpOworICAgICAgICAgICAgaWYg KHRhZyA9PSBUYWdzLkFMQlVNKSB7CisgICAgICAgICAgICAgICAgc3RyaW5nIGFsYnVtOworICAg ICAgICAgICAgICAgIGxpc3QuZ2V0X3N0cmluZyAoVGFncy5BTEJVTSwgb3V0IGFsYnVtKTsKKyAg ICAgICAgICAgICAgICB0aGlzLmRpZGxfaXRlbS5zZXRfYWxidW0gKGFsYnVtKTsKKyAgICAgICAg ICAgIH0KKworICAgICAgICAgICAgaWYgKHRhZyA9PSBUYWdzLlRJVExFKSB7CisgICAgICAgICAg ICAgICAgc3RyaW5nIHRpdGxlOworICAgICAgICAgICAgICAgIGxpc3QuZ2V0X3N0cmluZyAoVGFn cy5USVRMRSwgb3V0IHRpdGxlKTsKKyAgICAgICAgICAgICAgICB0aGlzLmRpZGxfaXRlbS50aXRs ZSA9IHRpdGxlOworICAgICAgICAgICAgfQorCisgICAgICAgICAgICBpZiAodGFnID09IFRhZ3Mu QVJUSVNUKSB7CisgICAgICAgICAgICAgICAgc3RyaW5nIGFydGlzdDsKKyAgICAgICAgICAgICAg ICB2YXIgZm91bmQgPSBmYWxzZTsKKyAgICAgICAgICAgICAgICBsaXN0LmdldF9zdHJpbmcgKFRh Z3MuQVJUSVNULCBvdXQgYXJ0aXN0KTsKKyAgICAgICAgICAgICAgICB2YXIgY29udHJpYnV0b3Jz ID0gdGhpcy5kaWRsX2l0ZW0uZ2V0X2FydGlzdHMgKCk7CisgICAgICAgICAgICAgICAgZm9yZWFj aCAodmFyIGNvbnRyaWJ1dG9yIGluIGNvbnRyaWJ1dG9ycykgeworICAgICAgICAgICAgICAgICAg ICBpZiAoY29udHJpYnV0b3Iucm9sZSA9PSAiYXJ0aXN0IiAmJgorICAgICAgICAgICAgICAgICAg ICAgICAgY29udHJpYnV0b3IubmFtZSA9PSBhcnRpc3QpIHsKKyAgICAgICAgICAgICAgICAgICAg ICAgIGZvdW5kID0gdHJ1ZTsKKyAgICAgICAgICAgICAgICAgICAgfQorICAgICAgICAgICAgICAg IH0KKworICAgICAgICAgICAgICAgIGlmICghZm91bmQpIHsKKyAgICAgICAgICAgICAgICAgICAg dmFyIGNvbnRyaWJ1dG9yID0gdGhpcy5kaWRsX2l0ZW0uYWRkX2FydGlzdCAoKTsKKyAgICAgICAg ICAgICAgICAgICAgY29udHJpYnV0b3IubmFtZSA9IGFydGlzdDsKKyAgICAgICAgICAgICAgICB9 CisgICAgICAgICAgICB9CisgICAgICAgIH0pOworCisgICAgICAgIHRoaXMubWV0YWRhdGEgPSB0 aGlzLmdlbmVyYXRlX2Jhc2ljX2RpZGwgKCk7CisgICAgfQorCisgICAgcHJpdmF0ZSBESURMTGl0 ZVdyaXRlciB3cml0ZXIgPSBudWxsOworICAgIHByaXZhdGUgRElETExpdGVJdGVtIGRpZGxfaXRl bSA9IG51bGw7CisKICAgICAvKioKICAgICAgKiBHZW5lcmF0ZSBiYXNpYyBESURMTGl0ZSBpbmZv cm1hdGlvbi4KICAgICAgKgpAQCAtNjE0LDE3ICs2ODEsMTkgQEAgcHVibGljIGNsYXNzIFJ5Z2Vs LlBsYXliaW4uUGxheWVyIDogR0xpYi5PYmplY3QsIFJ5Z2VsLk1lZGlhUGxheWVyIHsKICAgICAg KiBtaW5pbXVtIERJRExMaXRlIGlzIGFsd2F5cyBwcmVzZW50IGlmIHRoZSBVUkkgaXMgbm90IGVt cHR5LgogICAgICAqLwogICAgIHByaXZhdGUgc3RyaW5nIGdlbmVyYXRlX2Jhc2ljX2RpZGwgKCkg ewotICAgICAgICB2YXIgd3JpdGVyID0gbmV3IERJRExMaXRlV3JpdGVyIChudWxsKTsKLSAgICAg ICAgdmFyIGl0ZW0gPSB3cml0ZXIuYWRkX2l0ZW0gKCk7Ci0gICAgICAgIGl0ZW0uaWQgPSAiMSI7 Ci0gICAgICAgIGl0ZW0ucGFyZW50X2lkID0gIi0xIjsKLSAgICAgICAgaXRlbS51cG5wX2NsYXNz ID0gIm9iamVjdC5pdGVtIjsKLSAgICAgICAgdmFyIHJlc291cmNlID0gaXRlbS5hZGRfcmVzb3Vy Y2UgKCk7Ci0gICAgICAgIHJlc291cmNlLnVyaSA9IHRoaXMuX3VyaTsKLSAgICAgICAgdmFyIGZp bGUgPSBGaWxlLm5ld19mb3JfdXJpICh0aGlzLnVyaSk7Ci0gICAgICAgIGl0ZW0udGl0bGUgPSBm aWxlLmdldF9iYXNlbmFtZSAoKTsKLQotICAgICAgICByZXR1cm4gd3JpdGVyLmdldF9zdHJpbmcg KCk7CisgICAgICAgIGlmICh0aGlzLndyaXRlciA9PSBudWxsKSB7CisgICAgICAgICAgICB0aGlz LndyaXRlciA9IG5ldyBESURMTGl0ZVdyaXRlciAobnVsbCk7CisgICAgICAgICAgICB0aGlzLmRp ZGxfaXRlbSA9IHdyaXRlci5hZGRfaXRlbSAoKTsKKyAgICAgICAgICAgIHRoaXMuZGlkbF9pdGVt LmlkID0gIjEiOworICAgICAgICAgICAgdGhpcy5kaWRsX2l0ZW0ucGFyZW50X2lkID0gIi0xIjsK KworICAgICAgICAgICAgdmFyIHJlc291cmNlID0gdGhpcy5kaWRsX2l0ZW0uYWRkX3Jlc291cmNl ICgpOworICAgICAgICAgICAgcmVzb3VyY2UudXJpID0gdGhpcy5fdXJpOworICAgICAgICAgICAg dmFyIGZpbGUgPSBGaWxlLm5ld19mb3JfdXJpICh0aGlzLnVyaSk7CisgICAgICAgICAgICB0aGlz LmRpZGxfaXRlbS50aXRsZSA9IGZpbGUuZ2V0X2Jhc2VuYW1lICgpOworICAgICAgICB9CisKKyAg ICAgICAgcmV0dXJuIHRoaXMud3JpdGVyLmdldF9zdHJpbmcgKCk7CiAgICAgfQogCiAgICAgcHJp dmF0ZSB2b2lkIHNldHVwX3BsYXliaW4gKCkgewo= --=-ipaLsdFsC3HFKEWPvENx-- From wdehoog@exalondelft.nl Sat Sep 23 10:58:35 2017 Return-Path: X-Original-To: rygel-list@gnome.org Delivered-To: rygel-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.gnome.org (Postfix) with ESMTP id 2443676D59 for ; Sat, 23 Sep 2017 10:58:35 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.6 X-Spam-Level: X-Spam-Status: No, score=-2.6 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham Received: from smtp.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QlU5zYkrU3V1 for ; Sat, 23 Sep 2017 10:58:04 +0000 (UTC) Received: from smtp-out1.caiw.net (smtp-out1.caiw.net [62.45.45.125]) by smtp.gnome.org (Postfix) with ESMTPS id 3E6D176D58 for ; Sat, 23 Sep 2017 10:58:03 +0000 (UTC) Received: from barracuda-auth-1.caiw.net (barracuda-auth.caiw.net [62.45.59.13]) by smtp-out1.caiw.net (Postfix) with ESMTP id C5542403BE for ; Sat, 23 Sep 2017 12:58:00 +0200 (CEST) X-ASG-Debug-ID: 1506164279-08d5084dc8094e0001-t3XGwr Received: from smtp-out1.caiw.net (smtp-out1.caiw.net [62.45.45.125]) by barracuda-auth-1.caiw.net with ESMTP id TyGwoOi9qyQcGLju for ; Sat, 23 Sep 2017 12:57:59 +0200 (CEST) X-Barracuda-Envelope-From: wdehoog@exalondelft.nl X-Barracuda-RBL-Trusted-Forwarder: 62.45.45.125 Received: from [192.168.4.34] (007-231-158-163.dynamic.caiway.nl [163.158.231.7]) (Authenticated sender: neil@kabelfoon.nl) by smtp-out1.caiw.net (Postfix) with ESMTPSA id E7A04E0086 for ; Sat, 23 Sep 2017 12:57:59 +0200 (CEST) Subject: Re: listening for tags on audio stream X-Barracuda-RBL-IP: 192.168.4.34 To: rygel-list@gnome.org X-ASG-Orig-Subj: Re: listening for tags on audio stream References: <1cf2fe35-741a-10bb-e6c4-3fe5afb4e3a4@exalondelft.nl> <2052390d3178444fc145588561ebc66e@jensge.org> <1506161138.3646.0.camel@jensge.org> From: "W. de Hoog" Message-ID: <0add8313-4cda-80d5-22f3-9411132438c8@exalondelft.nl> Date: Sat, 23 Sep 2017 12:57:59 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <1506161138.3646.0.camel@jensge.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Barracuda-Connect: smtp-out1.caiw.net[62.45.45.125] X-Barracuda-Start-Time: 1506164279 X-Barracuda-URL: https://62.45.59.13:443/cgi-mod/mark.cgi X-Barracuda-Scan-Msg-Size: 562 X-Virus-Scanned: by bsmtpd at caiw.net X-Barracuda-BRTS-Status: 1 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0007 1.0000 -2.0167 X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=3.5 KILL_LEVEL=1000.0 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.43245 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-BeenThere: rygel-list@gnome.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: GNOME UPnP/DLNA services List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Sep 2017 10:58:35 -0000 Hi, > please find my preliminary patch attached. Thanks I'll give it a try. In the meantime I came up with this: https://api.merproject.org/package/view_file/home:wdehoog/rygel/load-tags-from-stream-as-metadata.patch?expand=1 My use case is internet radio streams not files from my media server. So I check for upnp:class being "object.item.audioItem.audioBroadcast". Is that a valid upnp test? Since for those only 'title' and 'organization' seemed relevant tags those are the only ones I added. regards, -- Willem-Jan de Hoog From wdehoog@exalondelft.nl Sun Sep 24 16:00:12 2017 Return-Path: X-Original-To: rygel-list@gnome.org Delivered-To: rygel-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.gnome.org (Postfix) with ESMTP id B3F6F76C02 for ; Sun, 24 Sep 2017 16:00:12 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-999 required=2 tests=[BAYES_00=-1.9] autolearn=ham Received: from smtp.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id l2xYFaU1m42o for ; Sun, 24 Sep 2017 15:59:42 +0000 (UTC) Received: from smtp-out2.caiw.net (smtp-out2.caiw.net [62.45.45.126]) by smtp.gnome.org (Postfix) with ESMTPS id 12F7E76C04 for ; Sun, 24 Sep 2017 15:59:41 +0000 (UTC) Received: from barracuda-auth-1.caiw.net (barracuda-auth-1.caiw.net [62.45.59.13]) by smtp-out2.caiw.net (Postfix) with ESMTP id 2AC1F60C13 for ; Sun, 24 Sep 2017 17:59:38 +0200 (CEST) X-ASG-Debug-ID: 1506268777-08d5081e2aaa3e0001-t3XGwr Received: from smtp-out2.caiw.net (smtp-out2.caiw.net [62.45.45.126]) by barracuda-auth-1.caiw.net with ESMTP id TGv8gsIBfIIlafiz for ; Sun, 24 Sep 2017 17:59:37 +0200 (CEST) X-Barracuda-Envelope-From: wdehoog@exalondelft.nl X-Barracuda-RBL-Trusted-Forwarder: 62.45.45.126 Received: from [192.168.4.34] (007-231-158-163.dynamic.caiway.nl [163.158.231.7]) (Authenticated sender: neil@kabelfoon.nl) by smtp-out2.caiw.net (Postfix) with ESMTPSA id 8A91FA009A for ; Sun, 24 Sep 2017 17:59:37 +0200 (CEST) Subject: Re: listening for tags on audio stream X-Barracuda-RBL-IP: 192.168.4.34 To: rygel-list@gnome.org X-ASG-Orig-Subj: Re: listening for tags on audio stream References: <1cf2fe35-741a-10bb-e6c4-3fe5afb4e3a4@exalondelft.nl> <2052390d3178444fc145588561ebc66e@jensge.org> <1506161138.3646.0.camel@jensge.org> From: "W. de Hoog" Message-ID: <3a167a1b-88c4-dac1-61eb-5150cf7c6bcf@exalondelft.nl> Date: Sun, 24 Sep 2017 17:59:36 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <1506161138.3646.0.camel@jensge.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Barracuda-Connect: smtp-out2.caiw.net[62.45.45.126] X-Barracuda-Start-Time: 1506268777 X-Barracuda-URL: https://62.45.59.13:443/cgi-mod/mark.cgi X-Barracuda-Scan-Msg-Size: 182 X-Virus-Scanned: by bsmtpd at caiw.net X-Barracuda-BRTS-Status: 1 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0004 1.0000 -2.0183 X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=3.5 KILL_LEVEL=1000.0 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.43275 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-BeenThere: rygel-list@gnome.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: GNOME UPnP/DLNA services List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Sep 2017 16:00:12 -0000 Hi > please find my preliminary patch attached. Sorry I could not get it to work. Looks like '!this.metadata_update_hint' is never true. regards, -- Willem-Jan de Hoog