News:

SMF - Just Installed!

Main Menu

Easy install MYTHTV on 23.04 Lunar lobster

Started by kalpana, Oct 17, 2023, 04:45 AM

Previous topic - Next topic

kalpana

I did an easy install with gotchas for earlier flavours the last was Focal so here is one for Lunar:

Add mythtv repository of your choice replace the XX with 33 for latest stable version:
Code:

sudo add-apt-repository ppa:mythbuntu/XX

sudo update

sudo apt install mythtv
A dialogue box asks if other computers will run mythytv

once you answer that the install commences.

It will automatically create the mythtv group and add mythtv to it and video and audio
Adding user mythtv to group video
Adding user mythtv to group audio
Adding user mythtv to group cdrom
Adding user mythtv to group dialout

Ensure your user and any other user also is added to these groups. (not quite sure why the dialout group?)

Now edit the sudoers file with this command with this if you want acpi shutdown and wakeup
:
Code:

sudo visudo
Code:
%mythtv ALL=NOPASSWD: /sbin/shutdown, /usr/bin/mythshutdown, /usr/sbin/checklogin.sh, /usr/sbin/setwakeup.sh, /usr/sbin/rtcwake
Create the trailers, banners, screenshots, coverart, fanart directories in /home/mythtv (or wherever you want) and ensure the permissions are usable by mythtv.

I always reboot at this point to enable the groups added.

Now is the time to test the install. I always do it in a windowed terminal in case something is amiss. It makes it much easier to adjust things.:
Code:

mythtv-setup -w
You should now have the setup screens. Do your normal mythtv setups, adding tuners, setting directories etc.

Once that's done, do
Code:


mythfrontend -w
and see if you can login.

If all is well, you should have a working mythtv installation.

If you can't login, check these 4 locations for the config.xml files to ensure they are identical: /etc/mythtv/config.xml /home/youruser/.mythtv/config.xml /home/mythtv/.mythtv/config.xml /root/.mythtv/config.xml

I usually keep one copy of the file in /etc/mythtv and symlink all the others.

Cheers Tony.