[mythtv-users] Episode names
Bill Meek
keemllib at gmail.com
Sun Apr 1 20:26:21 UTC 2018
On 04/01/2018 02:30 PM, Klaus Becker wrote:
> Hi,
>
> I am recording a film, and I see that its name is "29800_20180401190500.ts".
>
> How can I get more comprehensive names ? I am only interested in the name of the film.
>
If you're looking for a program/script solution, then try the Services API. This
example is done from the command line:
curl --silent --header Accept:application/json yourBackend:6544/Dvr/GetRecorded?Chanid=29800\&StartTime=2018-04-01T19:05:00|sed "s/\",
\"/\n/g"|grep "^Title"
Remove the trailing |grep... to see everything available. You can do it from any browser
for a prettier display. I prefer Python to parse the data.
The Python Bindings have getCurrentRecording(recorder) available.
--
Bill
More information about the mythtv-users
mailing list