LinHES Forums
http://forum.linhes.org/

Getting Schedules Direct working with KnoppMyth
http://forum.linhes.org/viewtopic.php?f=6&t=16178
Page 1 of 13

Author:  cecil [ Mon Aug 20, 2007 6:35 pm ]
Post subject:  Getting Schedules Direct working with KnoppMyth

Once SD goes live (if R5Fx isn't out):

1) Get and install the latest XMLTV (0.5.48 as of this writing) from xmltv.org.
2) Get and install the latest -fixes (mythtv and plugins).
3) Signup for Schedules Direct (when it goes public).
4) Create lineup on SD site.
5) Run mythtv-setup (<alt><s> (make sure you stop the backend <alt><2>)).
6) Deleted all video sources.
7) Create lineup using SD.
8 ) Run mythfilldatabase --refresh-all (give it a moment to start grabbing the listing)
9) Bind the new SD source to your input as usual.
10) Enjoy (exit mythtv-setup, start the backend <alt><1> and start the frontend <alt><m>)!

Example:
Code:
wget http://internap.dl.sourceforge.net/sourceforge/xmltv/xmltv-0.5.48.tar.bz2
tar xjvf xml<tab>
cd xml<tab>
perl Ma<tab> PREFIX=/usr
make
make test
su
make install
exit
cd..
svn co http://svn.mythtv.org/svn/branches/release-0-20-fixes/mythtv
svn co http://svn.mythtv.org/svn/branches/release-0-20-fixes/mythplugins
cd mythtv
./configure --prefix=/usr --arch=i586 --enable-dvb --enable-firewire --dvb-path=/usr/include --enable-xvmc --enable-xvmc-vld --enable-opengl-vsync --enable-mmx --enable-proc-opt --enable-memalign-hack --enable-xvmc-pro
qmake mythtv.pro
make
su
make install
exit
cd ../mythp<tab>
./configure --prefix=/usr --enable-all --disable-festival  --enable-fftw --enable-sdl --enable-aac --enable-new-exif
qmake mythplugins.pro
make
su
make install
As I'm not running any version but the absolute latest, I won't be making packages for older releases. The instructions are easy to follow so building things from source should not be a biggie. You can also wait for the next release, which will include the above plus more!

Author:  manicmike [ Mon Aug 20, 2007 7:00 pm ]
Post subject:  Re: Getting Schedules Direct working with KnoppMyth

cecil wrote:
start the backend <alt><1> and start the frontend <alt><f>)!


Shouldn't that be <alt><m>?

Mike

Author:  cecil [ Mon Aug 20, 2007 7:01 pm ]
Post subject: 

Doh!

Author:  cecil [ Mon Aug 20, 2007 7:16 pm ]
Post subject: 

NOTE: This will break MythWeather to fix:
Code:
#!/bin/sh
#
cd /tmp/
mkdir mythweather
cd mythweather
wget http://svn.mythtv.org/trac/export/13313/trunk/mythplugins/mythweather/mythweather/main.cpp
wget http://svn.mythtv.org/trac/export/13313/trunk/mythplugins/mythweather/mythweather/mythweather.pro
wget http://svn.mythtv.org/trac/export/13313/trunk/mythplugins/mythweather/mythweather/weather.cpp
wget http://svn.mythtv.org/trac/export/13313/trunk/mythplugins/mythweather/mythweather/weather.h

qmake

wget http://svn.mythtv.org/trac/raw-attachment/ticket/3327/mythweather2.patch
wget http://svn.mythtv.org/trac/raw-attachment/ticket/3327/icons1.zip
wget http://svn.mythtv.org/trac/raw-attachment/ticket/3327/icons2.zip
wget http://svn.mythtv.org/trac/raw-attachment/ticket/3327/icons3.zip
wget http://svn.mythtv.org/trac/raw-attachment/ticket/3327/icons4.zip

patch < mythweather2.patch

make
cp libmythweather.so /usr/lib/mythtv/plugins/

unzip icons\?.zip -d /usr/share/mythtv/themes/default
sleep 10 # added so you can read the results--
Thank mjl for the script. Now, simple restart the frontend.

