<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Courier New";}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=WordSection1><pre><o:p> </o:p></pre><pre>Thanks for your reply Doug…<o:p></o:p></pre><pre><o:p> </o:p></pre><pre> 2) The description you have should be text about the news story although <o:p></o:p></pre><pre> the URL you have does no harm either way,<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>I just that had that in there for debugging purposes so I could see the URL was formed correctly after I’d done some regexp on it.<o:p></o:p></pre><pre><o:p> </o:p></pre><pre> 3) The "<link>" URL should be to the Web page for that specific News <o:p></o:p></pre><pre> video. It is likely that MythBrowser tries to process the <o:p></o:p></pre><pre> "<a
href="http://www.hirtv.hu/filmek/hirado21/hirado20100613.wmv%22">http://www.hirtv.hu/filmek/hirado21/hirado20100613.wmv"</a> but is not <o:p></o:p></pre><pre> capable of direct playback. You cannot always assume MythBrowser will <o:p></o:p></pre><pre> play everything a alternate browser (e.g. Firefox) can play back. All <o:p></o:p></pre><pre> "links" are processed by MythBrowser. The Internal player is not used <o:p></o:p></pre><pre> directly by Netvision.<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>I see. I tried substituting /usr/bin/firefox for Internal in MythBrowser and this did not work.<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>I tried setting <player>cvlc</player> and <playerargs>-f %URL%</playerargs> and it did not seem to launch an external player (nor provide a new menu option for that.<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>It occurs to me that perhaps I’m not running the latest version (although I thought I was taking trunk fixes), I’m on version 0.23.0+fixes25145-0ubuntu0+mythbuntu2.<o:p></o:p></pre><pre><o:p> </o:p></pre><pre> 4) Leave your "media:content" URL as it is now. With the Link changed to <o:p></o:p></pre><pre> a web page and the "media:content" URL being a file link MNV will know <o:p></o:p></pre><pre> that the video can be downloadable and reflect that in its menu for this <o:p></o:p></pre><pre> item. Once downloaded the wmv file can be played by any capable video <o:p></o:p></pre><pre> player.<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>I tried applying the thumbnail here to an icon I put into the %SHAREDIR%/mythnetvision/icons/hirtv.png, but it did not work. I had no indication that the file was downloaded (where would it go? I couldn’t find it in any of the /usr/share or /var/lib directories, but I also monitored for it with lsof and could not find it.)<o:p></o:p></pre><pre><o:p> </o:p></pre><pre> 5) For the thumbnail either set the link to your grabber icon for <o:p></o:p></pre><pre> example "%SHAREDIR%/mythnetvision/icons/bbciplayer.jpg" is for the BBC <o:p></o:p></pre><pre> iPlayer icon OR set the URL to the logo on the HirTV web site. It will <o:p></o:p></pre><pre> looks better. The "%SHAREDIR%" will be dynamically resolved by Netvision <o:p></o:p></pre><pre> at display time. You would of course need to create an icon for your <o:p></o:p></pre><pre> grabbers. A base icon is provided in trunk and can be edited with <o:p></o:p></pre><pre> inkscape. See <o:p></o:p></pre><pre> "mythtv/mythplugins/mythnetvision/mythnetvision/icons/mnv_button.svg".<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>Here I tried to apply this to the thumbnail=”” argument to the directory tag, but it did not seem to work in that context either.<o:p></o:p></pre><pre><o:p> </o:p></pre><pre> In a reply please include the URL (web site or RSS feed) which you are <o:p></o:p></pre><pre> using to create your item data. I may have additional comments in <o:p></o:p></pre><pre> regards to your questions about "wmv" playback.<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>No problem, I’m not sure if you want to look at the web site originally or look at my source. What’s the policy for posting source to the email list? Is there a place to upload it? I could put it on my page on the wiki. I’ll do that for now:<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>Posted to http://www.mythtv.org/wiki/User:AW01545<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>The website I’m filtering to generate the RSS is <a
href="http://www.hirtv.hu/view/videoview/hirado">http://www.hirtv.hu/view/videoview/hirado</a> if you want to look at it, but I actually drill down to one of the subframes of this page to get the data.<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>my $baseurl=cleantext("http://www.hirtv.hu");<o:p></o:p></pre><pre>my $url=$baseurl . "/?tPath=/view/videoview/hirado&sp=Offer";<o:p></o:p></pre><pre>my $cleanurl=cleantext($url);<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>Note that I fetch make ‘$url’ because for some reason their site chokes if I escape the & into &amp;. So I have ‘$cleanurl’ to pass to the XML for the grabber, but $url to pass to LWP to fetch the page I’m going to parse to generate the other RSS content.<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>I’m really excited about this Plugin, I think it’s great. I wonder if I might have more insight into what’s working and what isn’t if I dug into the source. What’s the build process like? Do I have to build and link the whole mythtv system to build MythNetvision? I haven’t built from source yet at all, I just have been taking the fixes.<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>Thanks again, Doug!<o:p></o:p></pre><pre><o:p> </o:p></pre><pre><o:p> </o:p></pre></div>
</body>
</html>