Posts: 7
Joined: Jan 2016
Reputation:
0
Should I uninstall the old one first?
Posts: 291
Joined: Mar 2013
Reputation:
14
There is no need to uninstall the old one. Kodi when it starts will load the pvr.mythtv addon from .kodi/addons/ if it exists, in preference from the normal install path, typically /usr/share/kodi/addons/.
If you ever need to update pvr.mythtv in .kodi/addons/ just use unzip -o <filename>. The -o just causes the unzip operation to overwrite what is already present. It is important to restart Kodi after the unzip operation. Kodi does have an "Install from zip option", do not use for pvr.mythtv it does not always work, hence the use of unzip.
Mike
Posts: 7
Joined: Jan 2016
Reputation:
0
Thanks for the info.
I tried unzippng the file on my Mint compy and copying it to the sd card. The files all appeared to have similar dates, although the changelog.txt did have a new rev listed.
When I plugged it into my Pi and enabld the mythpvr addon and enabled TV it reset and went into a reset loop, comimg up with the Kodi logo and then restarting.
I'm not sure if unzipping on Mint somehow caused the problem.
Luckily I had saved the original pvr.myth folder and copied it back to the sd card using Mint. I also copied the zip file so I could try unzipping on the Pi. However now my Pi flashes the LEDs when it powers up, but I get no signal to my TV. I'm afraid I may have damaged my Pi with ESD or something.
I think I'll try re-building the sd card (with the latest openelec) and see what happens. If that doesn't work I'll need to buy another Pi.
Thanks for you help!
Posts: 291
Joined: Mar 2013
Reputation:
14
It is most likely SD card corruption, so a reimage should fix it.
I did test my instructions using Openelec 6.0.3 and unzipping on the Pi, pvr.mythtv addon worked fine with my mythtv fixes/0.28 test system.
I normally use gftp on a linux system (Ubuntu/Xubuntu/Mythbuntu/Mint etc.) to transfer files to a Pi, and then ssh to the PI to unzip.
The only time I have seen damage was to an SD card when I forgot unplug the Pi power cord before removing/inserting the SD card. No damage to the Pi.
Mike
.
Posts: 7
Joined: Jan 2016
Reputation:
0
You were right about the corrupt card. Rebuilt with openelec 6.0.3
ftp'd pvr.myth zip and unzipped using SSH
rebooted and PVR addon shows rev 2.8.5
configured IP address and enabled
tried enabling TV and it reboots every time.
hmmm...
Posts: 7
Joined: Jan 2016
Reputation:
0
Mike,
Success!!!
I was able to ftp over the new addon, then SSH and unzip, then reboot from SSH
Myth addon was already setup and enabled, so I just enabled TV and it started running the PVR stuff.
I can watch TV now (after re-enabling the MPG2 license.)
So, are you one of the authors of this addon, or just someone familiar with it?
Thank you, Thank you, Thank you for all your help! I would have torn my hair out without your support!
Thanks,
Don
Posts: 291
Joined: Mar 2013
Reputation:
14
Don,
Great that it is now working.
I am familiar with the addon and have contributed a little bit to development.
I normally run development versions of Kodi and Mythtv, so I build a lot from source.
Just for the record, I rebuilt the addon from the official source code, using official Raspberry Pi Foundation Toolchain on Ubuntu 16.04.
Mike
Posts: 7
Joined: Jan 2016
Reputation:
0
Cool!
Does this change need to get inserted back into the source for others who have a similar setup to mine?