From patchwork Wed May 14 07:36:17 2008 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrick Fischer X-Patchwork-Id: 12659 Received: from mail.gmx.net ([213.165.64.20]) by www.linuxtv.org with smtp (Exim 4.63) (envelope-from ) id 1JwBXe-0006oY-S5 for vdr@linuxtv.org; Wed, 14 May 2008 09:36:54 +0200 Received: (qmail 17296 invoked by uid 0); 14 May 2008 07:36:17 -0000 Received: from 213.39.239.91 by www079.gmx.net with HTTP; Wed, 14 May 2008 09:36:17 +0200 (CEST) Date: Wed, 14 May 2008 09:36:17 +0200 From: "Patrick Fischer" In-Reply-To: <482A0A91.6070804@hanno.de> Message-ID: <20080514073617.54360@gmx.net> MIME-Version: 1.0 References: <481F5D3A.9040203@hanno.de> <48245668.6090908@hanno.de> <482458FD.50804@cadsoft.de> <48246353.1080805@hanno.de> <4826FC06.6060308@bahnhof.se> <482A0A91.6070804@hanno.de> To: VDR Mailing List X-Authenticated: #1735141 X-Flags: 0001 X-Mailer: WWW-Mail 6100 (Global Message Exchange) X-Priority: 3 X-Provags-ID: V01U2FsdGVkX1/IVOUFxIHI6ApxXlecxkEkFhyrJw1iJtiKB/AT/d za93s167dCsyPkHUwEeQVcl9Kz7wJCSJa3mg== X-GMX-UID: Rq4ceQ4mYmYBXdNOf3c381FCWkZTQZTL X-LSpam-Score: -2.6 (--) X-LSpam-Report: No, score=-2.6 required=5.0 tests=BAYES_00=-2.599 autolearn=ham Subject: [vdr] patch for vod plugin to support xineliboutput X-BeenThere: vdr@linuxtv.org X-Mailman-Version: 2.1.9 Precedence: list Reply-To: VDR Mailing List List-Id: VDR Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 May 2008 07:36:54 -0000 Status: O X-Status: X-Keywords: X-UID: 16840 I have written a small patch to be able to view vodcastas via VOD Plugin on a budget only system with xineliboutput plugin. Normally the VOD Plugin use mplayer to play the vodcastas. Not the plugin search for xineliboutput plugin if mplayer was not found. You need xineliboutput > 1.0 Im not sure which types of streams the xinelib supports but the first tests work fine. --- vod_orig/menu.c 2006-12-15 23:26:13.000000000 +0100 +++ vod/menu.c 2008-05-14 09:26:16.000000000 +0200 @@ -100,7 +100,17 @@ Skins.Message(mtError, "MPlayer plugin does not support service interface!"); free (target); } else { - Skins.Message(mtError, "MPlayer plugin not found!"); + dsyslog("DEBUG MPlayer plugin not found, try xineliboutput plugin."); + Plugin = cPluginManager::GetPlugin("xineliboutput"); + if (Plugin) { + char *target; + target = strdup(i->GetTarget()); + if (!Plugin->Service("MediaPlayer-1.0", target)) + Skins.Message(mtError, "Xineliboutput plugin does not support service interface! Please update the xineliboutput plugin."); + free (target); + } else { + Skins.Message(mtError, "Xineliboutput plugin not found!"); + } } } }