SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV EPG Service
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV EPG Service Discussion related to the SageTV EPG Service used within SageTV. Questions about service area coverage, channel lineups, EPG listings, XMLTV, or anything else related to the service or programming guide data for SageTV should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #781  
Old 06-09-2009, 03:07 PM
StephaneM's Avatar
StephaneM StephaneM is offline
Sage Icon
 
Join Date: Mar 2006
Location: France
Posts: 1,463
Quote:
Originally Posted by michaeldjcox View Post
09-06-2009 21:50:21,579 Cannot parse Channels File
The java XML parser seems to choke on the Lineup.xml file (in the "GuideData" subfolder in the Importer's Config & Log directory).

Try to open this file in Internet Explorer to see if anything wrong is in there. The .Net XML parser may very well accept something the Java XML parser can refuse (some special character). It is possible that you added a channel recently and this one contains something special in its name.

Regards,
Stéphane.
Reply With Quote
  #782  
Old 06-10-2009, 02:05 AM
michaeldjcox michaeldjcox is offline
Sage Fanatic
 
Join Date: Nov 2006
Location: Ipswich, Suffolk, United Kingdom
Posts: 829
Quote:
Originally Posted by StephaneM View Post
The java XML parser seems to choke on the Lineup.xml file (in the "GuideData" subfolder in the Importer's Config & Log directory).

Try to open this file in Internet Explorer to see if anything wrong is in there. The .Net XML parser may very well accept something the Java XML parser can refuse (some special character). It is possible that you added a channel recently and this one contains something special in its name.

Regards,
Stéphane.

Thanks I'll check that out.

In the meantime I have just uninstalled my importer version 2.0 and installed the latest version 4.0.

It doesn't seem to have remembered my lineups.

The xml files are still in the directory:

C:\Program Files\LM Gestion\SageTV XMLTV Importer

and the new installation is in:

C:\Program Files\LM Gestion\XMLTV Importer for SageTV

How can I restore my previous configuration please?

Regards,

Michael
__________________
Web Feed Encoder developer
SageTV Catchup developer

Last edited by michaeldjcox; 06-10-2009 at 02:28 AM. Reason: added version numbers
Reply With Quote
  #783  
Old 06-10-2009, 02:50 AM
michaeldjcox michaeldjcox is offline
Sage Fanatic
 
Join Date: Nov 2006
Location: Ipswich, Suffolk, United Kingdom
Posts: 829
Quote:
Originally Posted by michaeldjcox View Post
T
It doesn't seem to have remembered my lineups.

The xml files are still in the directory:

C:\Program Files\LM Gestion\SageTV XMLTV Importer

and the new installation is in:

C:\Program Files\LM Gestion\XMLTV Importer for SageTV
Fixed.

I uninstalled and reinstalled but quoting the old name for the installation directory.

The settings were then migrated.

Michael
__________________
Web Feed Encoder developer
SageTV Catchup developer
Reply With Quote
  #784  
Old 06-10-2009, 03:02 AM
michaeldjcox michaeldjcox is offline
Sage Fanatic
 
Join Date: Nov 2006
Location: Ipswich, Suffolk, United Kingdom
Posts: 829
Quote:
Originally Posted by StephaneM View Post
The java XML parser seems to choke on the Lineup.xml file (in the "GuideData" subfolder in the Importer's Config & Log directory).

Try to open this file in Internet Explorer to see if anything wrong is in there. The .Net XML parser may very well accept something the Java XML parser can refuse (some special character). It is possible that you added a channel recently and this one contains something special in its name.

Regards,
Stéphane.
The exception I get with the new version is

10-06-2009 10:00:08,218 Start EPG update for lineup n°1
10-06-2009 10:00:08,640 Reading Channels File
10-06-2009 10:00:09,078 Cannot parse Channels File
10-06-2009 10:00:09,078 Unexpected error for 'updateGuide'
java.lang.NullPointerException
at xmltv.XMLTVImportPlugin.updateGuideEx(XMLTVImportPlugin.java:198)
at xmltv.XMLTVImportPlugin.updateGuide(XMLTVImportPlugin.java:87)
at sage.ab.t(Unknown Source)
at sage.ay.d(Unknown Source)
at sage.a5.di(Unknown Source)
at sage.ab.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Is the exception with the new version of the importer.

The bit highlighted in red looks a bit suspect.

But I cannot see where it comes from.

I cannot find the GuideData file you mention with the new version.

Attached is all xml files in the config directory except "lookup.xml"

Another piece of information is that I recently had a meltdown and reinstalled sagetv as if first time. I then copied my SageTV properties, wiz.bin, the xmltv directory into the new installation before running it.

Michael
Attached Files
File Type: zip settings.zip (6.3 KB, 228 views)
__________________
Web Feed Encoder developer
SageTV Catchup developer

Last edited by michaeldjcox; 06-10-2009 at 03:17 AM.
Reply With Quote
  #785  
Old 06-10-2009, 03:25 AM
michaeldjcox michaeldjcox is offline
Sage Fanatic
 
Join Date: Nov 2006
Location: Ipswich, Suffolk, United Kingdom
Posts: 829
Quote:
Originally Posted by michaeldjcox View Post
The exception I get with the new version is

10-06-2009 10:00:08,218 Start EPG update for lineup n°1
10-06-2009 10:00:08,640 Reading Channels File
10-06-2009 10:00:09,078 Cannot parse Channels File
10-06-2009 10:00:09,078 Unexpected error for 'updateGuide'
java.lang.NullPointerException
at xmltv.XMLTVImportPlugin.updateGuideEx(XMLTVImportPlugin.java:198)
at xmltv.XMLTVImportPlugin.updateGuide(XMLTVImportPlugin.java:87)
at sage.ab.t(Unknown Source)
at sage.ay.d(Unknown Source)
at sage.a5.di(Unknown Source)
at sage.ab.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Is the exception with the new version of the importer.

The bit highlighted in red looks a bit suspect.

But I cannot see where it comes from.

I cannot find the GuideData file you mention with the new version.

Attached is all xml files in the config directory except "lookup.xml"

Another piece of information is that I recently had a meltdown and reinstalled sagetv as if first time. I then copied my SageTV properties, wiz.bin, the xmltv directory into the new installation before running it.

Michael
Ignore the above please.

Is now fixed.

I just ran an upgrade of EPG data and it all started working again.

The file you mention was regenerated in the GuideData directory.

Thanks,

Michael
__________________
Web Feed Encoder developer
SageTV Catchup developer
Reply With Quote
  #786  
Old 06-10-2009, 05:41 AM
StephaneM's Avatar
StephaneM StephaneM is offline
Sage Icon
 
Join Date: Mar 2006
Location: France
Posts: 1,463
Quote:
Originally Posted by michaeldjcox View Post
I uninstalled and reinstalled but quoting the old name for the installation directory. The settings were then migrated.
Indeed. Settings cannot be migrated from a version older than 2.3 to version 4.0 (due to the path change).
Reply With Quote
  #787  
Old 07-02-2009, 01:09 PM
bjkiller's Avatar
bjkiller bjkiller is offline
Sage Aficionado
 
Join Date: Mar 2007
Posts: 368
Question

Hi StephaneM,

this issue tested with donated version 4.0

i have few xmltv files that includes few different EPG (different providers).
few of xmltv files has same channels numbers, so there like 2 of channel of number 10 (in different xmltv files)
i want to create 2 separate lineup one with channels from one provider, and 2nd from channels from 2nd one.

when i go inside of created lineup and choice channels from specific XMLTV file, i do not see in "XMLTV data" listbox the corrent channel, i only see channels from 1st imported XMLTV file, but not from 2nd.

Please advice.
__________________
Dear Google, Please don't ruin SageTV for us!!

Sage Server: [s]8xDVB-S2 with DVBE4Sage on YES DBS Israel 4W (3 virtual tuners) ,[/s] 3 x HD300 Extenders; 3 x HD200 Extender; 3 x SageTV Client;
Reply With Quote
  #788  
Old 07-03-2009, 07:19 AM
StephaneM's Avatar
StephaneM StephaneM is offline
Sage Icon
 
Join Date: Mar 2006
Location: France
Posts: 1,463
Quote:
Originally Posted by bjkiller View Post
i have few xmltv files that includes few different EPG (different providers).
few of xmltv files has same channels numbers .../... when i go inside of created lineup and choice channels from specific XMLTV file, i do not see in "XMLTV data" listbox the corrent channel, i only see channels from 1st imported XMLTV file, but not from 2nd.
The Importer creates a global channel list, as if all your XMLTV files where merged. If channels in your different XMLTV files share the same XMLTV ID (that is <channel id="XMLTV ID">) they will be merged : channel ID must be unique as per XMLTV specifications :
Quote:
Each channel has one id attribute, which must be unique and should
preferably be in the form suggested by RFC2838 (the 'broadcast'
element of the grammar in that RFC, in other words, a DNS-like name
but without any URI scheme)
Regards,
Stéphane.
Reply With Quote
  #789  
Old 07-03-2009, 08:42 AM
bjkiller's Avatar
bjkiller bjkiller is offline
Sage Aficionado
 
Join Date: Mar 2007
Posts: 368
Question

Quote:
Originally Posted by StephaneM View Post
The Importer creates a global channel list, as if all your XMLTV files where merged. If channels in your different XMLTV files share the same XMLTV ID (that is <channel id="XMLTV ID">) they will be merged : channel ID must be unique as per XMLTV specifications :


Regards,
Stéphane.
from my expirience channel id is unique per provider.
like channel 1 in UK, it's different as channel 1 in France.

Мay be good idea to merge xmltv file name into channel?

like file yestv.xml = visible 10th channel will be yestv-10.
and in file platformahd.xml will be platformahd-10
__________________
Dear Google, Please don't ruin SageTV for us!!

Sage Server: [s]8xDVB-S2 with DVBE4Sage on YES DBS Israel 4W (3 virtual tuners) ,[/s] 3 x HD300 Extenders; 3 x HD200 Extender; 3 x SageTV Client;
Reply With Quote
  #790  
Old 07-03-2009, 08:55 AM
StephaneM's Avatar
StephaneM StephaneM is offline
Sage Icon
 
Join Date: Mar 2006
Location: France
Posts: 1,463
Quote:
Originally Posted by bjkiller View Post
from my expirience channel id is unique per provider.
like channel 1 in UK, it's different as channel 1 in France.
No it is a mistake to give channel number as channel ID. The channel ID identify the channel, whereas a channel number is the number for tuning this channel on a broadcast source.

For instance you have SciFi channel in France, this channel is broadcasted on Cable and Satellite. You also have SciFi channel in USA, it is broadcasted on Calbe and Satellite.

SciFi France and SciFi USA are two different channels, therefore, they must have a unique channel ID:

SciFi France = scifi.fr
SciFi USA = scifi.us

SciFi France can have two channel numbers : 101 on Cable, 17 on Satellite. It wouldn't be smart to use the channel number as an ID, because you would have two different channels 101 and 17, whereas it is really not needed (the programs are the same, airing time are the same). SciFi USA on cable would be channel 501, and 17 on satellite. Again if the number was used as an ID, it would imply that channel 17 is the same in France and USA (if you can of course receive both French and US stalletites) whereas it is not.

The XMLTV specification is very clear about this the RFC2838 should be followed.

You should contact the author grabber, so that it doesn't use channel numbers as channel ID (channel numbers can be given as display names instead)

Regards,
Stéphane.
Reply With Quote
  #791  
Old 07-03-2009, 04:56 PM
bjkiller's Avatar
bjkiller bjkiller is offline
Sage Aficionado
 
Join Date: Mar 2007
Posts: 368
Question

thank you for the explanation.
I getting my XMLTVs direct from the dish, the software that generate them, uses channel number that appears in even information on the DVB stream. the channel names comes in different languages, encodings(that is very importat) from different providers, so it's really not good to use as reference. i took original mporg epgdvbfrom and fixed a bit, and added option "channelbase" that allow me separate same number channels from different providers.

I also have strange issue with xmltv, i have 2 lineups, and 2nd lineup (that include channels from 3 different xml files) it's disappears time to time from the lineup dialog. i just today did it, it's already disappears 3 times

what the issue can be?
__________________
Dear Google, Please don't ruin SageTV for us!!

Sage Server: [s]8xDVB-S2 with DVBE4Sage on YES DBS Israel 4W (3 virtual tuners) ,[/s] 3 x HD300 Extenders; 3 x HD200 Extender; 3 x SageTV Client;

Last edited by bjkiller; 07-03-2009 at 05:07 PM.
Reply With Quote
  #792  
Old 07-03-2009, 06:41 PM
StephaneM's Avatar
StephaneM StephaneM is offline
Sage Icon
 
Join Date: Mar 2006
Location: France
Posts: 1,463
Quote:
Originally Posted by bjkiller View Post
I also have strange issue with xmltv, i have 2 lineups, and 2nd lineup (that include channels from 3 different xml files) it's disappears time to time from the lineup dialog.
Send me all the files in the Importer Config & Log folder, as well as your XMLTV files at lmgestion@hotmail.com and also try to describe what you are doing when the lineup disappears (for instance is it missing when you launch the Importer Gui, then go into lineups; or is it removed after you edit the lineups?)

Regards,
Stéphane.
Reply With Quote
  #793  
Old 07-04-2009, 12:41 PM
alfi33 alfi33 is offline
Sage Aficionado
 
Join Date: Jun 2008
Posts: 311
Can I use this tool to import custom data into the guide for a custom channel (which happens to be a baby monitor camera)?
__________________
Server: SageTV v9 on unRAID Docker; i5-2400; 16GB RAM; 9TB storage array; SiliconDust HDHR3
Client: Windows10; Intel Core2Duo; 4GB RAM; NVIDIA GeForce GT 1030
Client: NVIDIA ShieldTV
Client: Fire TV Stick 4K
Reply With Quote
  #794  
Old 07-04-2009, 04:54 PM
StephaneM's Avatar
StephaneM StephaneM is offline
Sage Icon
 
Join Date: Mar 2006
Location: France
Posts: 1,463
Quote:
Originally Posted by alfi33 View Post
Can I use this tool to import custom data into the guide for a custom channel (which happens to be a baby monitor camera)?
Maybe, but it will be like using a canon to kill a fly ;-).

The XMLTV Importer is intended to use XMLTV data as the EPG for all lineups in SageTV.

For the BNC channel (Baby News Channel), I don't think you have a XMLTV file describing the shows airing on the channel. You would have to create one. This XMLTV file then could be used by the Importer to inject it in SageTV.

SageTV does allow native EPG and XMLTV EPG with some tricks:

1) You must set up native EPG first
2) Install a XMLTV plugin
3) Edit the properties file to maintain native EPG on your existing lineup
4) Import the XMLTV EPG

