[mythtv-users] DirecTV HTTP Server
Greg Oliver
oliver.greg at gmail.com
Mon Nov 22 18:46:57 UTC 2010
On 11/22/2010 12:15 PM, jmk wrote:
> On Mon, 2010-11-22 at 06:51 -0600, Greg Oliver wrote:
>> Hmmmm. This morning, all is right with the universe I guess.. All of
>> the receivers are responding properly. I should have checked before I
>> connected a hub between those network segments and grabbed packet
>> captures. Waste of time. I do not know what the glitch was yesterday,
>> but I did double check my receivers and my HR21 that was experiencing
>> issues yesterday has not been updated since 8/23. Definitely not in
>> line with your observations (plus I see no unauthorized messages, etc).
>
> The "getTuned" request works fine on your H21? Here's what I'm seeing
> for that query:
>
> % echo 'GET /tv/getTuned HTTP/1.0\r\n\r\n'|netcat 192.168.1.5 8080
> HTTP/1.0 403 Forbidden.
> Content-Length: 100
> Content-Type: application/json
> Date: Mon, 22 Nov 2010 18:04:41 GMT
> Reason: Command(s) disabled.
>
> {"status": {
> "code": 403,
> "msg": "Forbidden. Command(s) disabled.",
> "query": "/tv/getTuned"
> }}
>
> After further testing, the "tune" command does still work for me. I'm
> not sure what happened yesterday morning that caused it to fail,
> resulting in a missed recording. I performed a few manual tune requests
> and the response is now "OK.", where I think it was previously "OK". A
> minor adjustment to the script to match that and it no longer spits out
> an error.
>
> % echo 'GET /tv/tune?major=206 HTTP/1.0\r\n\r\n'|netcat 192.168.1.5 8080
> HTTP/1.0 200 OK.
> Content-Length: 78
> Content-Type: application/json
> Date: Mon, 22 Nov 2010 18:04:21 GMT
>
> {"status": {
> "code": 200,
> "msg": "OK.",
> "query": "/tv/tune?major=206"
> }}
I have never used getTuned.. Not really a use in it for me.. My hr21
was tuning yesterday morning, but the script was not returning success,
so I imagine mythtv was not moving on. I do not know - did not have
time to debug it.
I am almost done with my script to pull all of the HDDVR recorded shows
into mythtv so I can record them off. That was always a "manually done"
plan, but now that there is a web interface to tune and play, it will be
easy... Then I can start retiring these things..
Hmmm, interesting - these dual-tuner directv dvrs would allow me to have
3 recordings at once -
1. Mythtv actually recording from the DVR a previously hddvr recorded
program
2. hddvr recording prog 1
3. hddvr recording prog 2
I could then 1 at a time all of them each night from the dvr to myth..
Does anyone know how to get an xmltv entry approved and put into myth?
A quick search on my system seem to point that they are all compiled in.
I'll just make up my own channels and guide data and manually insert
them to prove the concept to myself :)
The data returned from the hddvrs has all of the info needed to
completely fill in the guide. Albeit, the specifics do not match any
xmltvinfo number scheme....
I'll make 1 channel per recording with it playing continuously 24x7 on
that channel. Then if I set a low recording priority on all of those
channels, and set them all to record anytie on this channel, it will
grab them all when the hdpvr is going to be free.. Delete the recording
from the hddvr, and the listing goes away in the mythtv guide..
Hmmm, this could be fun..
More information about the mythtv-users
mailing list