Sito in manutenzione, alcuni link potrebbero non funzionare correttamente

I used this covid-19 quarantine to reinstall from scretch my HTPC base on Mythtv. I made the very first installation in 2008 and since than I watch TV only using Mythtv. Why? Because of it’s recording feature and the sound/image quality mainly in upscaling from low quality to full-hd and Nvidia card de-interlacing features.

Since than I added two DVBS2 cards, one for Astra and one for Hotbird and upgraded the DVBT cars to a dual DVBT2 card. Lately the boot time  raised a lot and I also wanted to upgrade to the new version of steam and plenty of other features. So this a small guide to build what from my point of view is one of the best media centre available today if  compared with smart TV including Android ones. Why?

  • You can install as many tuners as you wish, ie: one for recording, one for watching live tv, satellite, cable,…
  • You can choose the remote control you wish, I choose one with gyroscope pointer, rechargeable, illuminated keys  and full keyboard on the back, costs about €20
  • You can add touch capability to your old tv by adding a IR touch frame, I bought on that costs around 50€ on aliexpress for my 37” tv
  • You can use any gamepad for gaming you wish, also the once without cable, my choice was for two xbox controller

With this hardware the base installation was pretty simple, just Ubuntu minimal out of the box with proprietary “Nvidia” drivers and than this list of packages:

  • Mythtv: with all plugins to watch TV and have some multimedia features
  • Mysql: As database back-end for mythtv
  • Steam: for gaming
  • Chorme or Firefox: As a browser for Netflix, Prime, RaiPlay, MediasetPlay,….
  • Skype and Zoom: For conferencing with the family during Covid-1

Mythtv

After the installation I only had to recover the backup of the previous database, just because I didn’t want to reprogram everything. I also had to configure the DVB cards, this was somehow more tricky because the used all the same tuners and ad each boot the card numbers got mixed up. To avoid this I needed a hook in udev to intercept the driver installation and create unique links to the right devices. This is the script

Other software

With Steam everything works fine out of the box, using Vulcan even for non tested vulcan applications allowed me to install lot of games. Controller get identified correctly, no particular action to be taken. Skype, Chrome a Firefox just need a user to be configured and nothing else

Configurations

The main part has been done, now some configuration tunig that make the system much more usable and ‘smart TV’ like.

Poweron / poweroff

First is the power button doesn’t turn off the Media Center instead I just want to turn off the monitor. This allows an instant on/off. Ubuntu manges the power button through the Display Manager and in this setting you cannot run a custom command. So my choice was to intercept the ‘Power button’ via ACPI and add hoot that turns off/on the monitor or TV. The hook is pretty simple, just add this script in the /etc/… folder

When I power on I also want some tool to auto-start, so I added Mythvt, Steam, Skype, Firefox in kiosk mode

Remote control

Finally ome extr

ALTER USER ‘root’@’localhost’ IDENTIFIED WITH mysql_native_password

usermod -a -G mythtv htpc

usermod -a -G mythtv dialout


Commenti

Lascia un commento

Il tuo indirizzo email non sarà pubblicato. I campi obbligatori sono contrassegnati *

Questo sito usa Akismet per ridurre lo spam. Scopri come i tuoi dati vengono elaborati.

WP to LinkedIn Auto Publish Powered By : XYZScripts.com