Results 1 to 1 of 1

Thread: 24 Noble Numbat Mythtv 34 install step-by-step

  1. #1
    Join Date
    Jan 2011
    Location
    Retired in Bournemouth UK
    Beans
    426
    Distro
    Kubuntu

    24 Noble Numbat Mythtv 34 install step-by-step

    mythtv 34 install to noble numbat
    install:
    Code:
    sudo apt-get install mythtv
    #add other add-ons later

    open a web browser and goto: http://localhost:6544/setupwizard
    This gives access to the websetup interface.

    next page is the language setup

    next page is backend ip's and security setup

    next page is locale for tv frequencies

    next page is misc settings just go to next page

    next pages are pretty much standard until add tuners
    next page is capture cards, add your tuners

    next page is recording profiles just go to next page

    next page is add video sources

    next page is connect tuners to video sources input connections
    next page is scan for channels

    next page is channel preferences, delete unwanted etc.
    next page is adding your storage groups.

    For storage groups ensure the user who starts mythtv (usually mythtv) has read and write permissions to that directory.
    I usually create banners, coverart, fanart and screenshots in the mythtv user's home folder giving appropriate permissions.

    next page is for programming stuff just save and exit restarting database

    At this juncture just reboot.

    When the machine has rebooted, add users to all of these groups mythtv, video and audio groups

    eg:
    Code:
    sudo adduser root mythtv
    If you have a combined backend/frontend machine as in an HTPC setup, I would recommend
    changing the randomly generated password at install for one of youe own choosing. I usually just make it mythtv.

    To do so follow the following steps in a terminal copying and pasting each line one by one:
    Code:
    sudo mysql mythconverg
    use mythconverg
    CREATE USER 'mythtv'@'localhost' IDENTIFIED BY 'mythtv';
    ALTER USER 'mythtv' IDENTIFIED BY 'mythtv';
    GRANT ALL PRIVILEGES ON mythconverg.* TO 'mythtv'@'localhost';
    ALTER USER 'mythtv'@'localhost' IDENTIFIED BY 'mythtv';
    Then ctrl_d to exit mysql.

    For those who wish to use acpi shutdown, these are the steps I take:
    in terminal type
    Code:
    sudo visudo
    then paste the following:
    Code:
    %mythtv ALL=NOPASSWD: /usr/sbin/setwakeup.sh, /usr/sbin/checklogin.sh, /bin/systemctl, /usr/sbin/rtcwake, /sys/class/rtc/rtc0/wakealarm
    then ctrl_o to write the entry, ctrl_x to exit the file.

    This will allow the automatic shutdown to have correct permissions.

    Then copy: checklogin.sh and setwakeup to your /usr/sbin folder Aquire the files from: https://www.mythtv.org/wiki/ACPI_Wakeup

    Then go to the web setup interface for mythtv: http:/localhost:6544/setupwizard

    and alter the enties on the shutdown/wakeup options page

    idle shutdown time: 10secs
    max wait for recording (secs): 60
    startup before recording (secs): 120
    wakeup time format: time_t
    command to set wakeup time: sudo /usr/sbin/setwakeup.sh
    server halt command: sudo /usr/sbin/poweroff
    pre-shutdown-check-command: sudo /usr/sbin/checklogin.sh

    save and exit.

    Don't forget if using this method when finished with the computer to always logoff do not shutdown.
    Last edited by vidtek; May 21st, 2024 at 05:21 PM. Reason: Numbat not Nuthatch can't seem to edit the title though...
    Asus Z270i7 16gb rm 8tb GT1660 Haupp Quad tunr Kubuntu Jammy/Win 11 Be/FE mythtv 0.34Homerun dual netwk tunr 55¨ Smsng QN95B55" Lap Smsng NP R580 i5 nvidia linux Ultimate/Win 10

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •