2008-01-29, 00:57
2 years? blimey... oh well... *dons dog collar and prepares to resurect*
XBMCMYTHTV with MythTV 0.20.2 (on Ubuntu)
What you need:
Ubuntu 7.04 (presumably 7.10 too), it'll prolly work on other distros other than a couple files being in diff. places.
MythTV 0.20.2 (latest stable release from repos or mythbuntu's 0.20.2-fixes), not tested with svn just yet but i will...
XBMC (only tested with tech's 13th Jan 08 release)
xbmcmythtv (only tested with the last xbmcmythtv-0.20.34b release).
Pre Setup:
NOTE: if you have problems editing files, run "sudo nautilus" in terminal and open files in there.
Obviously a working xbmc setup and mythtv setup with externally accessible backend / samba shares.
For mythtv, backend setup > general > 1st page, IP address and Master Server IP address both need to be your eth lan IP, probably 192.168.X.X or whatever you have. 127.0.0.1 / localhost are no good.
Samba, install the samba package from repo, then right click your recordings directory (same one as in backend setup > general > page 2) and hit "Share folder". Then open /etc/samba/smb.conf and change "security = user" to "security = share" and add "force user = nobody" and "force group = nogroup" to the end of your directory share entry; it'll look a little like this:
[ubuntu704]
path = /mythtv/ubuntu704
available = yes
browsable = yes
public = yes
writable = no
force user = nobody
force group = nogroup
you may not need to do that, i was just trying to avoid any password confusion in xbmc.
FIX MYSQL PASSWORD CONNECTION ERROR
If you don't do this, you'll get a mysql "conn" error when you try setup xbmc, so, as detailed further on this page: http://www.teirney.net/blog/2007/04/30/g...-fawn-704/
Open /etc/mysql/my.cnf, uncomment bind-address and change the stuff after = to your eth lan IP address mentioned above.
now login to mysql in a terminal with "mysql -r root -p" you probably just have to hit enter when it asks for password. type the following:
SET PASSWORD for mythtv = OLD_PASSWORD('mythtv');
but change the final mythtv (in commas) to your mysql myth password, which you can find in myth fronted > setup > setup > general > password.
SETUP XBMC
check that you can access your samba shares through the video section first (you'll have to add it by browsing smb shares). open a file or two to make sure, though you should only have some if you have recordings saved.
ftp the xbmcmythtv folder to E:/Dashboard/scripts, then open it from the scripts section in xbmc. the settings screen should run automatically. change the mythtv host and mysql host ips to your eth lan IP as above, change protocol to 15, minimum live buffer size to 786482, your mysql password to the same as used above, and recorded and live path to smb://YOUR.IP//YOUR_REC_FOLDER filling in the obvious blanks. then test and it should hopefully work. the final settings.xml file created under E:/Dashboard/scripts/xbmcmythtv should look a little like this:
<mythtv_host>192.168.1.111</mythtv_host>
<mythtv_port>6543</mythtv_port>
<mythtv_statusport>6544</mythtv_statusport>
<mythtv_protocol>15</mythtv_protocol>
<mythtv_minlivebufsize>786482</mythtv_minlivebufsize>
<mythtv_tunewait>3</mythtv_tunewait>
<mythtv_startpage>0</mythtv_startpage>
<mythtv_liveplayer>0</mythtv_liveplayer>
<mythtv_recplayer>0</mythtv_recplayer>
<mythtv_recordlive>1</mythtv_recordlive>
<mythtv_recordlength>120</mythtv_recordlength>
<mysql_host>192.168.1.111</mysql_host>
<mysql_port>3306</mysql_port>
<mysql_database>mythconverg</mysql_database>
<mysql_user>mythtv</mysql_user>
<mysql_password>****mypassword****</mysql_password>
<mysql_encoding_override>latin1</mysql_encoding_override>
<paths_recordedprefix>smb://192.168.1.111/ubuntu704</paths_recordedprefix>
<paths_livetvprefix>smb://192.168.1.111/ubuntu704</paths_livetvprefix>
<paths_localcopypath>e:\videos\</paths_localcopypath>
<recorded_view_by>2</recorded_view_by>
<upcoming_view_by>2</upcoming_view_by>
<recorded_default_group>All Groups</recorded_default_group></mythtv>
And that's it. You might wanna use Bob interlace settings for playback if you're using a regular CRT (check that it outputs 50fps not 25fps) to stop it looking all jerky.
XBMCMYTHTV with MythTV 0.20.2 (on Ubuntu)
What you need:
Ubuntu 7.04 (presumably 7.10 too), it'll prolly work on other distros other than a couple files being in diff. places.
MythTV 0.20.2 (latest stable release from repos or mythbuntu's 0.20.2-fixes), not tested with svn just yet but i will...
XBMC (only tested with tech's 13th Jan 08 release)
xbmcmythtv (only tested with the last xbmcmythtv-0.20.34b release).
Pre Setup:
NOTE: if you have problems editing files, run "sudo nautilus" in terminal and open files in there.
Obviously a working xbmc setup and mythtv setup with externally accessible backend / samba shares.
For mythtv, backend setup > general > 1st page, IP address and Master Server IP address both need to be your eth lan IP, probably 192.168.X.X or whatever you have. 127.0.0.1 / localhost are no good.
Samba, install the samba package from repo, then right click your recordings directory (same one as in backend setup > general > page 2) and hit "Share folder". Then open /etc/samba/smb.conf and change "security = user" to "security = share" and add "force user = nobody" and "force group = nogroup" to the end of your directory share entry; it'll look a little like this:
[ubuntu704]
path = /mythtv/ubuntu704
available = yes
browsable = yes
public = yes
writable = no
force user = nobody
force group = nogroup
you may not need to do that, i was just trying to avoid any password confusion in xbmc.
FIX MYSQL PASSWORD CONNECTION ERROR
If you don't do this, you'll get a mysql "conn" error when you try setup xbmc, so, as detailed further on this page: http://www.teirney.net/blog/2007/04/30/g...-fawn-704/
Open /etc/mysql/my.cnf, uncomment bind-address and change the stuff after = to your eth lan IP address mentioned above.
now login to mysql in a terminal with "mysql -r root -p" you probably just have to hit enter when it asks for password. type the following:
SET PASSWORD for mythtv = OLD_PASSWORD('mythtv');
but change the final mythtv (in commas) to your mysql myth password, which you can find in myth fronted > setup > setup > general > password.
SETUP XBMC
check that you can access your samba shares through the video section first (you'll have to add it by browsing smb shares). open a file or two to make sure, though you should only have some if you have recordings saved.
ftp the xbmcmythtv folder to E:/Dashboard/scripts, then open it from the scripts section in xbmc. the settings screen should run automatically. change the mythtv host and mysql host ips to your eth lan IP as above, change protocol to 15, minimum live buffer size to 786482, your mysql password to the same as used above, and recorded and live path to smb://YOUR.IP//YOUR_REC_FOLDER filling in the obvious blanks. then test and it should hopefully work. the final settings.xml file created under E:/Dashboard/scripts/xbmcmythtv should look a little like this:
<mythtv_host>192.168.1.111</mythtv_host>
<mythtv_port>6543</mythtv_port>
<mythtv_statusport>6544</mythtv_statusport>
<mythtv_protocol>15</mythtv_protocol>
<mythtv_minlivebufsize>786482</mythtv_minlivebufsize>
<mythtv_tunewait>3</mythtv_tunewait>
<mythtv_startpage>0</mythtv_startpage>
<mythtv_liveplayer>0</mythtv_liveplayer>
<mythtv_recplayer>0</mythtv_recplayer>
<mythtv_recordlive>1</mythtv_recordlive>
<mythtv_recordlength>120</mythtv_recordlength>
<mysql_host>192.168.1.111</mysql_host>
<mysql_port>3306</mysql_port>
<mysql_database>mythconverg</mysql_database>
<mysql_user>mythtv</mysql_user>
<mysql_password>****mypassword****</mysql_password>
<mysql_encoding_override>latin1</mysql_encoding_override>
<paths_recordedprefix>smb://192.168.1.111/ubuntu704</paths_recordedprefix>
<paths_livetvprefix>smb://192.168.1.111/ubuntu704</paths_livetvprefix>
<paths_localcopypath>e:\videos\</paths_localcopypath>
<recorded_view_by>2</recorded_view_by>
<upcoming_view_by>2</upcoming_view_by>
<recorded_default_group>All Groups</recorded_default_group></mythtv>
And that's it. You might wanna use Bob interlace settings for playback if you're using a regular CRT (check that it outputs 50fps not 25fps) to stop it looking all jerky.