LinuxMCE Forums
May 21, 2013, 11:37:35 pm GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
   Home   Help Search Chat Login Register  
Pages: [1] 2 3
  Print  
Author Topic: MythTV .25 and the New MythTV Services API = Greater Stability for LMCE ?  (Read 5151 times)
kyfalcon
Guru
****
Posts: 390



View Profile
« on: March 12, 2012, 07:58:44 pm »

Has anybody with working knowledge of LMCE and mythTV had a chance to look at this new API? Will it possibly make Myth more of a stable partner for MCE?  Thom, I know you share my current disdain for Myth as far as stability. Could this new API allow us to see something of an improvement?

Kevin
Logged
l3mce
NEEDS to work for LinuxMCE
***
Posts: 1031



View Profile
« Reply #1 on: March 18, 2012, 05:53:41 pm »

lotsa looks, no replies... lol


I will give her a go tonight presuming all is stable with the other stuff I am doing.
Logged

I never quit... I just ping out.
kyfalcon
Guru
****
Posts: 390



View Profile
« Reply #2 on: March 19, 2012, 03:04:05 pm »

Let me know what you find. I have been looking at the code a bit. And would be willing to help the best I can.
Logged
l3mce
NEEDS to work for LinuxMCE
***
Posts: 1031



View Profile
« Reply #3 on: March 19, 2012, 10:33:41 pm »

I don't know why I would think my stuff would be stable enough to try and shoehorn something that big in... lol.

I give no time frame on this.
Logged

I never quit... I just ping out.
kyfalcon
Guru
****
Posts: 390



View Profile
« Reply #4 on: March 20, 2012, 02:52:25 am »

Let me know how I can help!
Logged
kyfalcon
Guru
****
Posts: 390



View Profile
« Reply #5 on: March 20, 2012, 04:03:51 pm »

From what I gather from this API, we have 2 courses of action. 1) rewrite MythTV player to use the http calls with the new frontend API. or 2) create our own frontend and use the other API's which to me would be maybe more work but in the end a much better approch, since this could integrate into the new QOrbiter.


 The backend of myth works just fine currently, it is the communication with the frontend that is flaky as hell. If this new API allows us manipulate myth within an orbiter screen of our design then this whole system becomes much more efficient and fluid.
Logged
posde
Administrator
LinuxMCE God
*****
Posts: 2621


Wastes Life On LinuxMCE Since 2007


View Profile WWW
« Reply #6 on: March 20, 2012, 04:11:15 pm »

qOrbiter won't talk to MythTV direct. Everything else would be a discourse from the architecture. qOrbiter talks to dcerouter which talks to what ever PVR is installed.

mythtv-player and mythtv-plugin won't be changed to talk to MythTV 0.25 for LinuxMCE 1004.
Logged

kyfalcon
Guru
****
Posts: 390



View Profile
« Reply #7 on: March 20, 2012, 04:53:14 pm »

posde, I understand where you are coming from. My point being that from what I could determine from looking at the code( and I could be very wrong) currently MythTV Player communicates through a socket with mythfrontend to watch, change channels etc. The mythfrontend client communication is fairly unstable. This new api would allow an lmce md to communicate directly with the mythbackend even if it is through the DCEROUTER. We could basically eliminate the mythtv frontend altogether in favor of an lmce frontend.
Logged
tschak909
LinuxMCE God
****
Posts: 5101

DOES work for LinuxMCE.


View Profile
« Reply #8 on: March 22, 2012, 05:12:09 pm »

I'm all for anything that would improve user experience. What would essentially happen would be a new MythTV Player would be written to interface with the 0.25 API.

As for a new front end, The new MythTV Player would perform this function.

We also need to investigate VDR's viability as a replacement for MythTV as well.

-Thom
Logged
kyfalcon
Guru
****
Posts: 390



View Profile
« Reply #9 on: March 22, 2012, 06:32:29 pm »

Thom from reading the API it looks like we would be able to eliminate the need for myth frontend all together and our MythTVPlayer would get the stream straight from the mythbackend. Under this approach we would need to handle the UI for the guide and programming etc. I'm curious how this is handled currently in VDR as it is my understanding that VDR is stricly a backend and LMCE handles the UI frontend.

Kevin
Logged
tschak909
LinuxMCE God
****
Posts: 5101

DOES work for LinuxMCE.


View Profile
« Reply #10 on: March 22, 2012, 06:51:49 pm »

we use a VDR device (aka VDR player), you can look at its source code, it essentially uses vdr-sxfe, which is a modified xine.

This provides the minimal UI, which Orbiter of course, lays on top of. Posde can explain this a lot better.

-Thom
Logged
posde
Administrator
LinuxMCE God
*****
Posts: 2621


Wastes Life On LinuxMCE Since 2007


View Profile WWW
« Reply #11 on: March 22, 2012, 06:56:37 pm »

VDR integration and MythTV integration are identical. Both are using dedicated players.

The advantage of the VDR integration is that the frontend gets out of its way, whereas the MythTV frontends jumps at you. The advantage of the MythTV integration is that you are able to select recordings from the videos part of LinuxMCE.
Logged

kyfalcon
Guru
****
Posts: 390



View Profile
« Reply #12 on: March 22, 2012, 07:02:14 pm »

Posde my understanding of the MythTV .25 is that it allows the MythTV to get out of the way also. The big issue I see is the guide data and setting up recordings, how is this data presented to the orbiter for VDR, I would assume we could mimic that code.
Logged
tschak909
LinuxMCE God
****
Posts: 5101

DOES work for LinuxMCE.


View Profile
« Reply #13 on: March 22, 2012, 07:03:46 pm »

the Plugins are supposed to handle this code.

For an example, look at the data grid generators in MythTV PlugIn, there are a few of them in there. These datagrids are generated, and sent over via the Datagrid Plugin to Orbiter when needed (when a DataGrid object is on a designobj)

-Thom
Logged
kyfalcon
Guru
****
Posts: 390



View Profile
« Reply #14 on: March 22, 2012, 07:10:42 pm »

Thom, I though the guide data that we currently see for MythTV was actually just the guide part of the mythfrontend and basically lmce just passes keystrokes to the frontend.

By the way I appreciate the discussion, it helps me learn and understand this more, which means I might be able to contribute more
Logged
Pages: [1] 2 3
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!