Jump to content

Recommended Posts

allanlee
1 minute ago, Delphi said:

Do you sit behind a proxy server?

 

No... there's nothing in IE proxy settings. I'm not running anything relevant to proxies in backgroud as well.

 

Just curious... which URL is XgrabDMS requesting

I still saw "TBaseProcess         HandleAPI Error  3" in DMS debug log.

Share this post


Link to post
Delphi
18 hours ago, allanlee said:

Just curious... which URL is XgrabDMS requesting

 

http://localhost:8089/api/getchannelsxml.html?tuner=1

 

My code is:

 

Spoiler

procedure GetStream(const UserName, Password, IP, Port, Command: string; aStream: TStream);
var
  IdHTTP: TIdHTTP;
begin
  IdHTTP := TIdHTTP.Create(nil);
  try
    if UserName <> '' then
    begin
      IdHTTP.Request.BasicAuthentication := True;
      IdHTTP.Request.Username := UserName;
      IdHTTP.Request.Password := Password;
    end;
    IdHTTP.Get('http://' + IP + ':'  + Port + '/api/'  + Command, aStream);
  finally
    IdHTTP.Free;
  end;
end;

 

 

 

Quote

"TBaseProcess         HandleAPI Error  3"

 

Try to ask the devs what that means, maybe here:

 

https://www.DVBViewer.tv/forum/forum/66-DVBViewer-media-server/

Edited by Delphi

Share this post


Link to post
allanlee
1 hour ago, Delphi said:

 

 

tried in firefox, no problem:

 

<channels>
<root name="DVB-T2">
<group name="mediacorp">
<channel nr="0" name="Channel 5" EPGID="882624369328130" flags="24" ID="3713217898687627266">
<tuner tnrtype="2" group="0" flags="24" freq="538000" symb="0" LOF="0" PMT="200" satmod="132" AVformat="18" FEC="0" pol="2" OrbPos="5000" Tone="0" EPGFlag="0" DiSEqCVal="0" DiSEqC="0" alang="eng" APID="230" VPID="220" TSID="1" TelePID="0" NID="8894" SID="2" PCRPID="220"/>
</channel>
<channel nr="1" name="Suria" EPGID="882624369328132" flags="24" ID="3713217898700734468">
<tuner tnrtype="2" group="0" flags="24" freq="538000" symb="0" LOF="0" PMT="400" satmod="132" AVformat="18" FEC="0" pol="2" OrbPos="5000" Tone="0" EPGFlag="0" DiSEqCVal="0" DiSEqC="0" alang="may" APID="430" VPID="420" TSID="1" TelePID="0" NID="8894" SID="4" PCRPID="420"/>
</channel>
<channel nr="2" name="Channel 8" EPGID="882624369393667" flags="24" ID="3713217902989148163">
<tuner tnrtype="2" group="0" flags="24" freq="554000" symb="0" LOF="0" PMT="300" satmod="132" AVformat="18" FEC="0" pol="2" OrbPos="5000" Tone="0" EPGFlag="0" DiSEqCVal="0" DiSEqC="0" alang="ZHO" APID="330" VPID="320" TSID="2" TelePID="0" NID="8894" SID="3" PCRPID="320"/>
</channel>
<channel nr="3" name="Vasantham" EPGID="882624369393669" flags="24" ID="3713217903002255365">
<tuner tnrtype="2" group="0" flags="24" freq="554000" symb="0" LOF="0" PMT="500" satmod="132" AVformat="18" FEC="0" pol="2" OrbPos="5000" Tone="0" EPGFlag="0" DiSEqCVal="0" DiSEqC="0" alang="TAM" APID="530" VPID="520" TSID="2" TelePID="0" NID="8894" SID="5" PCRPID="520"/>
</channel>
<channel nr="4" name="CNA" EPGID="882624369524752" flags="24" ID="3713217911598809104">
<tuner tnrtype="2" group="0" flags="24" freq="570000" symb="0" LOF="0" PMT="600" satmod="132" AVformat="18" FEC="0" pol="2" OrbPos="5000" Tone="0" EPGFlag="0" DiSEqCVal="0" DiSEqC="0" alang="eng" APID="631" VPID="620" TSID="4" TelePID="0" NID="8894" SID="16" PCRPID="620"/>
</channel>
<channel nr="5" name="Channel U" EPGID="882624369524753" flags="24" ID="3713217911605297169">
<tuner tnrtype="2" group="0" flags="24" freq="570000" symb="0" LOF="0" PMT="700" satmod="132" AVformat="18" FEC="0" pol="2" OrbPos="5000" Tone="0" EPGFlag="0" DiSEqCVal="0" DiSEqC="0" alang="zho" APID="730" VPID="720" TSID="4" TelePID="0" NID="8894" SID="17" PCRPID="720"/>
</channel>
<channel nr="6" name="okto (HD)" EPGID="882624369524754" flags="24" ID="3713217911611850770">
<tuner tnrtype="2" group="0" flags="24" freq="570000" symb="0" LOF="0" PMT="800" satmod="132" AVformat="18" FEC="0" pol="2" OrbPos="5000" Tone="0" EPGFlag="0" DiSEqCVal="0" DiSEqC="0" alang="eng" APID="830" VPID="820" TSID="4" TelePID="0" NID="8894" SID="18" PCRPID="820"/>
</channel>
</group>
</root>
</channels>

 

