[mythtv-users] How can I query database for the details of the program currently playing on a channel?

Bill Meek keemllib at gmail.com
Tue May 2 21:04:14 UTC 2023


On Tuesday 02 May 2023 03:28:28 PM (-05:00), Lists wrote:
<snip>

 From your original request, I'd assumed you wanted info on a program that 
was currently
recording.


Also without the Rating, there's this to access the program guide (for 
example)

   curl --silent --header 'Accept:Application/JSON' 
localhost:6544/Guide/GetProgramGuide?Starttime=2023-05-02T00:00\&Endtime=2023-05-02T00:59

Times are in UTC.


You can also look at it in your browser if you don't have json_pp or 
something like it:


   
http://yourBackend:6544/Guide/GetProgramGuide?Starttime=2023-05-02T00:00&Endtime=2023-05-02T00:59



See: https://www.mythtv.org/wiki/Services_API for a little more API detail.

-- 
Bill


More information about the mythtv-users mailing list