[mythtv-users] DirecTV HTTP Server

Steve Harrington steve at the-harringtons.org
Sat Nov 6 00:39:25 UTC 2010


On Fri, Nov 5, 2010 at 8:31 PM, Steve Harrington
<steve at the-harringtons.org> wrote:
> On Fri, Nov 5, 2010 at 5:16 PM, Steve Harrington
> <steve at the-harringtons.org> wrote:
>> On Fri, Nov 5, 2010 at 4:59 PM, Jim DeSalvo <jdesalvo at gmail.com> wrote:
>>> Ya - there aren't many xxx-1 channels but there still are a few.  I tuned to
>>> the channel the old fashioned way (aka Remote Control) and then went to
>>> /tv/getTuned.  Here is the output:
>>> {
>>>  "audioTrack": "English DD",
>>>  "callsign": "MLS",
>>>  "category": {
>>>    "advisories": [],
>>>    "post": [],
>>>    "pre": []
>>>  },
>>>  "credits": {
>>>    "actor": [],
>>>    "author": [],
>>>    "director": []
>>>  },
>>>  "date": 0,
>>>  "description": "No Information available",
>>>  "duration": 4294967295,
>>>  "episodeTitle": "",
>>>  "isHd": false,
>>>  "isPclocked": 3,
>>>  "isPpv": false,
>>>  "isRecording": false,
>>>  "isVod": false,
>>>  "major": 470,
>>>  "minor": 1,
>>>  "programId": "369150",
>>>  "rating": "No Rating",
>>>  "startTime": 1287972336,
>>>  "stationId": 5554035,
>>>  "status": {
>>>    "code": 200,
>>>    "msg": "OK",
>>>    "query": "/tv/getTuned"
>>>  },
>>>  "title": "To Be Announced"
>>> }
>>>
>>>
>>> Notice the entry "minor': 1
>>> now if I just go to channel 470 (no -1) the getTuned returns "minor": 65535
>>> I have no doubt this will work - it will just take some guess work or
>>> documentation.
>>>
>>> On 11/5/2010 4:41 PM, Greg Oliver wrote:
>>>>
>>>> On Fri, Nov 5, 2010 at 2:50 PM, Jim DeSalvo<jdesalvo at gmail.com>  wrote:
>>>>>
>>>>> Works well on my H24 receiver.  Tho I'm having trouble getting it to
>>>>> change
>>>>> to HD channels on a sub-channel.  Trying to tune to 470-1 will make the
>>>>> web
>>>>> service hang for a minute and not change.  470-1 does work on the serial
>>>>> port.  Any one else run into this?
>>>>
>>>> I have not seen directv use xxx-x channel schemes.  On all of the H23s
>>>> here they are either xxx or xxxx format..  Maybe I should revisit (in
>>>> my attempt to 100% migrate rom dtv, I have refused to watch one of the
>>>> receivers in over 6 months)..
>>>>
>>>> Of course, they're still here anyhow  :)
>>>> _______________________________________________
>>>> mythtv-users mailing list
>>>> mythtv-users at mythtv.org
>>>> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>>>>
>>> _______________________________________________
>>> mythtv-users mailing list
>>> mythtv-users at mythtv.org
>>> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>>>
>>
>> I think I can parse this and make it work.  I'll give it a try.
>>
>
> New script uploaded to the wiki.  It will accommodate XXX-X channels
> and tune correctly now.
>

Also note the timeout value I added to the script.  Now called by:

<script_name> <ip> <timeout_seconds> tune chan-x


More information about the mythtv-users mailing list