knoppmyth.net Forum Index knoppmyth.net
The home of KnoppMyth.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Getting Schedules Direct working with KnoppMyth
Goto page 1, 2, 3 ... 11, 12, 13  Next
 
Post new topic   Reply to topic    knoppmyth.net Forum Index -> General
View previous topic :: View next topic  
Author Message
cecil
Site Admin


Joined: 19 Sep 2003
Posts: 2634
Location: Fontana, Ca

PostPosted: Mon Aug 20, 2007 4:35 pm    Post subject: Getting Schedules Direct working with KnoppMyth Reply with quote

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!

Last edited by cecil on Mon Aug 20, 2007 5:01 pm; edited 1 time in total
Back to top
View user's profile Send private message
manicmike



Joined: 28 Aug 2005
Posts: 707
Location: Melbourne, Australia

PostPosted: Mon Aug 20, 2007 5:00 pm    Post subject: Re: Getting Schedules Direct working with KnoppMyth Reply with quote

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


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

Mike
_________________
**************
LinHES 6.0
Australian Dragon
**************
Back to top
View user's profile Send private message Visit poster's website
cecil
Site Admin


Joined: 19 Sep 2003
Posts: 2634
Location: Fontana, Ca

PostPosted: Mon Aug 20, 2007 5:01 pm    Post subject: Reply with quote

Doh!
Back to top
View user's profile Send private message
cecil
Site Admin


Joined: 19 Sep 2003
Posts: 2634
Location: Fontana, Ca

PostPosted: Mon Aug 20, 2007 5:16 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
djb61230



Joined: 23 Jun 2006
Posts: 104

PostPosted: Tue Aug 21, 2007 8:36 am    Post subject: Re: Getting Schedules Direct working with KnoppMyth Reply with quote

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.
Back to top
View user's profile Send private message
cecil
Site Admin


Joined: 19 Sep 2003
Posts: 2634
Location: Fontana, Ca

PostPosted: Tue Aug 21, 2007 9:16 am    Post subject: Reply with quote

Yes, it should work.
Back to top
View user's profile Send private message
marc.aronson



Joined: 18 Jan 2005
Posts: 1288
Location: California

PostPosted: Tue Aug 21, 2007 8:59 pm    Post subject: Reply with quote

Would the directions work for R5D1?

Marc
Back to top
View user's profile Send private message
cecil
Site Admin


Joined: 19 Sep 2003
Posts: 2634
Location: Fontana, Ca

PostPosted: Wed Aug 22, 2007 7:22 am    Post subject: Reply with quote

Yes, it should work with D1 as well. With D1 however, you may need to upgrade the XMLTV pre-reqs.
Back to top
View user's profile Send private message
marc.aronson



Joined: 18 Jan 2005
Posts: 1288
Location: California

PostPosted: Wed Aug 22, 2007 11:36 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
cecil
Site Admin


Joined: 19 Sep 2003
Posts: 2634
Location: Fontana, Ca

PostPosted: Wed Aug 22, 2007 6:56 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
marc.aronson



Joined: 18 Jan 2005
Posts: 1288
Location: California

PostPosted: Wed Aug 22, 2007 9:01 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
slowbiscuit



Joined: 05 Oct 2006
Posts: 17

PostPosted: Thu Aug 23, 2007 12:24 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
marc.aronson



Joined: 18 Jan 2005
Posts: 1288
Location: California

PostPosted: Thu Aug 23, 2007 7:21 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
aa1979



Joined: 11 Feb 2006
Posts: 44

PostPosted: Thu Aug 23, 2007 7:31 pm    Post subject: Reply with quote

Will this require that I rescan and setup all my QAM channels from scratch again? That took forever.
Back to top
View user's profile Send private message
marc.aronson



Joined: 18 Jan 2005
Posts: 1288
Location: California

PostPosted: Thu Aug 23, 2007 7:35 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    knoppmyth.net Forum Index -> General All times are GMT - 8 Hours
Goto page 1, 2, 3 ... 11, 12, 13  Next
Page 1 of 13

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group