View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 93 posts ] 
Go to page Previous  1, 2, 3, 4, 5, 6, 7  Next

Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject:
PostPosted: Tue Jun 20, 2006 12:44 am 
Offline
Joined: Tue Mar 22, 2005 9:18 pm
Posts: 1422
Location: Brisbane, Queensland, Australia
I thought that, funny thing is that there is a stable version 0.52-4 which is the one that I have linked too. The one is unstable is version 0.55-3

Stable:
http://packages.debian.org/stable/perl/libjavascript-perl

Unstable:
http://packages.debian.org/unstable/perl/libjavascript-perl

_________________
Girkers


Top
 Profile  
 
 Post subject: tv_grab_au_reg
PostPosted: Tue Jun 20, 2006 7:41 am 
Offline
Joined: Wed Nov 23, 2005 7:44 am
Posts: 12
Hi Guys,

I'm installing a new mythbox and am trying the xmltv script:

http://www.cse.unsw.edu.au/~willu/xmltv ... u_reg.html

It actually seems REALLY good. I'm stuggling with one little problem though. When it downloads the guide data the time is in UTC format. I have tried adding 'channeltz="+1000"' but with no luck, it doesn't seem to add the 10 hours. Here is my config file:

Code:
<?xml version="1.0"?>

<config>

  <login provider="tvguide" user="**********" password="*********" />

    <channel display="ABC" tvguide="ABC-Vic" local="free.Melbourne.2" channeltz="+1000" />
    <channel display="Channel 7" tvguide="Seven-Mel" local="free.Melbourne.7" channeltz="+1000" />
    <channel display="Channel 9" tvguide="Nine-Mel" local="free.Melbourne.9" channeltz="+1000" />
    <channel display="Network TEN" tvguide="Ten-Vic" local="free.Melbourne.10" channeltz="+1000" />
    <channel display="SBS" tvguide="SBS-Vic" local="free.Melbourne.SBS" channeltz="+1000" />
    <channel display="Channel 31" tvguide="31-Mel" local="free.Melbourne.31" channeltz="+1000" />

</config>


It does seem to be saving the time because I have had a look at the output and it is saving the time as "20060620233000 +1000" the +1000 just doesn't seem to be going through to MySQL.

Any suggestions would be great.

Thanks in advance :)

Paul.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 22, 2006 6:04 am 
Offline
Joined: Fri May 05, 2006 10:29 pm
Posts: 8
Location: Australia
Greg Frost wrote:
It's up to version 1.60 now.


2.0 Just came out today! Immir really has been busy the last couple of weeks! - http://www.immir.com/tv_grab_au.

After a bit of futzing with Javascript libs (apt-get is broken for me thanks to the gr8nsh fix for XvMC :-) I have had good results with 1.65. The addition of SpiderMonkey support has got around the obfuscation that ninemsn introduced last week. Hats off to Immir on this one.

For those trying to build the CPAN modules by hand, there is an issue with the built-it gcc (3.3.5) on r5b7. The build will fail with an error about -Wdeclaration-after-statement not being supported. I removed this switch from the Makefile and lived with the resultant warnings. Seems to be working so far.

cheers,
Matt

_________________
In search of Unichrome Pro salvation


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 22, 2006 6:53 am 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
taylordtv, Have you got 2.0 working? It has more additional depedancies. This thread on gossamer says how you are supposed to install them, but I got errors attempting to install them that way.
http://www.gossamer-threads.com/lists/m ... ers/210038
I'm not sure if it is because I tried to install some other stuff that I thought would satisfy the dependency and it is conflicting.
When someone gets it working, could you please post details.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 22, 2006 7:05 am 
i followed the info on the mailing list and it seems to be working well for my setup

I am using a22 so i can still apt-get and what not with any problems.


Top
  
 
 Post subject:
PostPosted: Thu Jun 22, 2006 8:33 am 
Offline
Joined: Tue Mar 22, 2005 9:18 pm
Posts: 1422
Location: Brisbane, Queensland, Australia
I have got it working and it took a bit of fart assing about but I got there. Now whilst I have got it working I can not guarantee that I have not broken something else, buyer beware.

