Kodi and Mythtv ?

For discussion of topics specific to MythTV on linux
Post Reply
myth
Newcomer
Posts: 7
Joined: Thu Jan 19, 2017 9:40 am
Spain

Kodi and Mythtv ?

Post by myth » Thu Jan 19, 2017 9:54 am

Hello,

Having trouble in getting Mythtv to work with Kodi. At first i thought they were incompatible with each other . Going through many posts on Google found this forum.

Kodi is working well but does not have the function to scan satellite channels like Mythtv does ( hoe i am right on that ).

So Mythtv would be a backend here as Kodi is frontend or not ? Would tv/sat channels be loaded in from Kodi or Myth ?

Ok, went to enable the kodi addon for Myth and i get :

Attachment below.

Using Ubuntu 14.04.

Thanks
Attachments
Myth 1.png
Myth 1.png (85.5 KiB) Viewed 3791 times

MikeB2013
Senior
Posts: 428
Joined: Mon Jul 25, 2016 4:16 pm
Great Britain

Re: Kodi and Mythtv ?

Post by MikeB2013 » Thu Jan 19, 2017 3:34 pm

Kodi is simply another frontend to mythtvbackend server.

Really need much more information on your configuration:
mythtv version ?
Are you running Kodi on the same machine as mythbackend or another machine ?
What is Kodi version ?

If you are running Kodi on another machine is mythbackend setup using a real IP address (not 127.0.0.1). By default mythtv-setup will assume same machine and not allow remote connections from another machine.

There a thread on the Kodi forum, which over a number of posts, lists things to check (note it was in relation to Ubuntu 16.04, you are running Ubuntu 14 so the stuff relating to systemd is not relevant) see here :
http://forum.kodi.tv/showthread.php?tid=288325

Mike

myth
Newcomer
Posts: 7
Joined: Thu Jan 19, 2017 9:40 am
Spain

Re: Kodi and Mythtv ?

Post by myth » Fri Jan 20, 2017 7:00 pm

Hello MikeB2013,

Many thanks for replying.

Please except my apologies for not getting back to you earlier.

I made some screenshots and i think my mythtv version is 2.0.2.

Also will be runing Mythtv on the same pc as Kodi Krypton 17.0 alpha 4 , i think.

The ip at the moment for Kodi is the local one of 127.0.0.1.

One screenshot is telling me to look at the log for details and there i am lost.

Had a look at your thread in Kodi but i do not understand it , not even a wisker.

Many thanks.

PS - using Ubuntu 14.04.5 LTS
Attachments
Screenshot 2.png
Screenshot 2.png (161.82 KiB) Viewed 3748 times
Screenshot 1.png
Screenshot 1.png (164.73 KiB) Viewed 3748 times

MikeB2013
Senior
Posts: 428
Joined: Mon Jul 25, 2016 4:16 pm
Great Britain

Re: Kodi and Mythtv ?

Post by MikeB2013 » Fri Jan 20, 2017 8:17 pm

Looks like your version of Kodi and pvr.mythtv are incompatible. pvr.mythtv at 2.02 is really old. I suspect you installed from Ubuntu repositories, these are way out of date. Kodi 17 is at Release Candidate level now.

Suggest you try the following in a terminal:
sudo add-apt-repository ppa:team-xbmc/unstable
sudo apt-get update
sudo apt-get dist-upgrade

This should get you the latest Kodi 17 build and pvr.mythtv.

Mike

myth
Newcomer
Posts: 7
Joined: Thu Jan 19, 2017 9:40 am
Spain

Re: Kodi and Mythtv ?

Post by myth » Fri Jan 20, 2017 10:20 pm

Hello Mike,

Many thanks for the upgrade , looks like Kodi upgraded fine but Mythtv has stayed the same.

Again tried to enable the Myth addon but the same error as before.

Attachments below.

Thanks again for helping .
Attachments
myth 2 0 2.png
myth 2 0 2.png (83.38 KiB) Viewed 3740 times
kodi.png
kodi.png (14.58 KiB) Viewed 3740 times

MikeB2013
Senior
Posts: 428
Joined: Mon Jul 25, 2016 4:16 pm
Great Britain

Re: Kodi and Mythtv ?

Post by MikeB2013 » Sat Jan 21, 2017 6:04 am

Seems like pvr.mythtv addon has not been updated (probably due to a name change).
You need to uninstall the existing pvr.mthtv and install the latest version (kodi-pvr-mythtv).

