dmicklem
09-09-2004, 05:34 AM
Hi all,
I'm hoping to get some help setting up an emulator here in Norway (where
there is no official service). I hope this is a good place to post - I figured
the NZ subgroup was the best bet as you seem to have been through setting
stuff up most recently.
So far I have had quite a bit of success. I got a whole bunch of files
from the tivo.canada guys and set up everything as described by them.
The Tivo goes through guided setup fine (via phoning my ISP), and
'sees' the five stations I have set up, with the correct on-screen
names etc. It is able to change channels on the VCR that is acting as
PAL tuner so that is OK too.
So far so good: the Tivo can talk to my server and make sense of what it
hears.
To generate guide data, I've been using mkguideslices.pl which uses
tv_grab (there is a _no version thankfully) to scrape data, filters
it through tv_extractinfo_en, tv_sort and tv_grep. Then through
xmltv2tivo and finally writeguide. At each stage in this process the
data appears to me to be sane.
At the Tivo end, the daily call appears to succeed and the logs suggest
that the guide slice has been downloaded. But now everything falls apart: no
matter how long I wait or what I do the Tivo never recognises that it has
found any guide data.
I'd really appreciate any suggestions for things to look at as I have
been tearing out my hair, redoing everything over again, Clear and
Deleting etc etc without getting any closer to having any clue about
what might be wrong.
I've included heavily trimmed versions of the various intermediate files,
and a summary of some of the info from dumpobj. As far as I can tell all
the numbers match up, but I don't really _know_ what the files should look
like! I hope it isn't too long...
Thanks for any comments/suggestions,
David
I'm using a recent Oztivo Image (1.3 I think). Philips Series 1 with a big
drive added.
The Tivo seems to have interpreted the Headend as follows, and the
numbers seem to match what was set in config files on the server:
SetupID->AVSource->Channels are:
36972->36972/12->36972/13-18.
Looking at just 36972/18:
Number = 1
Station = 37019/-1
Call sign = NRK1
City, Bergen
Country = Norway
Index Path = /StationsTMS/1001:909b /Server/1100001
Name = NRK1
Server Id = 1100001
Server Version =75
State = SH
Tms = 1001
Version = 1
Zipcode = 5010
The headend.txt file looks like this (trimmed to just one station to save space...)
Guide type=3
Station/1/1100001/75 {
TmsId: {1001}
Name: {NRK1}
CallSign: {NRK1}
City: {Bergen}
State: {SH}
ZipCode: {05010}
Country: {Norway}
}
Headend/1/8000000/75 {
TmsHeadendId: {SH05010}
State: {SH}
TimeZone: 9
CityPostalCode: CityPostalCode/2000
PostalCode: {05010}
EncryptionKeys: {199801,1,0x199793}
EncryptionKeys: {199803,1,0x199795}
EncryptionKeys: {199806,1,0x199798}
CommunityName: {Bergen}
CountyName: {Bergen}
Location: {Bergen}
Name: {Providername}
Lineup: Lineup/8000001
Subrecord Lineup/8000001 {
Name: {Linup}
Type: 1
Channel: Channel/10000
}
Subrecord Channel/10000 {
Number: 1
ServiceTier: 1
Station: Station/1/1100001
}
Subrecord CityPostalCode/2000 {
PostalCode: {05010}
CommunityName: {Bergen}
}
}
PostalCode/1/2000000/75 {
Headend: Headend/1/8000000
PostalCode: {05010}
}
The final .xml files (trimmed to one program and one station) looks like:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE tv SYSTEM "xmltv.dtd">
<tv source-info-url="http://fredag.dagbladet.no/tv/" source-data-url="http://fredag.dagbladet.no/tv/" generator-info-name="XMLTV" generator-info-url="http://membled.com/work/apps/xmltv/">
<channel id="1.fredag.dagbladet.no">
<display-name>NRK 1</display-name>
</channel>
<programme start="20040908062800 +0200" stop="20040908093000 +0200" channel="1.fredag.dagbladet.no">
<title lang="no">Frokost-TV</title>
<desc lang="no">Møt dagen med nyheter hver halvtime, aktuelle gjester, filmer for de minste, praktiske tips, underholdningsstoff og mye mer. Programleder:Cille Biermann og Erik Wold.</desc>
</programme>
</tv>
That trimmed .xml file yields this after xml2tv:
Guide type=3
Program/1/150010710/119 {
Title: {Frokost-TV}
Description: {M<F8>t dagen med nyheter hver halvtime, aktuelle gjester, filmer for de minste, praktiske tips, underholdningsstoff og mye mer. Programleder:Cille Biermann og Erik Wold.}
Series: Series/1/100000693
Genre: 1000
}
StationDay/1/200000360/119 {
Day: 12669
# Date: Wed, 08 Sep 2004
Station: Station/1/1100001
Showing: Showing/10
Subrecord Showing/10 {
Station: Station/1/1100001
Program: Program/1/150010710
Date: 12669
Time: 16080
Duration: 10920
# EndTime: 27000
}
}
After running through writeguide and then readguide is looks like this (ie much the same)
Guide type=3
Program/1/150010710/119 {
Title: {Frokost-TV}
Description: {M<F8>t dagen med nyheter hver halvtime, aktuelle gjester, filmer for de minste, praktiske tips, underholdningsstoff og mye mer. Programleder:Cille Biermann og Erik Wold.}
Series: Series/1/100000693
Genre: 1000
}
StationDay/1/200000360/119 {
Day: 12669
Station: Station/1/1100001
Showing: Showing/10
Subrecord Showing/10 {
Station: Station/1/1100001
Program: Program/1/150010710
Date: 12669
Time: 16080
Duration: 10920
}
}
I'm hoping to get some help setting up an emulator here in Norway (where
there is no official service). I hope this is a good place to post - I figured
the NZ subgroup was the best bet as you seem to have been through setting
stuff up most recently.
So far I have had quite a bit of success. I got a whole bunch of files
from the tivo.canada guys and set up everything as described by them.
The Tivo goes through guided setup fine (via phoning my ISP), and
'sees' the five stations I have set up, with the correct on-screen
names etc. It is able to change channels on the VCR that is acting as
PAL tuner so that is OK too.
So far so good: the Tivo can talk to my server and make sense of what it
hears.
To generate guide data, I've been using mkguideslices.pl which uses
tv_grab (there is a _no version thankfully) to scrape data, filters
it through tv_extractinfo_en, tv_sort and tv_grep. Then through
xmltv2tivo and finally writeguide. At each stage in this process the
data appears to me to be sane.
At the Tivo end, the daily call appears to succeed and the logs suggest
that the guide slice has been downloaded. But now everything falls apart: no
matter how long I wait or what I do the Tivo never recognises that it has
found any guide data.
I'd really appreciate any suggestions for things to look at as I have
been tearing out my hair, redoing everything over again, Clear and
Deleting etc etc without getting any closer to having any clue about
what might be wrong.
I've included heavily trimmed versions of the various intermediate files,
and a summary of some of the info from dumpobj. As far as I can tell all
the numbers match up, but I don't really _know_ what the files should look
like! I hope it isn't too long...
Thanks for any comments/suggestions,
David
I'm using a recent Oztivo Image (1.3 I think). Philips Series 1 with a big
drive added.
The Tivo seems to have interpreted the Headend as follows, and the
numbers seem to match what was set in config files on the server:
SetupID->AVSource->Channels are:
36972->36972/12->36972/13-18.
Looking at just 36972/18:
Number = 1
Station = 37019/-1
Call sign = NRK1
City, Bergen
Country = Norway
Index Path = /StationsTMS/1001:909b /Server/1100001
Name = NRK1
Server Id = 1100001
Server Version =75
State = SH
Tms = 1001
Version = 1
Zipcode = 5010
The headend.txt file looks like this (trimmed to just one station to save space...)
Guide type=3
Station/1/1100001/75 {
TmsId: {1001}
Name: {NRK1}
CallSign: {NRK1}
City: {Bergen}
State: {SH}
ZipCode: {05010}
Country: {Norway}
}
Headend/1/8000000/75 {
TmsHeadendId: {SH05010}
State: {SH}
TimeZone: 9
CityPostalCode: CityPostalCode/2000
PostalCode: {05010}
EncryptionKeys: {199801,1,0x199793}
EncryptionKeys: {199803,1,0x199795}
EncryptionKeys: {199806,1,0x199798}
CommunityName: {Bergen}
CountyName: {Bergen}
Location: {Bergen}
Name: {Providername}
Lineup: Lineup/8000001
Subrecord Lineup/8000001 {
Name: {Linup}
Type: 1
Channel: Channel/10000
}
Subrecord Channel/10000 {
Number: 1
ServiceTier: 1
Station: Station/1/1100001
}
Subrecord CityPostalCode/2000 {
PostalCode: {05010}
CommunityName: {Bergen}
}
}
PostalCode/1/2000000/75 {
Headend: Headend/1/8000000
PostalCode: {05010}
}
The final .xml files (trimmed to one program and one station) looks like:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE tv SYSTEM "xmltv.dtd">
<tv source-info-url="http://fredag.dagbladet.no/tv/" source-data-url="http://fredag.dagbladet.no/tv/" generator-info-name="XMLTV" generator-info-url="http://membled.com/work/apps/xmltv/">
<channel id="1.fredag.dagbladet.no">
<display-name>NRK 1</display-name>
</channel>
<programme start="20040908062800 +0200" stop="20040908093000 +0200" channel="1.fredag.dagbladet.no">
<title lang="no">Frokost-TV</title>
<desc lang="no">Møt dagen med nyheter hver halvtime, aktuelle gjester, filmer for de minste, praktiske tips, underholdningsstoff og mye mer. Programleder:Cille Biermann og Erik Wold.</desc>
</programme>
</tv>
That trimmed .xml file yields this after xml2tv:
Guide type=3
Program/1/150010710/119 {
Title: {Frokost-TV}
Description: {M<F8>t dagen med nyheter hver halvtime, aktuelle gjester, filmer for de minste, praktiske tips, underholdningsstoff og mye mer. Programleder:Cille Biermann og Erik Wold.}
Series: Series/1/100000693
Genre: 1000
}
StationDay/1/200000360/119 {
Day: 12669
# Date: Wed, 08 Sep 2004
Station: Station/1/1100001
Showing: Showing/10
Subrecord Showing/10 {
Station: Station/1/1100001
Program: Program/1/150010710
Date: 12669
Time: 16080
Duration: 10920
# EndTime: 27000
}
}
After running through writeguide and then readguide is looks like this (ie much the same)
Guide type=3
Program/1/150010710/119 {
Title: {Frokost-TV}
Description: {M<F8>t dagen med nyheter hver halvtime, aktuelle gjester, filmer for de minste, praktiske tips, underholdningsstoff og mye mer. Programleder:Cille Biermann og Erik Wold.}
Series: Series/1/100000693
Genre: 1000
}
StationDay/1/200000360/119 {
Day: 12669
Station: Station/1/1100001
Showing: Showing/10
Subrecord Showing/10 {
Station: Station/1/1100001
Program: Program/1/150010710
Date: 12669
Time: 16080
Duration: 10920
}
}