| |||||||
| Plugins Plugins developed and maintained by users. Want to create your own plugin? Start a thread in here. |
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Portal User Join Date: Jul 2007 Age: 40
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
| 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. |
| | |
| | #2 (permalink) |
| Portal Member Join Date: Oct 2006 Location: Trondheim Age: 26
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Country: | 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... |
| | |
| | #3 (permalink) |
| Portal User Join Date: Jul 2007 Age: 40
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
| 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 |
| | |
| | #5 (permalink) |
| Portal Member Join Date: Aug 2005 Age: 34
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Country: | 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! |
| | |
![]() |
| Bookmarks |
| Tags |
| live, mythtv, playback |
| Thread Tools | |
| Display Modes | |
| |
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 |