Jump to content


Photo

Finding the right sourcecat(name)


  • Please log in to reply
4 replies to this topic

#1 ni_hao

  • Senior Member
  • 846 posts

+5
Neutral

Posted 17 September 2023 - 08:41

I have to extend my local sources xml file for getting EPG on a certain channel

 

How do I easily find the right sourcecat or sourcatname when I know the channel name?

 

The following is just an example to explain what I mean (is thus valid for more channels from other countries to find the right sourcecatname):

I want to have EPG on the channel: UK Sky Sports F1.

 
In the channels file you can find: <!-- 28.2E --><channel id="SkySpF1.uk">1:0:1:14BA:7DC:2:11A0000:0:0:0:</channel><!-- SkySp F1 HD -->
I thought it is a UK sports channel so I added in my local source file: 
 
	<sourcecat sourcecatname="Rytec UK Sat/Virgin XMLTV">
		<source type="gen_xmltv" channels="rytec.channels.xml.xz">
			<description>UK/Ireland - Sports/Movies (xz)</description>
			<url>http://www.xmltvepg.nl/rytecUK_SportMovies.xz</url>
			<url>http://epgspot.com/rytec_epg/rytecUK_SportMovies.xz</url>
			<url>http://rytecepg.wanwizard.eu/rytecUK_SportMovies.xz</url>
			<url>http://rytecepg.dyndns.tv/epg_data/rytecUK_SportMovies.xz</url>
			<url>http://epg.vuplus-community.net/rytecUK_SportMovies.xz</url>
		</source>
	</sourcecat>

But unfortunately no EPG with sref: 1:0:1:14BA:7DC:2:11A0000:0:0:0:

So maybe the sourcecat might be wrong

 



Re: Finding the right sourcecat(name) #2 doglover

  • Rytec EPG Team
  • 17,443 posts

+660
Excellent

Posted 17 September 2023 - 09:20

It is the correct sourcecat.

The schedule is in there.

 

But did you download also the rytec.channels.xml.xz

The location of this file is given by:

<mappings>
        <channel name="rytec.channels.xml.xz">
            <url>http://www.xmltvepg.nl/rytec.channels.xml.xz</url>
            <url>http://epgspot.com/rytec_epg/rytec.channels.xml.xz</url>
            <url>http://rytecepg.wanwizard.eu/rytec.channels.xml.xz</url>
            <url>http://rytecepg.dyndns.tv/epg_data/rytec.channels.xml.xz</url>
            <url>http://epg.vuplus-community.net/rytec.channels.xml.xz</url>
        </channel>
</mappings>

This should also be copied to your local source file.

 

But if you are only interested in this one channel, you may better add:

 

<!-- 28.2E --><channel id="SkySpF1.uk">1:0:1:14BA:7DC:2:11A0000:0:0:0:</channel><!-- SkySp F1 HD -->

 

to your custom.channels.xml file in /etc/epgimport/

 

PS:  the custom.channels.xml file looks like this:

<?xml version="1.0" encoding="utf-8"?>
<channels>
<channel id="LN24.be">5002:0:1:1:16:1:32:0:0:0:http%3a//live.cdn.ln24.be/out/v1/b191621c8b9a436cad37bb36a82d2e1c/index.m3u8</channel><!-- LN24 -->
<channel id="SBS6Classics.nl">4097:0:1:101:0:31:DDDD:0:0:0:http%3a//example.com</channel><!-- SBS6 Classics -->
</channels>

Edited by doglover, 17 September 2023 - 09:21.

~~Rytec Team~~
Maxytec Multibox SE OpenPli (used as mediaplayer)
Mutant HD2400 OpenPli
Vu+ Duo OpenPli (backup)

Synology NAS

Sat: 13E, 19.2E, 23.5E and 28.2E
*Pli/Rytec EPG POWERED*


Re: Finding the right sourcecat(name) #3 doglover

  • Rytec EPG Team
  • 17,443 posts

+660
Excellent

Posted 17 September 2023 - 09:45

As to find the location of the EPG:

 

1. If you want the schedule for lets say a swedish channel. You have to look into the Swedish sourcecat.

 

2. Each country (in general) has 3 files.

A basic file which contains the main channels for the country.  For Sweden this would be SVT, TV4 and some more typical Swedish channels.

 

A Misc file, with the EPG for that country, but for channels also occurring in other countries.  Think about animal planet, Nat geo etc...

 

A Movie and sports file.

 

3.Exceptions are Erotic, music and News channels which occur in many countries and have the same schedule.

These can be found in the Erotic, News and Miscellaneous files under Rytec General XMLTV

 

So download the Files (f.i. http://www.xmltvepg.nl/rytecERO.xz) and find the channel.

 

Attention:  The channel name can have many variations.

f.i. National Geographic is named many different ways:

National Geographic

National Geographic Channel

Nat Geo

NatGeo

NGC.

 

So the name given by the provider is not a good way to identify the channel.

More over, when the provider changes something, they can give the channel a different name.  Still something that resembles the original name.


Edited by doglover, 17 September 2023 - 09:47.

~~Rytec Team~~
Maxytec Multibox SE OpenPli (used as mediaplayer)
Mutant HD2400 OpenPli
Vu+ Duo OpenPli (backup)

Synology NAS

Sat: 13E, 19.2E, 23.5E and 28.2E
*Pli/Rytec EPG POWERED*


Re: Finding the right sourcecat(name) #4 ni_hao

  • Senior Member
  • 846 posts

+5
Neutral

Posted 17 September 2023 - 10:31

Thanks for the information. A lot is already known, but I also read some things I did not know before.

 

Yes of course I did download the channels.xml; otherwise there would not be any EPG for all the other channels...

 

BTW: in the mappings section I have alo this: <url>http://91.121.106.17...ls.xml.xz</url>

Is that obsolete, so I can delete it...

 

So my conclusion is that my 'config' was and is ok, but it's weird that I don't get/have EPG for ref 1:0:1:14BA:7DC:2:11A0000:0:0:0:



Re: Finding the right sourcecat(name) #5 doglover

  • Rytec EPG Team
  • 17,443 posts

+660
Excellent

Posted 17 September 2023 - 12:32


BTW: in the mappings section I have alo this: <url>http://91.121.106.17...ls.xml.xz</url>

Is that obsolete, so I can delete it...

 

 

 

Yes, you can delete it.

That was an old address for one of the sources. 

Not used anymore.
 


~~Rytec Team~~
Maxytec Multibox SE OpenPli (used as mediaplayer)
Mutant HD2400 OpenPli
Vu+ Duo OpenPli (backup)

Synology NAS

Sat: 13E, 19.2E, 23.5E and 28.2E
*Pli/Rytec EPG POWERED*



2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users