MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Community Skins and Plugins » Plugins


Plugins Plugins developed and maintained by users. Want to create your own plugin? Start a thread in here.

Reply
 
Thread Tools Display Modes
Old 2007-08-16, 21:55   #1 (permalink)
Portal User
 
Join Date: Jul 2007
Age: 40
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts


Default Playback live tv from mythtv

I am currently working on a plugin for MediaPortal for MythTV. The goal of the plugin is being able to use MythTV as a backend server handling live tv, recordings and a TV Guide. Reading info related to the recordings and playback of recordings already works, what I have problems with is getting Live TV to work. I am able to start live tv in MythTV from within MediaPortal. MythTV will create a file were it records the live tv in. This file will thus continuously grow. However when I start watching this file using the following code:
if (g_Player.Play(dirRecPath + "/" + livetvFileName))
{
GUIGraphicsContext.IsFullScreenVideo = true;
GUIWindowManager.ActivateWindow((int)GUIWindow.Win dow.WINDOW_FULLSCREEN_VIDEO);
g_Player.FullScreen = true;
}

If I am lucky I will see live TV for a few seconds and then it stops. It seems like the recording is playing for as long as there was video in the file at the time the play command is given, which is a few seconds at max. Watching the log files confirm this by the entry "VideoPlayer: Duration" and the a very short time that is logged.

Does anybody know how to play a file which is continuesly growing? I have seen some posts that seem related but I cannot figure out how to do it.

I am developing the plugin based on MP 0.2.2.

Cheers,
Rene.

Last edited by rklootwijk; 2007-08-16 at 23:22.
rklootwijk is offline   Reply With Quote
Old 2007-09-04, 12:55   #2 (permalink)
Portal Member
 
Join Date: Oct 2006
Location: Trondheim
Age: 26
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

Have you tried to use the stream from mythbackend instead of opening the file "manually". It may take a bit more coding, but you won't have to care about problems like that.

Christian...
ChristianW is offline   Reply With Quote
Old 2007-09-04, 14:04   #3 (permalink)
Portal User
 
Join Date: Jul 2007
Age: 40
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts


Default

I thought nobody would respond, but at last

No I did not try to use the stream (file transfer) from MythTV. However, if I request to transfer the live TV stream via the mythtv protocol I would have to write the data in a file locally (on the MediaPortal frontend that is) in order to being able to timeshift, right? And then the same problem would occur. The My TV plugin actualy does the same, when timeshifting is enabled it writes the captured data in a file 'live.tv'. However, till now I have not been able to figure out how this file is being played.

Regards,
Rene
rklootwijk is offline   Reply With Quote
Old 2007-09-24, 00:01   #4 (permalink)
Portal Member
 
Join Date: Sep 2007
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts


Default

This plugin would be awesome. I have a MythTV machine and I can play the shows that are recorded using the pretty links that are created but a livetv/mythfrontend setup would be awesome.
stilger is offline   Reply With Quote
Old 2007-09-27, 22:46   #5 (permalink)
Portal Member
 
Join Date: Aug 2005
Age: 34
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

I use a Mythtv-backend on my linux-server and this would be great. For me it would be enough to use the TV guide and to handle the recordings. So if you have a plugin for that I would be very grateful!
Tisse is offline   Reply With Quote
Old 2008-01-05, 20:36   #6 (permalink)
Portal User
 
Join Date: May 2007
Age: 31
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

Any news on this? I'd be most interested in this plugin.
FantaRulez is offline   Reply With Quote
Reply

Bookmarks

Tags
live, mythtv, playback

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
no ac3 on Live TV but fine for recording and playback pipeme General Support 0 2007-06-30 14:40
MediaPortal v's MythTV mcjimbob MediaPortal 1 Talk 33 2006-12-21 06:25
From mythtv to Mediaportal? WouterC General Support 1 2006-12-13 23:14
The live sounds of the live tv when rewind in timeshift regeszter The old Bugreport Forum 1 2006-07-07 21:12
Mythtv Plugin to read recorded programing from Mythtv Server icepick Plugins 0 2006-01-11 04:29


All times are GMT +1. The time now is 05:15.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden