<div dir="ltr"><div>Since I needed "master" to test the new web app and I was having issues with building from source due to the PEP 668 issues, I spent some time with the wiki for installing mythtv on Debian.</div><div>(<a href="https://www.mythtv.org/wiki/Installing_MythTV_on_Debian">https://www.mythtv.org/wiki/Installing_MythTV_on_Debian</a>)</div><div><br></div><div>What I did different from the wiki was:</div><div><span style="color:rgb(0,0,0);font-family:monospace,Courier;font-size:14px;background-color:rgb(249,249,249)"><br></span></div><div><span style="color:rgb(0,0,0);font-family:monospace,Courier;background-color:rgb(249,249,249)"><font size="1">git clone <a href="https://github.com/MythTV/packaging.git">https://github.com/MythTV/packaging.git</a></font></span><span style="color:rgb(0,0,0);font-family:monospace,Courier;font-size:14px;background-color:rgb(249,249,249)"> </span><br></div><div><span style="color:rgb(0,0,0);font-family:monospace,Courier;font-size:14px;background-color:rgb(249,249,249)"><br></span></div><div><span style="color:rgb(0,0,0);font-size:14px;background-color:rgb(249,249,249)"><font face="arial, sans-serif">since I wanted Master.</font></span></div><div><span style="color:rgb(0,0,0);font-size:14px;background-color:rgb(249,249,249)"><font face="arial, sans-serif">I also changed the script to build to:</font></span></div><div><span style="color:rgb(0,0,0);font-family:monospace,Courier;font-size:14px;background-color:rgb(249,249,249)"><br></span></div><div><span style="color:rgb(0,0,0);font-family:monospace,Courier;background-color:rgb(249,249,249)"><font size="1">./build-debs.sh master</font></span><span style="color:rgb(0,0,0);font-size:14px;background-color:rgb(249,249,249)"><font face="arial, sans-serif"><br></font></span></div><div><span style="color:rgb(0,0,0);font-family:monospace,Courier;font-size:14px;background-color:rgb(249,249,249)"><br></span></div><div><span style="color:rgb(0,0,0);font-size:14px;background-color:rgb(249,249,249)"><font face="arial, sans-serif">For the installation of the packages I ran Roland's script from the directory with all the .debs after building.</font></span></div><div><b><u>run as root</u></b></div><div><br></div><div><font face="monospace">#! /bin/bash<br>rm /usr/share/my_mythtv_repo/*<br>mv ./*.deb /usr/share/my_mythtv_repo<br>mv ./*.dsc /usr/share/my_mythtv_repo<br>mv ./*.changes /usr/share/my_mythtv_repo<br>cd /usr/share/my_mythtv_repo<br>dpkg-scanpackages . /dev/null | gzip -9c > Packages.gz</font><span style="color:rgb(0,0,0);font-family:monospace,Courier;font-size:14px;background-color:rgb(249,249,249)"><br></span></div><div><br></div><div><span style="color:rgb(79,76,73);font-family:Lato,Arial,sans-serif;font-size:14px;background-color:rgb(246,246,246)">Note: The folder /usr/share/my_mythtv_repo/ must exist prior to running</span><br style="box-sizing:border-box;color:rgb(79,76,73);font-family:Lato,Arial,sans-serif;font-size:14px;background-color:rgb(246,246,246)"><span style="color:rgb(79,76,73);font-family:Lato,Arial,sans-serif;font-size:14px;background-color:rgb(246,246,246)">that script</span><br></div><div><span style="color:rgb(0,0,0);font-family:monospace,Courier;font-size:14px;background-color:rgb(249,249,249)"><br></span></div><div><span style="color:rgb(79,76,73);font-family:Lato,Arial,sans-serif;font-size:14px;background-color:rgb(246,246,246)">Add this entry in /etc/apt/sources.list.d/my_mythtv_repo.list :</span><br style="box-sizing:border-box;color:rgb(79,76,73);font-family:Lato,Arial,sans-serif;font-size:14px;background-color:rgb(246,246,246)"><br style="box-sizing:border-box;color:rgb(79,76,73);font-family:Lato,Arial,sans-serif;font-size:14px;background-color:rgb(246,246,246)"><font color="#660066" style="box-sizing:border-box;font-family:Lato,Arial,sans-serif;font-size:14px;background-color:rgb(246,246,246)"># Local build of mythtv, in /usr/share/my_mythtv_repo<br style="box-sizing:border-box"># See <a href="https://help.ubuntu.com/community/Repositories/Personal" rel="nofollow" target="_blank" style="box-sizing:border-box;color:rgb(81,98,7);text-decoration-line:none;outline:0px">https://help.ubuntu.com/community/Repositories/Personal</a><br style="box-sizing:border-box"></font><span style="color:rgb(79,76,73);font-family:Lato,Arial,sans-serif;font-size:14px;background-color:rgb(246,246,246)">deb [trusted=yes] file:/usr/share/my_mythtv_repo ./</span><span style="color:rgb(0,0,0);font-family:monospace,Courier;font-size:14px;background-color:rgb(249,249,249)"><br></span></div><div><span style="color:rgb(79,76,73);font-family:Lato,Arial,sans-serif;font-size:14px;background-color:rgb(246,246,246)"><br></span></div><div><span style="color:rgb(79,76,73);font-family:Lato,Arial,sans-serif;font-size:14px;background-color:rgb(246,246,246)">Now I could just do:</span></div><div><span style="color:rgb(79,76,73);font-family:Lato,Arial,sans-serif;font-size:14px;background-color:rgb(246,246,246)">sudo apt update && sudo apt upgrade -y</span></div><div><span style="color:rgb(79,76,73);font-family:Lato,Arial,sans-serif;font-size:14px;background-color:rgb(246,246,246)">sudo apt install mythtv</span></div><div><span style="color:rgb(79,76,73);font-family:Lato,Arial,sans-serif;font-size:14px;background-color:rgb(246,246,246)"><br></span></div><div><span style="color:rgb(79,76,73);font-family:Lato,Arial,sans-serif;font-size:14px;background-color:rgb(246,246,246)">The good news is this method does the same things that the Ubuntu packaging does.  Once installed, the mythtv user was already created and the database mythconverg was set up. The only thing I had to do was create the Storage Group directories where I wanted them and give them mythtv ownership and permissions. Since I wanted Schedules Direct EPG, I set up xmltv and configured my grabber (tv_grab_zz_sdjson_sqlite)</span></div><div><span style="color:rgb(79,76,73);font-family:Lato,Arial,sans-serif;font-size:14px;background-color:rgb(246,246,246)"><br></span></div><div><span style="color:rgb(79,76,73);font-family:Lato,Arial,sans-serif;font-size:14px;background-color:rgb(246,246,246)">Web app handled everything else that you would normally use mythtv-setup for. </span></div><div><span style="color:rgb(79,76,73);font-family:Lato,Arial,sans-serif;font-size:14px;background-color:rgb(246,246,246)"><br></span></div><div><span style="color:rgb(79,76,73);font-family:Lato,Arial,sans-serif;font-size:14px;background-color:rgb(246,246,246)">I built this all on just the minimal Debian 12 server using a Virtual Machine and I used ansible to setup the mythtv dependencies. It took about 15 minutes to build on the ASrock NUC 1165G7.</span></div><div><span style="color:rgb(79,76,73);font-family:Lato,Arial,sans-serif;font-size:14px;background-color:rgb(246,246,246)"><br></span></div><div><span style="color:rgb(79,76,73);font-family:Lato,Arial,sans-serif;font-size:14px;background-color:rgb(246,246,246)">Jim A</span></div><div><span style="color:rgb(79,76,73);font-family:Lato,Arial,sans-serif;font-size:14px;background-color:rgb(246,246,246)"><br></span></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
</blockquote></div></div>