Once you have set up the XMLTV Plugin you have to uninstall it to be able to regain access to native EPG configuration (for SageTV the XMLTV Plugin is to be used as a replacement of the native EPG, that's why you loose native EPG configuration)

Regards,
Stéphane.
Reply With Quote
  #795  
Old 07-04-2009, 08:25 PM
alfi33 alfi33 is offline
Sage Aficionado
 
Join Date: Jun 2008
Posts: 311
Ah, ok....that makes sense. Using the XMLTV import tool for this job doesn't sound like a very efficient way to do what I want. Thanks for the explanation.
__________________
Server: SageTV v9 on unRAID Docker; i5-2400; 16GB RAM; 9TB storage array; SiliconDust HDHR3
Client: Windows10; Intel Core2Duo; 4GB RAM; NVIDIA GeForce GT 1030
Client: NVIDIA ShieldTV
Client: Fire TV Stick 4K
Reply With Quote
  #796  
Old 08-15-2009, 08:18 AM
reeven reeven is offline
Sage Advanced User
 
Join Date: May 2009
Posts: 125
In Romania, Spain, Sueden, Hungary, Danemark we use for analog guide tv without set-top-box a guide that looks like this: http://www.lhsite.hu/tv/xmltvro.xml

When i import this xmltvro.xml in XMLTV FILE, it tells me that : XMLTV file parsing error(could not find file c:/xmltv/xmltv.dtd)

Could anyone help me?

Last edited by reeven; 08-15-2009 at 11:26 AM.
Reply With Quote
  #797  
Old 08-15-2009, 09:26 AM
StephaneM's Avatar
StephaneM StephaneM is offline
Sage Icon
 
Join Date: Mar 2006
Location: France
Posts: 1,463
Quote:
Originally Posted by reeven View Post
When i import this xmltvro.xml in XMLTV FILE, it tells me that : XMLTV file parsing error(could not find file c:/xmltv/xmltv.dtd)
You'll have to download the missing DTD.

Regards,
Stéphane.
Reply With Quote
  #798  
Old 08-15-2009, 11:26 AM
reeven reeven is offline
Sage Advanced User
 
Join Date: May 2009
Posts: 125
Yes, i found your faq on lm remote site.
After 3 hours my channels config are ok, i upload my config to you.
thank you.
Reply With Quote
  #799  
Old 08-20-2009, 03:11 PM
reeven reeven is offline
Sage Advanced User
 
Join Date: May 2009
Posts: 125
My cable analog has one problem:

Channel 19, let's say, from 8 AM till 20.00 PM is Cartoon Network
After 20.oo PM is TCM Channel

How do i set the guide in this situation?

If i set Cartoon Network Guide i have guide until 20.00, after that nothing.

If i set ch 19 on both Cartoon and TCM it make me 2 tv programs in live tv, one with Cartoon Guide, other with TCM guide.
Reply With Quote
  #800  
Old 08-20-2009, 05:30 PM
StephaneM's Avatar
StephaneM StephaneM is offline
Sage Icon
 
Join Date: Mar 2006
Location: France
Posts: 1,463
Quote:
Originally Posted by reeven View Post
Channel 19, let's say, from 8 AM till 20.00 PM is Cartoon Network After 20.oo PM is TCM Channel.
How do i set the guide in this situation?
Either you found a XMLTV file with the correct guide data, or you just go with one TCM channel and one Cartoon Network channel, both having 19 as their channel numbers.

You'll have two channels in the guide, but both will be functionnal.

Regards,
Stéphane.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 01:43 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.