So here goes with a terminal again (anything from # onwards is just my comment, don't type it):

sudo apt-cache search pvr # this will give you a list
sudo apt-get remove <name of pvr-mythtv from list> # something like xbmc-pvr-mythtv-cmyth

sudo apt-get install kodi-pvr-mythtv # current version



Can you also post the output of the following command, again in a temrinal, it will give the mythtv version information (I want to make sure you have a recent version)

mythbackend --version

Mike

myth
Newcomer
Posts: 7
Joined: Thu Jan 19, 2017 9:40 am
Spain

Re: Kodi and Mythtv ?

Post by myth » Sat Jan 21, 2017 10:36 am

Hello and good morning ,

This output is telling me that

Code: Select all

reel@BM2LTSR66RBin:/media/hd/home/reel$ sudo apt-cache search pvr 
[sudo] password for reel: 
get-iplayer - download/stream available BBC iPlayer TV and radio programmes
pvrg-jpeg - Stanford PVRG JPEG tool
tablet-encode - video converter for Nokia Internet Tablets
libwsbm-dev - Buffer manager for the GPU of Intel Cedar Trail chipsets.
libwsbm1 - Buffer manager for the GPU of Intel Cedar Trail chipsets.
vdr-plugin-vnsiserver - VDR-Network-Streaming-Interface - PVR API:1.9.0
xbmc-pvr-mythtv-cmyth - XBMC PVR Addon MythTv - Cmyth - PVR API:1.9.2
xbmc-pvr-vuplus - XBMC PVR Addon Vuplus - PVR API:1.9.2
xbmc-pvr-vdr-vnsi - XBMC PVR Addon VDR Vnsi - PVR API:1.9.2
xbmc-pvr-njoy - XBMC PVR Addon Njoy - PVR API:1.9.2
xbmc-pvr-nextpvr - XBMC PVR Addon NextPvr - PVR API:1.9.2
xbmc-pvr-mediaportal-tvserver - XBMC PVR Addon Mediaportal Tvserver - PVR API:1.9.2
xbmc-pvr-tvheadend-hts - XBMC PVR Addon TvHeadend Hts - PVR API:1.9.2
xbmc-pvr-dvbviewer - XBMC PVR Addon Dvbviewer - PVR API:1.9.2
xbmc-pvr-argustv - XBMC PVR Addon Argustv - PVR API:1.9.2
xbmc-pvr-demo - XBMC PVR Demo Addon - PVR API:1.9.2
xbmc-pvr-iptvsimple - XBMC PVR Iptv Addon - PVR API:1.9.2
xbmc-pvr-dev - XBMC Media Center (PVR Add-on Dev package)
xbmc-pvr-dvblink - XBMC PVR Addon Dvblink - PVR API:1.9.0
kodi-pvr-dev - Kodi Media Center (PVR Add-on Dev package)
kodi-pvr-argustv - ArgusTV PVR for Kodi
kodi-pvr-demo - Demo PVR for Kodi
kodi-pvr-dvbviewer - DVBViewer PVR for Kodi
kodi-pvr-iptvsimple - Simple IPTV PVR for Kodi
kodi-pvr-mediaportal-tvserver - MediaPortal PVR for Kodi
kodi-pvr-mythtv - MythTV PVR for Kodi
kodi-pvr-nextpvr - NextPVR for Kodi
kodi-pvr-njoy - NJOY PVR for Kodi
kodi-pvr-tvheadend-hts - transitional dummy package
kodi-pvr-vdr-vnsi - VDR PVR for Kodi
kodi-pvr-vuplus - Vu+ PVR for Kodi
kodi-pvr-hts - TVHeadEnd PVR for Kodi
kodi-pvr-hts-dbg - debugging symbols for TVHeadEnd PVR for Kodi
kodi-pvr-vdr-vnsi-dbg - debug symbols for VDR PVR for Kodi
kodi-pvr-nextpvr-dbg - debug symbols for NextPVR for Kodi
kodi-pvr-argustv-dbg - debug symbols for ArgusTV PVR for Kodi
kodi-pvr-mediaportal-tvserver-dbg - debug symbols for MediaPortal PVR for Kodi
kodi-pvr-vuplus-dbg - debug symbols for Vu+ PVR for Kodi
kodi-pvr-njoy-dbg - debug symbols for NJOY PVR for Kodi
kodi-pvr-iptvsimple-dbg - debug symbols for Simple IPTV PVR for Kodi
kodi-pvr-dvbviewer-dbg - debug symbols for DVBViewer PVR for Kodi
kodi-pvr-wmc - WMC PVR for Kodi
kodi-pvr-wmc-dbg - debugging symbols for WMC PVR for Kodi
kodi-pvr-mythtv-dbg - debug symbols for MythTV PVR for Kodi
kodi-pvr-demo-dbg - debug symbols for Demo PVR for Kodi
kodi-pvr-pctv - PCTV PVR for Kodi
kodi-pvr-pctv-dbg - debug symbols for PCTV PVR for Kodi
kodi-pvr-dvblink - DVBLink PVR for Kodi
kodi-pvr-dvblink-dbg - debug symbols for DVBLink PVR for Kodi
kodi-pvr-filmon - FilmOn PVR for Kodi
kodi-pvr-filmon-dbg - debug symbols for FilmOn PVR for Kodi
kodi-pvr-stalker - Stalker PVR for Kodi
kodi-pvr-stalker-dbg - debugging symbols for Stalker PVR for Kodi
kodi-pvr-vbox - VBox Home TV Gateway PVR client for Kodi
kodi-pvr-vbox-dbg - debug symbols for VBox Home TV Gateway PVR client for Kodi
kodi-pvr-hdhomerun-dbg - debug symbols for HDHomeRun PVR for Kodi
kodi-pvr-hdhomerun - HDHomeRun PVR for Kodi
kodi-pvr-octonet - Digital Devices Octopus NET PVR for Kodi
kodi-pvr-octonet-dbg - debug symbols for Digital Devices Octopus NET PVR for Kodi
reel@BM2LTSR66RBin:/media/hd/home/reel$ sudo apt-get remove xbmc-pvr-mythtv-cmyth
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package '' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
reel@BM2LTSR66RBin:/media/hd/home/reel$ 
Looks like xbmc-pvr-mythtv-cmyth is not installed so do i go ahead and install :

sudo apt-get install kodi-pvr-mythtv ?

I also ran that last command :

Code: Select all

reel@BM2LTSR66RBin:/media/hd/home/reel$ mythbackend --version
The program 'mythbackend' is currently not installed. You can install it by typing:
sudo apt-get install mythtv-backend
You will have to enable the component called 
reel@BM2LTSR66RBin:/media/hd/home/reel$
Where do i enable 'multiverse' ?

Is this something to do with synaptic ?

Many thanks again.

myth
Newcomer
Posts: 7
Joined: Thu Jan 19, 2017 9:40 am
Spain

Re: Kodi and Mythtv ?

Post by myth » Sat Jan 21, 2017 6:54 pm

Hello Mike,

I found out what 'multiverse' is , it´s a repository .

I was on the right path when i mentioned synaptic .

Once again entered into the terminal :

Code: Select all

reel@BM2LTSR66RBin:/media/hd/home/reel$ mythbackend --version
The program 'mythbackend' is currently not installed. You can install it by typing:
sudo apt-get install mythtv-backend
reel@BM2LTSR66RBin:/media/hd/home/reel$ sudo apt-get install mythtv-backend
[sudo] password for reel: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 mythtv-backend : Depends: mythtv-common but it is not going to be installed
                  Depends: mythtv-transcode-utils but it is not going to be installed
                  Depends: libmyth-0.27-0 (>= 2:0.27.0+fixes.20140324.8ee257c) but it is not going to be installed
                  Recommends: libmyth-python but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
reel@BM2LTSR66RBin:/media/hd/home/reel$
I don´t think you can install Kodi and Mythtv together .

Ok then, thanks for trying to help at least.

I will just have to find some other way of scanning tv/satellite channels into Kodi.

Best Regards.

daraden
Senior
Posts: 169
Joined: Tue Feb 23, 2016 7:33 am
United States of America

Re: Kodi and Mythtv ?

Post by daraden » Sat Jan 21, 2017 7:49 pm

The problem is you do not have MythTV installed you only have the "Kodi MythTV pvr client". MythTV is completely separate software. The "Kodi MythTV pvr client" simply allows you to access MythTV through Kodi, you still need to install and configure MythTV.

Install MythTV:
sudo add-apt-repository ppa:mythbuntu/0.28
sudo apt-get update
sudo apt-get install mythtv

then run:
mythtv-setup

myth
Newcomer
Posts: 7
Joined: Thu Jan 19, 2017 9:40 am
Spain

Re: Kodi and Mythtv ?

Post by myth » Sat Jan 21, 2017 8:36 pm

Hello daraden,

Many thanks for helping here. I had begun to look for other ways of scanning in tv channels when google notifier said i had a new notification for this post .

On entering the sudo apt-get install mythtv igot :

Code: Select all

reel@BM2LTSR66RBin:/media/hd/home/reel$ sudo apt-get install mythtv
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 mythtv : Depends: mythtv-database but it is not going to be installed
          Depends: mythtv-frontend but it is not going to be installed
          Depends: mythtv-backend but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
reel@BM2LTSR66RBin:/media/hd/home/reel$
I think we need a little magic .

Thanks for helping out.

daraden
Senior
Posts: 169
Joined: Tue Feb 23, 2016 7:33 am
United States of America

Re: Kodi and Mythtv ?

Post by daraden » Sat Jan 21, 2017 8:43 pm

go into software & updates in the Ubuntu Software tab make sure everything but source code is selected

myth
Newcomer
Posts: 7
Joined: Thu Jan 19, 2017 9:40 am
Spain

Re: Kodi and Mythtv ?

Post by myth » Sat Jan 21, 2017 8:50 pm

Hello daraden,

Just made those changes you mentioned minus the source code , ran the sudo apt-get install mythtv and get the same error as my last post .

daraden
Senior
Posts: 169
Joined: Tue Feb 23, 2016 7:33 am
United States of America

Re: Kodi and Mythtv ?

Post by daraden » Sat Jan 21, 2017 9:03 pm


Post Reply