Here is my story. I too could not run the commands directly as they were listed on the mailing list so dependency searching I went. To cut a long story short I installed some extra deb packages and was then able to successfully run the commands and then the grabber.

Here is the list of packages that I have installed that enabled me to run the commands listed below (as quoted from mailing list):
Code:
libclass-autouse-perl_1.17-1_all.deb
libclass-factory-util-perl_1.6-2_all.deb
libclass-singleton-perl_1.03-6_all.deb
libdate-manip-perl_5.42a-3_all.deb
libdatetime-locale-perl_0.09-2_all.deb
libdatetime-perl_0.22-1_i386.deb
libdatetime-timezone-perl_0.28-1_all.deb
libextutils-autoinstall-perl_0.59-1_all.deb
libmodule-install-perl_0.34-2_all.deb
libparams-validate-perl_0.76-1_i386.deb
libtimedate-perl_1.1600-5_all.deb


Some of these deb packages are just for resolving other dependencies and they all can be installed using
Code:
dpkg -i [package]
You can get them from http://packages.debian.org

Now I did this in dribs and drabs so your mileage my vary but after installing these packages I was able to (as root):
Code:
perl -MCPAN -e 'install DateTime::TimeZone'
perl -MCPAN -e 'install DateTime::Format::DateManip'


My grabber then worked fine, don't forget to --configure and then --ignore-cache

_________________
Girkers


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 22, 2006 3:17 pm 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
Thanks Girkers. Whatever problem I was having trying to run the "perl -MCPAN -e 'install DateTime::Format::DateManip'" command, it went away after installing all of the packages you listed.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jun 24, 2006 1:44 am 
Offline
Joined: Sun Feb 13, 2005 3:34 pm
Posts: 65
Thanks girkers as well.... I NEVER would have figured that all out on my own.

(On top of my original anger of making my mythbox unbootable after devling into the horror of apt-get to try to get the javascript library).

I hope the knoppmyth gods smile down upon us and include these packages in the next release. Fingers crossed ;)

j


Top
 Profile  
 
 Post subject: Re: tv_grab_au_reg
PostPosted: Sat Jun 24, 2006 2:37 am 
Offline
Joined: Fri Feb 03, 2006 11:36 pm
Posts: 63
Location: Melbourne
I had the same problem with tv_grab_au_reg and had to call mythfilldatabase with --graboptions --force-explicit-timezone. You can specify it in the options in the setup. I'm not home at the moment so I can't get the exact settings right now.

Matouka wrote:
Hi Guys,

I'm installing a new mythbox and am trying the xmltv script:

http://www.cse.unsw.edu.au/~willu/xmltv ... u_reg.html

It actually seems REALLY good. I'm stuggling with one little problem though. When it downloads the guide data the time is in UTC format. I have tried adding 'channeltz="+1000"' but with no luck, it doesn't seem to add the 10 hours. Here is my config file:

Code:
<?xml version="1.0"?>

<config>

  <login provider="tvguide" user="**********" password="*********" />

    <channel display="ABC" tvguide="ABC-Vic" local="free.Melbourne.2" channeltz="+1000" />
    <channel display="Channel 7" tvguide="Seven-Mel" local="free.Melbourne.7" channeltz="+1000" />
    <channel display="Channel 9" tvguide="Nine-Mel" local="free.Melbourne.9" channeltz="+1000" />
    <channel display="Network TEN" tvguide="Ten-Vic" local="free.Melbourne.10" channeltz="+1000" />
    <channel display="SBS" tvguide="SBS-Vic" local="free.Melbourne.SBS" channeltz="+1000" />
    <channel display="Channel 31" tvguide="31-Mel" local="free.Melbourne.31" channeltz="+1000" />

</config>


It does seem to be saving the time because I have had a look at the output and it is saving the time as "20060620233000 +1000" the +1000 just doesn't seem to be going through to MySQL.

Any suggestions would be great.

Thanks in advance :)