Author:  djb61230 [ Tue Aug 21, 2007 10:36 am ]
Post subject:  Re: Getting Schedules Direct working with KnoppMyth

cecil wrote:
As I'm not running any version but the absolute latest, I won't be making packages for older releases. The instructions are easy to follow so building things from source should not be a biggie. You can also wait for the next release, which will include the above plus more!


So as a sanity check may I ask: I have R5E50 installed, would building from source as described here work without hosing things?

Thanks in advance.

Author:  cecil [ Tue Aug 21, 2007 11:16 am ]
Post subject: 

Yes, it should work.

Author:  marc.aronson [ Tue Aug 21, 2007 10:59 pm ]
Post subject: 

Would the directions work for R5D1?

Marc

Author:  cecil [ Wed Aug 22, 2007 9:22 am ]
Post subject: 

Yes, it should work with D1 as well. With D1 however, you may need to upgrade the XMLTV pre-reqs.

Author:  marc.aronson [ Wed Aug 22, 2007 1:36 pm ]
Post subject: 

Cecil, thanks for the quick reply. I've already downloaded and built the new version of xmltv, but I have not yet done a "make install". Do you think installing this might cause anything in my exisitng R5D1 implementation to break?

All:

I've been doing some more reading, and it looks like some people are doing the migration with a strategy that looks something like this:

1. Change the settings in mythtv so that it no longer calls mythfilldatabase from within mythtv.

2. Create a script that first calls xmltv to download the guide data and then uses mythfilldatabase to load that data into the data base.

3. Attach the script to a crontab entry.

The implication is that there isn't a need to drop sources, etc. Has anyone else seen threads suggesting that this will work and does anyone see any issues with using this approach for R5D1?

BTW, I will be upgrading to R5F* at some point, but I also have to help my daughter, brother and nephew through their ugprades. Also, my daughter's system uses a mediaMVP front end, and I'm not sure that the MVP folks have moved to 0.20 yet...

Marc

Author:  cecil [ Wed Aug 22, 2007 8:56 pm ]
Post subject: 

Performing the above should not break D1. In terms of any software tweaks one can do w/ older version of MythTV, I'm unaware of them. I've not intention of trying to tweak older software when the newer version works the same as the old only with a different source.

Author:  marc.aronson [ Wed Aug 22, 2007 11:01 pm ]
Post subject: 

Quote:
I've no intention of trying to tweak older software when the newer version works the same as the old only with a different source.


Fair enough, but I do have a final question. After doing some more digging, my conclusion is that I should not install the new version of xmltv until I am able to obtain a schedules direct account. I say this because it looks like once I do this install, my system will be going to the schedules direct URL for guide data instead of the zap2it labs URL. Am I correct about this, or am I mis-understanding how things work? Thanks!

Marc

Author:  slowbiscuit [ Thu Aug 23, 2007 2:24 pm ]
Post subject: 

Yep, unfortunately this is true - I upgraded yesterday with cecil's excellent directions (thanks!) but this broke mythfilldatabase using the old zap2it logon - as you said the URL has changed in XMLTV.

I hope they allow new SD users soon because I've got enough guide data to last into Sept., but I can't get any more from Z2L unless I back off what I just did.

Author:  marc.aronson [ Thu Aug 23, 2007 9:21 pm ]
Post subject: 

slowbiscuit, thanks for the information -- sorry that you hit this problem. Perhaps a download, build and install of the previous version will enable you to continue using zap2it until you can get signed up with sd...

Marc

Author:  aa1979 [ Thu Aug 23, 2007 9:31 pm ]
Post subject: 

Will this require that I rescan and setup all my QAM channels from scratch again? That took forever.

Author:  marc.aronson [ Thu Aug 23, 2007 9:35 pm ]
Post subject: 

Cecil's directions do imply that you will need to do that (drop and re-creation of sources). I have read some other postings in other forums that state that the dropping and re-creation of video sources is not necessary. (mythtv email archives and the schedules direct forum). I don't have enough knowledge to know for sure one way or the other.

Marc

Page 1 of 13 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/