google-code-export / mythbox

Automatically exported from code.google.com/p/mythbox
GNU General Public License v2.0
0 stars 2 forks source link

Mythbox doesn't work with MythTV 0.25 #208

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Installed MythTV 0.25
2.Configured MythBox within XBMC to connect to the MythTV backend
3.Connetion Refused Message

What is the expected output? What do you see instead?
I expected to be able to view my recordings on my MythTV backend.  Instead I 
get a connection refused message.

What version of the product are you using? On what operating system?
XBMC version 11 Eden and MythTV 0.25 running on the Mythbuntu operating system

Please provide any additional information below.

Original issue reported on code.google.com by philip.s...@gmail.com on 28 Apr 2012 at 8:17

GoogleCodeExporter commented 9 years ago
I have a fix. I installed an updated xbmc with libcmyth from  David Teirney's 
repository. Then, I updated mythbox's protocol.py file with the new protocol 
versions. I've attached the new file. I'd do a diff, but I'm lazy :).

# Ubuntu instructions
sudo apt-get install git
sudo apt-get build-dep xbmc
git clone https://github.com/dteirney/xbmc.git
cd xbmc
git checkout myth-0.25
./bootstrap
./configure
make -j2               # the 2 indicates dual-core
sudo make install

# This xbmc install is located at /usr/local/bin/xbmc
# It is not set up in the menus, or the package manager, 
# so you'll have to manually add shortcuts and links
# 
# Start xbmc
# Download mythbox
# Exit xbmc

# assuming the new protocol.py is in your home folder
cd ~/.xbmc/addons/script.mythbox/resources/src/mythbox/mythtv/
mv protocol.py protocol.py.old
cp ~/protocol.py .

# Enjoy!

Original comment by bnor...@gmail.com on 28 Apr 2012 at 3:04

Attachments:

GoogleCodeExporter commented 9 years ago
thanks for this, but I don't want to have to recompile as I am using openelec :(

Original comment by loru...@gmail.com on 28 Apr 2012 at 6:37

GoogleCodeExporter commented 9 years ago
With the updated protocol.py can you watch Live TV and your recordings?

Original comment by srunner2...@gmail.com on 30 Apr 2012 at 3:28

GoogleCodeExporter commented 9 years ago
I switched to the mythbox version from here:
https://github.com/mitchcapper/mythbox (found here: 
http://forum.xbmc.org/showthread.php?tid=43115&page=75)
It works with mythtv 0.25

If its correct it would be great to see it merged into the official add-on

Original comment by morte...@gmail.com on 30 Apr 2012 at 4:20

GoogleCodeExporter commented 9 years ago
The patch should go into the main xbmc branch soon, so you can just download a 
nightly build.

Yes, I can watch live TV and recordings. 

The only correction I would make to the script I added is to line up the 
protocol with the mythtv version. Currently, it starts 0.25 with protocol 
version 70, which I think it should be something like 66 instead.

Original comment by bnor...@gmail.com on 30 Apr 2012 at 7:26

GoogleCodeExporter commented 9 years ago
When I try the Mythbox fork suggested above my Recording and Live TV never 
play, the progress wheel pops up then a second later it goes away and nothing 
happens.

Original comment by srunner2...@gmail.com on 1 May 2012 at 2:48

GoogleCodeExporter commented 9 years ago
I get the same as srunner2.
I have posted a log extract here 
http://forum.xbmc.org/showthread.php?tid=43115&pid=1093624#pid1093624

Original comment by jdorring...@gmail.com on 3 May 2012 at 2:49

GoogleCodeExporter commented 9 years ago
Will this fix the invalid protocol error?

Original comment by rcl...@gmail.com on 9 May 2012 at 6:48

GoogleCodeExporter commented 9 years ago
To get mythtv 0.25 to work you must update both XBMC (specifcally libcmyth) and 
mythbox.  The xbmc update is in the master branch, so here's an updated guide.

# Warning: The git version of XBMC can be unstable.
# Follow this guide to install the updated XBMC
# http://wiki.xbmc.org/index.php?title=HOW-TO:Compile_XBMC_for_Linux

# Next, checkout the mitchcapper branch of mythbox
cd ~
git clone https://github.com/mitchcapper/mythbox.git

mv -f ~/.xbmc/addons/script.mythbox ~  # or just rm -rf
ln -s ~/mythbox ~/.xbmc/addons/script.mythbox

Original comment by bnor...@gmail.com on 12 May 2012 at 8:58

GoogleCodeExporter commented 9 years ago
For those of you who are running Ubuntu 12.04, I have applied the necessary 
0.25 to the XBMC version bundled with Ubuntu in this PPA:

https://launchpad.net/~mj-casalogic/+archive/xbmc-mythbox

You still need the mitchcapper branch of MythBox to get it to work though... 

Original comment by MartinJu...@googlemail.com on 10 Aug 2012 at 12:23

GoogleCodeExporter commented 9 years ago
It works, thanks you.

Original comment by the...@gmail.com on 10 Aug 2012 at 7:09

GoogleCodeExporter commented 9 years ago
So when is this going to be in the official mythbox and xbmc releases?

Original comment by jgatkinsn on 18 Mar 2013 at 7:22