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)



- outleradam - 2010-10-24 02:37

Mythtv uses a recording priority from -100 to +100. Rather then "Vista" the user with every recording change, the backend schedules based upon a recording priority number. It sounds like the two systems are incompatible. Rather then just overriding a single show, it sets a value. After 100 overrides, mythtv would be out of numbers.

There is a way to specify record this showing though.


- tafypz - 2010-10-24 03:52

I am starting a rewrite of the timer interface, I will make it more metadata driven so that a pvr client can specify the fields to render on the screen and set the data accordingly.
Also anybody understand the MenuHook method usage? I have been a little lazy and didn't look at it yet...


- dteirney - 2010-10-24 04:19

tafypz Wrote:I am starting a rewrite of the timer interface, I will make it more metadata driven so that a pvr client can specify the fields to render on the screen and set the data accordingly.
Also anybody understand the MenuHook method usage? I have been a little lazy and didn't look at it yet...

If the API needs to be tweaked I'd vote for a change of name as well. I didn't get what a "Timer" was when I looked at the API.

What are these "things" called in the other native PVR backends? "RecordingSchedule", "Schedule", something else?


- outleradam - 2010-10-24 04:57

never mind... invalid test. the binaries were not replaced in the svn update, they were sent to usr/local/bin and xbmc was loading from usr/bin... wrong version.


- wagnerrp - 2010-10-24 05:08

outleradam Wrote:Mythtv uses a recording priority from -100 to +100. Rather then "Vista" the user with every recording change, the backend schedules based upon a recording priority number. It sounds like the two systems are incompatible. Rather then just overriding a single show, it sets a value. After 100 overrides, mythtv would be out of numbers.

Overrides are performed by creating a new recording rule in the 'record' table with the 'parentid' field populated. The type is then either kOverrideRecord (to force a recording) or kDontRecord (to block one). Priority does not factor in anywhere.


- outleradam - 2010-10-24 06:01

^^ The only types I've ever seen are 1,3, or 4. The parentid is always 0 on my system.

How would you activate that through normal means and what would you populate the parentid with?


- outleradam - 2010-10-24 06:36

everything works except video transfer. I cannot get a video to pop up on-screen. These files exist but are symlinked.
Livetv does not work either.

XBMC log:http://pastebin.com/kfxPRdGB

excerpt from mythbackend log:
Code:
2010-10-23 23:34:55.354 MainServer::HandleVersion - Client speaks protocol version 8 but we speak 63!
2010-10-23 23:34:55.395 MainServer, Warning: Unknown socket closing MythSocket(0x944bd98)
2010-10-23 23:34:55.370 waitpid() failed because No child processes
2010-10-23 23:34:55.355 adding: adam-desktop as a slave backend server
2010-10-23 23:34:55.397 MainServer::ANN Playback
2010-10-23 23:34:55.580 adding: XBMCLive as a client (events: 1)
2010-10-23 23:34:55.474 ProgramInfo(1960_20101019220000.mpg), Error: GetPlaybackURL: '1960_20101019220000.mpg' should be local, but it can not be found.
2010-10-23 23:34:55.616 waitpid() failed because No child processes
2010-10-23 23:34:55.772 waitpid() failed because No child processes
2010-10-23 23:34:55.922 waitpid() failed because No child processes
2010-10-23 23:34:55.938 LoadFromScheduler(): Error, called from backend.
2010-10-23 23:34:55.985 MainServer::HandleVersion - Client speaks protocol version 8 but we speak 63!
2010-10-23 23:34:56.014 MainServer, Warning: Unknown socket closing MythSocket(0x92c6260)
2010-10-23 23:34:56.005 Launching: echo "New Client! WOOOOO  It might be XBMC...  This line is for testing purposes."
2010-10-23 23:34:56.016 MainServer::ANN Playback
2010-10-23 23:34:56.115 adding: XBMCLive as a client (events: 0)
2010-10-23 23:34:56.067 PID 13430: launched
New Client! WOOOOO  It might be XBMC...  This line is for testing purposes.
2010-10-23 23:34:56.047 waitpid() failed because No child processes
2010-10-23 23:34:56.328 PID 13430: exited: status=0, result=0
2010-10-23 23:34:56.465 waitpid() failed because No child processes
2010-10-23 23:34:56.599 waitpid() failed because No child processes
2010-10-23 23:34:56.732 waitpid() failed because No child processes
2010-10-23 23:34:56.868 waitpid() failed because No child processes
2010-10-23 23:34:56.999 waitpid() failed because No child processes
2010-10-23 23:34:57.124 waitpid() failed because No child processes



- wagnerrp - 2010-10-24 06:53

outleradam Wrote:How would you activate that through normal means and what would you populate the parentid with?

'parentid' would be be the recordid of the rule the show originally matched against, and you want to override.


- dteirney - 2010-10-24 11:34

outleradam Wrote:everything works except video transfer. I cannot get a video to pop up on-screen. These files exist but are symlinked.
Livetv does not work either.

XBMC log:http://pastebin.com/kfxPRdGB

Can you start XBMC from the command line and post the output from the console. Or redirect stdout to a file, e.g. ./xbmc.bin > stdout.txt


- dteirney - 2010-10-24 11:45

outleradam Wrote:everything works except video transfer. I cannot get a video to pop up on-screen. These files exist but are symlinked.
Livetv does not work either.

XBMC log:http://pastebin.com/kfxPRdGB

I assume that playback is all working fine through mythfrontend? The number of:

"waitpid() failed because No child processes" in mythbackend.log seems strange.