[mythtv-users] webfrontend error

Paul Harrison mythtv at mythqml.net
Wed Jan 5 01:50:36 UTC 2022


On 05/01/2022 01:17, James Abernathy wrote:

>     Can you expand the part that says "schedule.qsp?Rec..." and show
>     us the full query. Not sure if you can click on that and it will
>     show more info.
>
>
>     Paul H.
>
>
>     1.
>         Request URL:
>         http://localhost:6544/tv/schedule.qsp?RecRuleId=1&ChanId=0&StartTime=2012-08-11T21:57:44.000Z
>         <http://localhost:6544/tv/schedule.qsp?RecRuleId=1&ChanId=0&StartTime=2012-08-11T21:57:44.000Z>
>     2.
>         Request Method:
>         GET
>     3.
>         Status Code:
>         200 OK
>     4.
>         Remote Address:
>         [::1]:6544
>     5.
>         Referrer Policy:
>         strict-origin-when-cross-origin
>  1. Response HeadersView source
>     1.
>         Accept-Ranges:
>         bytes
>     2.
>         Connection:
>         Keep-Alive
>     3.
>         Content-Language:
>         en-us
>     4.
>         Content-Length:
>         0
>     5.
>         Content-Security-Policy:
>         script-src 'self' 'unsafe-inline' 'unsafe-eval'
>         https://services.mythtv.org <https://services.mythtv.org>;
>         style-src 'self' 'unsafe-inline'; frame-src 'self'; object-src
>         'self'; media-src 'self'; font-src 'self'; img-src 'self';
>         form-action 'self'; frame-ancestors 'self';
>     6.
>         Content-Type:
>         text/html; charset="UTF-8"
>     7.
>         Date:
>         Wed, 05 Jan 2022 01:16:23 GMT
>     8.
>         Keep-Alive:
>         timeout=10
>     9.
>         Server:
>         MythTV/32-Pre-3305-gc0372d7383 Linux/5.15.12-arch1-1 UPnP/1.0
>    10.
>         transferMode.dlna.org <http://transferMode.dlna.org>:
>         Interactive
>    11.
>         X-Content-Security-Policy:
>         script-src 'self' 'unsafe-inline' 'unsafe-eval'
>         https://services.mythtv.org <https://services.mythtv.org>;
>         style-src 'self' 'unsafe-inline'; frame-src 'self'; object-src
>         'self'; media-src 'self'; font-src 'self'; img-src 'self';
>         form-action 'self'; frame-ancestors 'self';
>    12.
>         X-Content-Type-Options:
>         nosniff
>    13.
>         X-UA-Compatible:
>         IE=Edge
>    14.
>         X-XSS-Protection:
>         1; mode=block
>  2. Request HeadersView source
>     1.
>         Accept:
>         text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
>     2.
>         Accept-Encoding:
>         gzip, deflate, br
>     3.
>         Accept-Language:
>         en-US,en;q=0.9
>     4.
>         Connection:
>         keep-alive
>     5.
>         Cookie:
>         mythweb_id=boa5u6ggs14j0ssj5uivl0vbmf
>     6.
>         DNT:
>         1
>     7.
>         Host:
>         localhost:6544
>     8.
>         Referer:
>         http://localhost:6544/ <http://localhost:6544/>
>     9.
>         sec-ch-ua:
>         " Not A;Brand";v="99", "Chromium";v="96", "Google Chrome";v="96"
>    10.
>         sec-ch-ua-mobile:
>         ?0
>    11.
>         sec-ch-ua-platform:
>         "Linux"
>    12.
>         Sec-Fetch-Dest:
>         iframe
>    13.
>         Sec-Fetch-Mode:
>         navigate
>    14.
>         Sec-Fetch-Site:
>         same-origin
>    15.
>         Sec-Fetch-User:
>         ?1
>    16.
>         Upgrade-Insecure-Requests:
>         1
>    17.
>         User-Agent:
>         Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML,
>         like Gecko) Chrome/96.0.4664.110 Safari/537.36
>
>

OK thanks. I guess that code was never updated to work with recording 
templates. It's passing ChanId=0 not finding it and throwing an exception.

Like Glen said that is the old ServerSide scripting stuff that was 
supposed to be removed and replaced with calls to the services API 
before v32 but we have run out of time since we want to get v32 into the 
upcoming Ubuntu 22.04 LTS release. That gives us a bit of a dilemma 
where best to spend development time on the old web frontend or the new one?


Paul H.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20220105/bae81fb7/attachment.htm>


More information about the mythtv-users mailing list