Paul.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jun 24, 2006 8:49 am 
Offline
Joined: Tue Mar 28, 2006 5:29 am
Posts: 3
The MCPAN install instructions wouldn't work for me so I found the debian packages for those perl modules.

Code:
apt-get install libjavascript-perl libdatetime-perl libdate-manip-perl libdatetime-timezone-perl


That got it working fine for me, as usual apt-get comes through as one of the best tools ever.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jun 25, 2006 2:20 am 
Offline
Joined: Thu Mar 30, 2006 8:19 pm
Posts: 39
Oops.

Had R5B7 running beautifully with an EPG, but when messing around with version 2.3 of inmir's TV_GRAB_AU, I somehow managed to kill the mythfrontend and mythfilldatabase scripts, so I decided to install a clean R5C7.

Wish I hadn't now.

I now had the same problems as everyone else. Namely:

1> apg-get does NOT grab the files I need for tv_grab_au v2.3 to work. Like people before me, apt-get now can't find them.
2> CPAN now has a problem with the option -Wdeclaration-after-statement which means the majority of perl modules now fail to compile. Getting the required modules via CPAN is now also not possible.
3> I finally managed to grab all required files manually and the script now runs. However......

Are any of you guys seeing this? :

ReferenceError: spac_writeAd is not defined at line 0: (null)
TypeError: document.links has no properties at line 2: (null)

<THESE ARE REPEATED HUNDREDS OF TIMES - THEN:>

Warning: failed to read page http://tvguide.ninemsn.com.au/guide/010 ... 77694fcc7c in 5 attempts
Warning: Failed to get program listing for day 01072006
cannot open /cached.pl: Permission denied at /usr/bin/tv_grab_au line 442.
2006-06-25 16:06:39.771 ------------------ End of XMLTV output ------------------
Error in 1:1: unexpected end of file
2006-06-25 16:06:39.831 Updating icons for sourceid: 1
2006-06-25 16:06:39.887 New DB connection, total: 4
2006-06-25 16:06:39.888 Connected to database 'mythconverg' at host: localhost
Updated programs: 0 Unchanged programs: 0
2006-06-25 16:06:40.008 New DB connection, total: 5
2006-06-25 16:06:40.009 Connected to database 'mythconverg' at host: localhost
2006-06-25 16:06:40.012 Failed to fetch some program info
2006-06-25 16:06:40.012 Adjusting program database end times.
2006-06-25 16:06:40.013 0 replacements made
2006-06-25 16:06:40.013 Marking generic episodes.
2006-06-25 16:06:40.014 Found 0
2006-06-25 16:06:40.015 Marking repeats.
2006-06-25 16:06:40.017 Found 0
2006-06-25 16:06:40.017 Unmarking new episode rebroadcast repeats.
2006-06-25 16:06:40.018 Found 0
2006-06-25 16:06:40.019
===============================================================
| Attempting to contact the master backend for rescheduling. |
| If the master is not running, rescheduling will happen when |
| the master backend is restarted. |
===============================================================
2006-06-25 16:06:40.164 Connecting to backend server: 192.168.0.15:6543 (try 1 of 5)
2006-06-25 16:06:40.183 Using protocol version 26
2006-06-25 16:06:40.356 mythfilldatabase run complete.

I have no EPG data to speak of.

Anybody come across this and got around it or can someone tell me how to debug this?

Regards,
Ramrunner.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jun 25, 2006 5:26 am 
Offline
Joined: Tue Mar 22, 2005 9:18 pm
Posts: 1422
Location: Brisbane, Queensland, Australia
I get those errors as well but I still get data. Looking at the MSN javascript code this is the function:
Code:
function spac_writeAd(aTargetParams){
if (spac_cookie_speed != null) {
if (parseInt(spac_cookie_speed) >= spac_SpeedThreshold) {aTargetParams=aTargetParams+"/speed=broadband";}
else if(parseInt(spac_cookie_speed) < spac_SpeedThreshold) {aTargetParams=aTargetParams+"/speed=modem";}}
if (spac_referral.match(spac_Keyword1)) {aTargetParams=aTargetParams+"/referral="+spac_Keyword1;}
else if (spac_useragent.match(spac_Keyword1)) {aTargetParams=aTargetParams+"/referral="+spac_Keyword1;}

//document.write(spac_getAdHTML(aTargetParams));
//document.write(getMediaOneAdcode(aTargetParams));

var mediaOneAdCode = getMediaOneAdcode(aTargetParams);
document.write(mediaOneAdCode);
document.write(spac_getAdHTML(aTargetParams));


}

