I just upgraded MythTV to 0.30 with some amount of trepidation, but it all went well. Still on Ubuntu 14.04.
Nothing to merge in our repo; I updated the readme on master since it was out of sync with the code.
I’d like you to look at the instructions and see if there might be a better way… Now that we have a folder and multiple files, it takes an extra wget
per code file. If we added more, we’d need to wget each one… I couldn’t see another way easily. It works for me though…
I’m still hoping we can get some testers and improve things as needed based on feedback.
I’ve just tried getting mythtv integration working again and have not quite succeeded. I was using HA 0.84 on hassbian with MythTV 0.28 and had it all working for 3 different frontends around the house.
I’ve upgraded HA to 0.90.1, removed my previous mythfrontend media player and followed the new installation instructions on https://github.com/calmor15014/HA-Component-mythtv-frontend, including the 2 wget commands.
On starting HA I get
“Error while setting up platform mythtv”
[snip…]
File “/home/homeassistant/.homeassistant/custom_components/mythtv/media_player.py”, line 92, in init
from wakeonlan import wol
ImportError: cannot import name ‘wol’
I did have wakeonlan 1.1.6 installed, but I have removed that and installed wakeonlan 0.2.2 but the error still remains. I have just commented out lines 92 and 103 that make reference to wol. HA willl then start up with no errors logged, just a warning about “You are using a custom component for mythtv.media_player”. And with a reload of my web browser, HA now shows my frontend and play/pause are working.
Any pointers on getting the wol code not to error? I don’t actually use it with the my frontends, it’s just I don’t like having to comment out stuff to make it work, it feels wrong.
Thanks for the report Wade. I’ll look into this as soon as I can and get back to you. Good that it mostly works
I just made a pull request which fixes the wol error to work with the wakeonlan that homeassistant wake_on_lan component uses.
if you want you can try my unofficial branch
You will need both media_player.py and manifest.json
to note I also added shutdown and seek.
Thanks for the PR! I’ve tested it and merged. Looking good on my systems.
Working nicely on my system too. 8)
I finally got some time to get onto MythTV 30. I’m happy to see everyone adding on, and look forward to testing it out soon!
Has anyone got this working with Home Assistant OS / core-2021.x ?
I had it working with minimal hassles before on Hassbian (using instructions from GitHub - calmor15014/HA-Component-mythtv-frontend: Home Assistant media player component for MythTV 0.27+ Frontend) but now with all the containerisation I don’t know where to start when trying to install. Any tips or pointers to get me started would be greatly appreciated.
Hi Wade. This is on my medium-term TODO list.
What do you mean about “with all the containerisation”? What install method are you using?
Hi Lindsay.
I’m on a Pi 4 with Home Assistant OS (Raspberry Pi - Home Assistant).
Re containerisation: With Hassbian being plain linux, it was straight forward to locate files / paths / where and how to install things. With haOS, SSH is via an add-on that allows access to that add-ons container, and “This add-on will not enable you to install packages or do anything as root” (from it’s docs).
I assume us getting it into HACS would help (and is on the issues list) but a divorce and a lot of moving all my stuff has kept me out of the game for a bit. I should (hopefully) be closing on my house in June and getting set back up. I don’t have MythTV or HA running right now to test anything.