-
Notifications
You must be signed in to change notification settings - Fork 8
Installing and Setup MythTV on MiniArch
Here is brief procedure how-to install and setup MythTV on MiniArch
https://github.com/warpme/miniarch?tab=readme-ov-file#quick-start
Install MythtTV package containing MythtTV frontend and backend Start terminal and run:
sudo pacman -S wget
download current version of mythtv-base from https://github.com/warpme/miniarch
sudo pacman -U mythtv-base-master.xxx.yyy.aarch64.pkg.tar.xz
Install MariaDB and setup initial MythTV database Start terminal, login as root and execute:
mariadb-install-db --user=mysql --basedir=/usr --datadir=/var/lib/mysql
systemctl start mariadb
systemctl status mariadb
Setup initial MythTV database Start terminal, login as root and execute:
mariadb -u root < /usr/share/mythtv/mc.sql
mariadb-tzinfo-to-sql /usr/share/zoneinfo | mariadb mysql
Setup access rights: Start terminal, login as root and execute:
mariadb -uroot -proot
GRANT ALL ON mythconverg.* TO 'mythtv'@'%' IDENTIFIED BY 'mythtv';
FLUSH PRIVILEGES;
quit;
Start MythTV backenad:
systemctl start mythbackend
systemctl status mythbackend
MythTV will initiate database and this may take few minutes…
You can query by issuing systemctl status mythbackend
and looking for state where logging becomes "silent"
- In webbrowser type
http://<backend_ip>:6544
- On left click „Backend Setup” then top menu „General” then set „Host Address Backend Setup” and set:
- Primary Address:
<your_ip>
- Press „Save” button at bottom
- Press „Restart Backend” button at top
- Press „Enable Updates” button at top
- Select „Storage Groups” on top menu
- Select Create Videos Group
- Press „Add directory”
- Select
dir
where you have yours video samples - Press „Save”
- Press „Restart Backend” button at top
- in new terminal run:
set pass for user mythv: passwd mythtv
su mythtv
mythfrontend.sh
- go to „Setup/Audio” and set right audio device. Press Esc and save
- go to „Setup/Video/Playback” and in „Current video Profile” select „V4l2 Codecs”. Esc then save
- go to „Media Library/Watch Videos„
- Select „scan videos” You should see your samples
- Press Enter to play Press „M” for OSD to i.e. see Playback/Playback Data for decoding details