<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 8/16/24 17:43, Peter Bennett wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:ce6523d6-8f48-4fb6-9045-6794537472a0@gmail.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <p>Sorry for the error - I have resent below - It it the server
        machine where you have to check.<br>
      </p>
      <div class="moz-cite-prefix">On 8/16/24 16:04, Yianni Vidalis
        wrote:<br>
      </div>
      <blockquote type="cite"
cite="mid:GV2PR02MB8698543AFE3631D69AB9D8DEBB812@GV2PR02MB8698.eurprd02.prod.outlook.com">
        <div class="elementToProof"
style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">I
          ran the command. The Content-Type is
          application/x-extension-html</div>
        <div class="elementToProof"
style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
          I run opensuse leap 15.5</div>
        <div class="elementToProof"
style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
          <br>
        </div>
        <div class="elementToProof"
style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
          curl -i <a class="moz-txt-link-rfc2396E"
            href="http://localhost:6544" moz-do-not-send="true">"http://localhost:6544"</a>
          <br>
          HTTP/1.1 200 OK <br>
          <b>Date</b>: Παρ, 16 Αυγ 2024 19:58:08 GMT <br>
          <b>Server</b>: MythTV/35-Pre-256-gc166b740b9-dirty
          Linux/5.14.21-150500.55.68-default UPnP/1.0 <br>
          <b>Accept-Ranges</b>: bytes <br>
          <b>Connection</b>: Keep-Alive <br>
          <b>Keep-Alive</b>: timeout=10 <br>
          <b>Content-Type</b>: application/x-extension-html <br>
          <b>Content-Length</b>: 1117 <br>
          <b>Cache-Control</b>: no-store, max-age=0 <br>
          <b>Content-Language</b>: el <br>
          <b>Content-Disposition</b>: inline; filename="index.html" <br>
          <b>transferMode.dlna.org</b>: Interactive <br>
          <b>X-UA-Compatible</b>: IE=Edge <br>
          <b>X-Content-Type-Options</b>: nosniff <br>
          <b>Content-Security-Policy</b>: script-src 'self'
          'unsafe-inline' 'unsafe-eval' <a
            class="moz-txt-link-freetext"
            href="https://services.mythtv.org" moz-do-not-send="true">https://services.mythtv.org</a>;
          style-src 'self' 'unsafe-inline'; frame-src 'self'; o<br>
          bject-src 'none'; media-src 'self'; font-src 'self'; img-src
          http: https: data:; form-action 'self'; frame-ancestors
          'self';  <br>
          <b>X-Content-Security-Policy</b>: script-src 'self'
          'unsafe-inline' 'unsafe-eval' <a
            class="moz-txt-link-freetext"
            href="https://services.mythtv.org" moz-do-not-send="true">https://services.mythtv.org</a>;
          style-src 'self' 'unsafe-inline'; frame-src 'self';<br>
          object-src 'none'; media-src 'self'; font-src 'self'; img-src
          http: https: data:; form-action 'self'; frame-ancestors
          'self';  <br>
          <b>X-XSS-Protection</b>: 1; mode=block <br>
          <br>
          <!DOCTYPE html><html lang="en"><head> <br>
           <meta charset="utf-8"> <br>
           <title>MythTV Backend</title> <br>
           <base href="/"> <br>
           <meta name="viewport" content="width=device-width,
          initial-scale=1"> <br>
           <link rel="stylesheet" type="text/css"
          href="/3rdParty/primeicons-5.0.0/primeicons.css"> <br>
           <link id="app-theme" rel="stylesheet" type="text/css"
          href="assets/themes/md-light-indigo.css"> <br>
           <link rel="stylesheet" type="text/css"
          href="/assets/guidecolors.css"> <br>
           <link rel="icon" type="image/x-icon"
          href="favicon.ico"> <br>
          <style>html,body{<a class="moz-txt-link-freetext"
            href="height:100%" moz-do-not-send="true">height:100%</a>}body{<a
            class="moz-txt-link-freetext"
href="margin:0;height:100%;overflow-x:hidden;overflow-y:auto;background-color:var(--surface-a);font-family:var(--font-family);f"
            moz-do-not-send="true">margin:0;height:100%;overflow-x:hidden;overflow-y:auto;background-color:var(--surface-a);font-family:var(--font-family);f</a><br>
          <a class="moz-txt-link-freetext"
href="ont-weight:400;color:var(--text-color);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale"
            moz-do-not-send="true">ont-weight:400;color:var(--text-color);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale</a>}</style><link
          rel="stylesheet" href="styles.css<br>
          " media="print"
          onload="this.media='all'"><noscript><link
          rel="stylesheet"
          href="styles.css"></noscript></head> <br>
          <body> <br>
           <app-root></app-root> <br>
          <script src="runtime.js"
          type="module"></script><script src="polyfills.js"
          type="module"></script><script src="main.js"
          type="module"></script><br>
          <br>
          <br>
        </div>
        <div class="elementToProof"
style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
          <br>
        </div>
        <div id="Signature" style="color: inherit;">
          <div
style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif;"
            dir="ltr" id="divtagdefaultwrapper">
            <p><br>
            </p>
            <p>Yianni.</p>
          </div>
        </div>
        <div
style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
          <br>
        </div>
      </blockquote>
      <p>Sorry for the error before  - It it the server machine where
        you have to check.</p>
      <p>As far as I can tell, it may be finding the wrong content-type
        from lists in  /usr/share/mime/packages/</p>
      <p>Try this on the machine with the server:<br>
      </p>
      <p>cd  <span
style="color: rgb(64, 66, 68); font-family: "Titillium Web", Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"><span></span>/usr/share/mime/packages/</span></p>
      <p><span
style="color: rgb(64, 66, 68); font-family: "Titillium Web", Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;">grep
          application/x-extension-html *<br>
          <br>
          If it finds a match, check which file has a match and what
          installed the file. Removing the file may resolve the problem.<br>
        </span></p>
      <p>Peter<br>
      </p>
      <br>
    </blockquote>
    <p><br>
    </p>
    <p>Apparently the mime database on linux is generated from the files
      in /usr/share/mime/packages. the freedesktop.org.xml file in that
      directory should contain entries for html and common extensions.
      If anything is changed the database is regenerated using "sudo
      update-mime-database  /usr/share/mime/". I believe update-mime-database
      will also be run by apt when you install a package.</p>
    <p>Perhaps your freedesktop.org.xml file has been corrupted.<br>
    </p>
    <p>This applies to ubuntu. Other distributions may be different.<br>
    </p>
    <p><br>
    </p>
    <blockquote type="cite"
      cite="mid:ce6523d6-8f48-4fb6-9045-6794537472a0@gmail.com">
      <blockquote type="cite"
cite="mid:GV2PR02MB8698543AFE3631D69AB9D8DEBB812@GV2PR02MB8698.eurprd02.prod.outlook.com">
        <hr style="display: inline-block; width: 98%;"></blockquote>
    </blockquote>
  </body>
</html>