And looking at it, to me it just looks like is to insert ads. Mine runs with these erros, but still inserts the data fine.

I continue to watch the gossamer-threads for updates.

Ramrunner in regards to your issue of no data have a look at my earlier posts in this thread as I was getting no data as well just running mythfilldatabase, I had to run it as a two step process.

_________________
Girkers


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jun 25, 2006 5:39 pm 
Offline
Joined: Thu Mar 30, 2006 8:19 pm
Posts: 39
Girkers.

False alarm.

I had a look at your post last night, and already decided to follow your steps the next day if my mythfilldatabase did not work. I tried mythfilldatabase once more last night, and this morning, to my surprise, all EPG data was there.

(I quickly programmed the soccer in of course :))

As for your previous concerns about mythfilldatabase going in to /tmp/myth<whatever>, this is actually a normal occurance. I know you think that guide.xml is where it is supposed to go, but from what I understand, mythfilldatabase does in fact use tv_grab_au to grab the data into this temporary file, then fills the database from the temporary file. This is the way it has always worked for me for all this time in R5B7 anyway, I just thought somewhere in the process something must have become broken while using tv_grab_au v2.3.

I don't know what triggered the EPG being there though. I ran exactly the same mythfilldatabase yesterday, checked the mythweb interface for EPG data, and got nothing. Ran it last night, checked this morning, and everything is there!!!

Does it maybe just take a while to show up? I checked both the mythtv box and the mythweb interface when I did it the first time, and had nothing. It worked on the second run.

I'm still confused, but enormously happy it is working now.

Although I can understand why new users are still giving up a lot on mythtv. It really isn't the easiest thing to set up for a newb. Especially with all the new perl modules we need before anything even works, made worse by the fact that cpan appears to be broken in R5C7.

Regards,
Ramrunner


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jun 25, 2006 6:25 pm 
Offline
Joined: Wed Mar 03, 2004 7:43 pm
Posts: 748
Location: Sydney, Australia
Ramrunner wrote:
Although I can understand why new users are still giving up a lot on mythtv. It really isn't the easiest thing to set up for a newb.


Yes, but new users would be using the default tv_grab_au that ships with KnoppMyth, or maybe the paid ICEtv service.
It is only those of us who try the illegal scrapers that have all these problems.

_________________
| Nigel Pearson, nigel.pearson.au@gmail.com
| "Things you own end up owning you" - Tyler, Fight Club


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jun 25, 2006 7:13 pm 
Offline
Joined: Thu Mar 30, 2006 8:19 pm
Posts: 39
Quote:
Yes, but new users would be using the default tv_grab_au that ships with KnoppMyth, or maybe the paid ICEtv service.


I never really got the D1 sources (default knoppmyth) one working to my liking, that's why I went to Inmir's in the first place. Do they (if they work) give the same information as Inmir's? I might have to spend more time getting that to work if so.

As for ICE - I'd love to get theirs if it's reliable, but seriously - $3 per week? Are they nuts? $156 per year on top of my internet, phone line, and VoIP costs per year is just not a viable thing. We're getting in to building MediaPCs based on Myth at my work, and there's no way on this green earth, in this competitive market, that we can sell customers the box with $156 extra on top to get their EPG for a year.

Do ICE even realise they would be on to a winner if the costs were more reasonable? (I'd pay $50 a year or so no problem).

Ramrunner


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 93 posts ] 
Go to page Previous  1, 2, 3, 4, 5, 6, 7  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 10 guests


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 post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu