home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
Playback live tv from mythtv
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="rklootwijk" data-source="post: 172293" data-attributes="member: 53960"><p>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:</p><p> if (g_Player.Play(dirRecPath + "/" + livetvFileName))</p><p> {</p><p> GUIGraphicsContext.IsFullScreenVideo = true;</p><p> GUIWindowManager.ActivateWindow((int)GUIWindow.Window.WINDOW_FULLSCREEN_VIDEO);</p><p> g_Player.FullScreen = true;</p><p>}</p><p></p><p>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.</p><p></p><p>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.</p><p></p><p>I am developing the plugin based on MP 0.2.2.</p><p></p><p>Cheers,</p><p>Rene.</p></blockquote><p></p>
[QUOTE="rklootwijk, post: 172293, member: 53960"] 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.Window.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. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Playback live tv from mythtv
Contact us
RSS
Top
Bottom