Share this post


Link to post
Delphi
Quote

XgrabDMS version 0.2.0.1 is available

 

Fixed the 404 not found error reported by @allanlee

 

Edited by Delphi

Share this post


Link to post
Delphi
Quote

Xepg version 0.7.4.2 is available

 

Added support for https downloads of xmltv files.

Share this post


Link to post
bounguine

Hi/

I added more sources to the XMLTV app (https://pctuner.club/forum/q/9228), which combines them into 1 file and XEPG stopped working.

 

Processing: C:\Program Files (x86)\DVBViewer\xmltv.xml
XMLTV reader Engine: EasyXML SAX
xml version="1.0" encoding="utf-8"

-- Fatal Error on line: 1488480, col: 21
Unexpected EOF


ERROR TYPE: File is not a legal XML file
Contact your XMLTV provider to correct the error

EXCEPTION MESSAGE---XepgException:Process Aborted
Error on Analyzing files
ERROR: File is not a legal XML file
Contact your XMLTV provider to correct the error

 

Maybe it is, because the file is 984 Mb now

Share this post


Link to post
bounguine

I checked the xml-file in JEdit (Ubuntu).

Opened in 3 seconds. no errors on line: 1488480, the whole file is correct.

Seems to be a problem of Windows.

Too bad that good apps are written for OSes for housewives.

Why not do it on server OSes like Linux?...

Share this post


Link to post
Delphi
4 hours ago, bounguine said:

I added more sources to the XMLTV app (https://pctuner.club/forum/q/9228), which combines them into 1 file

 Why?

Xepg can process multiple files. Try to to add the files separately to Xepg.

Share this post


Link to post
bounguine
19 hours ago, Delphi said:

 Why?

Xepg can process multiple files. Try to to add the files separately to Xepg.

 

The xmltv Russian app above lets me see program of each channel before loading to DVBViewer.

image.thumb.png.e3d6736974d1e07a6ae7ef436713bcc5.png

Very often a channel is in the list, but it has no program.

In your case I add it without knowing about the program for it.

If the channel is "blank", I have to search for another with the same or seems-to-be-like-this name again without information about the program/

With my 8K channels and 2-5 variants for each it is a pain in the ass.

 

NB

I splitted 1 file to 2.

Now I have strange numeric names with mappings.

image.thumb.png.71a1b4dc005df78a14e3323a303439db.png

Why don't aotomatically delete mappings for not existing channels in xmltv sources?

Edited by bounguine

Share this post


Link to post
Delphi
On 12/28/2019 at 6:52 PM, bounguine said:

I splitted 1 file to 2

 

How? xml files are not just text files should be treated with care.

 

On 12/28/2019 at 6:52 PM, bounguine said:

Now I have strange numeric names with mappings

 

Probably some <channel> nodes are missing in the file.

 

A channel pairing in Xepg consists of a pair (xmltvid, epgid). The xmltvid is defined in the xmltv file in a <channel> node. the epgid is defined in the DVBViewer channel list for each channel.

Channel pairings, stored in Pairings.xml are assumed static and should only be changed if the are new xmltv channels (e.g. you get a new xmltv provider) or your DVBViewer channel list has changed. If you automate the process (Xepg > Automate > Help) you will get the epg automatically every day without doing anything.

 

On 12/28/2019 at 6:52 PM, bounguine said:

Why don't aotomatically delete mappings for not existing channels in xmltv sources?

 

Would be a very bad idea: Even for stable xmltv providers it can happen that the epg for a channel is temporarily empty. You probably will want the epg when it gets back.

 

On 12/28/2019 at 6:52 PM, bounguine said:

If the channel is "blank", I have to search for another with the same or seems-to-be-like-this name again without information about the program/

With my 8K channels and 2-5 variants for each it is a pain in the ass.

 

Not the fault of Xepg, blaim your xmltv provider.

 

On 12/27/2019 at 7:18 PM, bounguine said:

Maybe it is, because the file is 984 Mb now

 

It is not windows that processes the file, it is either EasyXml or OXml. Links to those tools in the Xepg About Box.

The correct term to for a valid xml file is: well-formed (Google).

 

Since one of the parsers (EasyXml/OXml) produces an error message, I suspect the the file is not well-formed.

 

Please try to process the file using both  parsers and post the result here. Select in the XMLTV Job Editor and chose Test Import in Xepg main window.

 

P.S. The biggest xmltv file I have seen so far is 250 Mb. At least in theory, a 984 Mb file should not be a problem

 

Edited by Delphi

Share this post


Link to post
bounguine
20 hours ago, Delphi said:
Quote

How? xml files are not just text files should be treated with care...  Probably some <channel> nodes are missing in the file.

 

 

I will explain.

In the Russian app I have about 10 inbuilt sources and 5 extra sources I download by script as xmltv-files.

The app joins the 15 sources into 1 file and exports it for your app.

The resulting file is too (???) big

So I exluded 1 of 5 extra sources and now your app has 1 joined file generated by the Russian app and 1 extra file to work with.

After this the mappings made for channels from 1 excluded extra file when it was worked by the Russian app were corrupted.

 

Quote

Since one of the parsers (EasyXml/OXml) produces an error message, I suspect the the file is not well-formed.

The files is correct I suspect.

I checked the line marked by your app as corrupted and more lines before and after it, but they are valid

Share this post


Link to post
Delphi
On 12/30/2019 at 11:10 PM, Delphi said:

 

Please try to process the file using both  parsers and post the result here. Select in the XMLTV Job Editor and chose Test Import in Xepg main window

 

I can't help you if you don't follow my instructions.

Additionally also test the OXml parser with "Strict Xml" unchecked. Post the error message  in each case, if any.

Share this post


Link to post
Delphi
Posted (edited)

I have added a link to my site:

Validating xmltv files

 

Edited by Delphi

Share this post


Link to post
bounguine
On 1/1/2020 at 10:08 PM, Delphi said:

 

Additionally also test the OXml parser with "Strict Xml" unchecked.

 

This did the trick

Share this post


Link to post
hse

Hello, I just did a frexh install of Windows along with the latest version of Xepg (0.7.4.2) and the latest DVBViewer (6.1.5.2).

When I try to setup Xepg and point it to my DVBViewer install it gives me the error

"The DVBViewer version is too old"

It was working fine on my old install. Do you have any ideas what I can do to fix this?

 

xepg.jpg

Share this post


Link to post
Delphi

One thing is wondering me:

 

C:\Program Files(x86)\DVBViewerC\DVBViewer.exe

 

Is this an older version of DVBViewer?

 

 

Share this post


Link to post
Delphi

The code where the error happens is:

 

  if not (GetActiveObject(CLASS_DVBViewer, nil, Unknown) = MK_E_UNAVAILABLE) then
    Unknown.QueryInterface(IID_IDVBViewer2, DVBViewer); // get IDVBViewer2 Interface
  if Not Assigned(DVBViewer) then
  begin
    MessageDlg('The DVBViewer version is too old', mtError, [mbOK], 0);
    DVBViewerFileName := OldFileName;
    Exit;
  end;

 

Xepg fails to get the IDVBViewer2 COM interface which doesn't exist in older versions of DVBViewer. DVBViewer registers its COM interface with windows on install, so you could try to reinstall DVBViewer.

Share this post


Link to post
hse
On 1/19/2020 at 10:40 AM, Delphi said:

The code where the error happens is:

 


  if not (GetActiveObject(CLASS_DVBViewer, nil, Unknown) = MK_E_UNAVAILABLE) then
    Unknown.QueryInterface(IID_IDVBViewer2, DVBViewer); // get IDVBViewer2 Interface
  if Not Assigned(DVBViewer) then
  begin
    MessageDlg('The DVBViewer version is too old', mtError, [mbOK], 0);
    DVBViewerFileName := OldFileName;
    Exit;
  end;

 

Xepg fails to get the IDVBViewer2 COM interface which doesn't exist in older versions of DVBViewer. DVBViewer registers its COM interface with windows on install, so you could try to reinstall DVBViewer.

 

Sorry for the late reply I got it working by running it elevated as admin.

Thanks again for your excellent tool.

Share this post


Link to post
Delphi
12 hours ago, hse said:

I got it working by running it elevated as admin

 

Xepg normally does not need elevation to run properly, neither does DVBViewer. I think there is something wrong with your installation(s). The error you reported has never been reported before.

 

P.S. Please don't quote whole posts.

Edited by Delphi

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Similar Content

    • j.beck
      By j.beck
      Hallo,
      Ich habe eine Konfiguration im Media Server mit 4 DVBC Kabeltunern (Uinitymedia) und 2 IPTV Tunern (Entertain).
      Da die Entertain Kanäle kein EPG haben, benutze ich Xepg zusammen mit XGrepDMS um die EPG Infos von DVBC abzugreifen und in Xepg mit den Entertain Kanälen zu mappen.
      Das klappt auch, bis auf eine Sache, die ich nicht verstehe. Wenn ich die Pairing Funktion in Xepg aufrufe, werden nicht alle Entertain Kanäle aus DVBViewer übernommen. Bild1 in der Anlage zeigt die Kanäle in DVBViewer, Bild 2 die Kanäle in Xepg. Man sieht, dass einige Kanäle fehlen (z. B. MDR...). Folgerichig haben diese in DVBViewer dann auch kein EPG.
      Die Logging Meldung beim Importieren der Kanäle habe ich in Xepg.txt angefügt.
      Es fällt dort auf, dass in der Zusammenfassung folgendes angezeigt wird:
       
      Reading 69 DVBViewer Channels
      Different DVBViewer Channels found :61
       
      Das passt irgendwie, es fehlen mir genau 8 Kanäle in Entertain. Allerdings verstehe ich nicht, warum das so ist.
       
      Vielen Dank für Eure Unterstützung.
       
      Joachim 


      Xpeg.txt
    • D3ltorohd
      By D3ltorohd
      Hallo Com,
      ich hoffe doch das hier viele XEPG und XTranslate nutzen um den DVBViewer mit EPG Daten zu füttern. 
      Zumindest XEPG habe ich schon am laufen soweit so gut. Nun geht es an die Feineinstellungen.
       
      Ich nutze Kisscon oder EPG Buddy für die Erstellung der EPG XML Datei, das wäre die Quelle, funktioniert soweit. XEPG habe ich auch soweit eingerichtet, von 1-5. Epg wird aus der xml geladen und auf die gemappten Sender vom DVBV eingepflegt, die Automation läuft auch. So nun geht es ans Feintuning.
       
      XEPG :: Das ganze sieht im RS so aus wie auf dem Screen, leider in falscher Reihenfolge. Gibt es hier eine Möglichkeit, das ganze mit XEPG zu formatieren, damit ich bestimmen kann was wo steht, z.B. Erste Genre, dann die Beschreibung zum Schluss, Besetzung usw. Wenn das geht weiß ich nicht wie.
       

       
      Ich nutze den RS als Backend der auf meinem Server läuft, dort greift der Client (Kodi) drauf zu, nun gibt es in Kodi ja Genre Farben in der EPG Ansicht, diese würde ich nun gerne Einstellen, das heißt ich muss erst mal mit XTranslate die passenden Genre zu einander mappen, damit die Farben ansprechen, soweit bin ich schon, aber hier hört es auch schon auf. Ich weiß nicht wie XTranslate funktioniert und was ich genau machen muss, damit ich die Genre aus der xml Datei passend mappe, damit es in Kodi mit den Farben passt.
       
      Grüße
    • GBWebmaster
      By GBWebmaster
      Hallo Community,
       
      die Internet-TV-Fähigkeiten des DVBViewer Pro 6.0 ist super - und weckt so manche Begehrlichkeit. Für mich das EPG, welches Grundlage für Seh-Entscheidungen und Aufnahmen ist.
      Nun hab ich auch schon im Forum über Webgrab +, XEPG und EPG-Buddy gelesen und auch gesucht, finde aber leider nur englische Hinweise, was das Ganze nicht ganz so einfach macht.
       
      Deshalb wollte ich anfragen, ob mir jemand (auf Deutsch) die Arbeitsschritte erläutern kann, damit ich auch bei den Stream-Sendern mein geliebtes EPG genießen kann.
      Wäre eine große Hilfe für mich.
       
      Danke schon einmal vorab.
       
       
      Gruß GBWebmaster
    • Perlbo
      By Perlbo
      Hi,
       
      bin etwas ratlos ... ich möchte gerne, mein. EPG erweitern, da gerade bei Serien Staffel + Folge für mich sehr entscheidend ist. Ideal wäre langfristig ein mischen von DVB Stream und extern, aber momentan würde mir Extern als erste Schritt schonmal reichen.
       
      Ich bin soweit, dass ich per Webgrabplus mir eine XML erstellen lasse und diese dann per xepg in DVBViewer/DMS übertrage. Das klappt. Aber leider alles nur Manuell. Also graben manuell und einfügen auch. Das hätte ich gerne automatisiert ? 
       
      Wie ich EPGDATA.COM reinbekomme, habe ich noch gar nicht hinbekommen. zwar liefert epgdata.com eine xml, darin scheint xepg aber keine channels zu finden zum pairen.
       
      vielleicht kann mich ja jemand an die Hand nehmen ...
       
      Danke ... 
    • hse
      By hse
      Hello, I was using xepg with xmltv.co.uk but there xml files are all dead now.
      So im trying to get DVBViewer to go out and get epg data itself again but it's not
      doing anything. I deleted epg.dat in C:\ProgramData\CMUV\DVBViewer and
      restarted the program as administrator, my epg settings look like this
       
      http://i.imgur.com/VioCQUz.png
       
      At the moment it doesn't grab any epg data for any channel, if i sit on the
      epg radio channel called "EPG Background Audio" on 28.2e it also does nothing
       
      How can I get DVBViewer to grab EPG data on it's own again??
×
×
  • Create New...