XBMC Community Forum
MythTV PVR client Addon Developers Wanted - Developers Only! - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: PVR Development (/forumdisplay.php?fid=136)
+--- Thread: MythTV PVR client Addon Developers Wanted - Developers Only! (/showthread.php?tid=82015)



- dteirney - 2010-10-21 11:41

PhracturedBlue Wrote:This should be possible, though it is beyond the scope of my current patch. I'm not sure there is much gain. You can't ask myth for its protocol number before connecting, so you only save one connection attempt by caching the version. A static variable would be really crude, but likely trivial solution for this.

Yes, I was thinking something like a static variable as well. The gain is not seeing lots of errors in the mythbackend.log file due to a protocol version mismatch on connection. Many people think that the way XBMC is connecting to the backend is broken because of the errors in the mythbackend.log file. Reducing the number of errors in the log to just one per XBMC usage session would help mitigate that and be one less ping / pong per connection setup.


- dteirney - 2010-10-21 11:45

PhracturedBlue Wrote:I have added support for MythTV 0.24 (well assuming they don't change the protocol in svn between now and then)

The ticket is:
http://trac.xbmc.org/ticket/10535

The 2 big changes were:
57: significant changes to proginfo structure
62: add token system.

FYI, a reasonably correct list of protocol changes can be found here:
http://www.mythtv.org/wiki/Category:Myth_Protocol

I didn't verify all of libcmyth's capabilities to be compliant, but at least the ones used to read from proginfo and to fetch recordings are now working.

All of these patches are now committed to XBMC SVN trunk. Thanks so much for your great work on this. If anyone else is using a "soon to be Myth 0.24" backend from MythTV trunk or similar, can you please test and see if you run into any problems.


- wagnerrp - 2010-10-21 16:32

PhracturedBlue Wrote:I have added support for MythTV 0.24 (well assuming they don't change the protocol in svn between now and then)

We've been in feature freeze for weeks, and one RC is already out. Fairly safe to assume 0.24 will ship with version 63.


- outleradam - 2010-10-21 16:54

I built MythTV from head last night. Just for notes, if anyone tries to build MythTV head, MythFrontend is experiencing random problems with VNC right now, but worked over ssh -X. If you use frontend, I would not recommend building from head. MythWeb and MythBackend are working fine.

I will build XBMC on a virtual machine from SVN and test later tonight. Expect results from 0.24 around 1900CST, unless someone else beats me to it.


- tafypz - 2010-10-21 17:32

@wagnerrp: do you know if the upcoming recording list can be created via sql or is it something that needs to be accessed through the scheduler via the protocol (if there are any such command)

Thanks


- wagnerrp - 2010-10-21 19:25

Upcoming recordings only exist in memory in the master backend. You can get a partial list of the next ten recordings through the status page, but the only full list is available through the backend protocol.


- tafypz - 2010-10-21 19:56

wagnerrp Wrote:Upcoming recordings only exist in memory in the master backend. You can get a partial list of the next ten recordings through the status page, but the only full list is available through the backend protocol.

Cool thanks, I saw the partial list from the GetStatus command, I will have to go through the protocol then.


- outleradam - 2010-10-22 04:28

Though all I could get working was the guide data, the guide data works well on head built yesterday. I was able to get in and search around what was playing and what is upcomming on each channel. It worked as it should.

I could not get any sort of video to show up though.

Debug log: http://pastebin.com/jq3aVyQp

[Image: Screenshot-4-1.jpg]

[Image: Screenshot-3-2.jpg]

It would not let me into any other sections at all. this program guide was the only thing that actually clicked thru.

Edit. Just realized that sounded real dick-like of me. I'm leaving it there because it is a literal truth. Don't take it wrong.

Also, now that I have a platform for SVN testing. Updates and test building should be much quicker. Just say the word when I should SVN up for data or whatever else you need to complete this.

I'm subscribed to this thread.


- dteirney - 2010-10-22 07:16

outleradam Wrote:I could not get any sort of video to show up though.

Debug log: http://pastebin.com/jq3aVyQp

Can you try and play a recording in XBMC again and post any errors that show up in mythbackend.log. There appears to be a problem with the connection.


- outleradam - 2010-10-22 15:28

I'll get that information when I get off of work.

MythTV 0.24 RC1 is apparently out. You can get a 0.24 with
Code:
add-apt-repository ppa:mythtv/0.24
apt-get update
apt-get install mythtv
You can a well packaged mythtv from the mythbuntu repository. The idea is mythbuntu is like XBMC live, but they also have the standard MythTV packages. They are generally built nearly nightly.
Mythbuntu repository 0.24:
http://ppa.launchpad.net/mythbuntu/0.24/ubuntu
Code:
add-apt-repository ppa:mythbuntu/0.24
apt-get update
apt-get install mythtv
and a unofficial 0.25 repository here:
http://ppa.launchpad.net/mythbuntu/ppa/ubuntu
Code:
add-apt-repository ppa:mythbuntu/0.25
apt-get update
apt-get install mythtv

I will stick with 0.24 until the protocal issues are fixed with this version and then I'm hopping over to 0.25 to stay up to date for my mythicalLibrarian project and debugging the MythTV PVR.