Jump to content


Photo

Tool to assign simple EPG data to channels without EPG sources?


  • Please log in to reply
12 replies to this topic

#1 duunsupen

  • Senior Member
  • 72 posts

0
Neutral

Posted 3 March 2021 - 09:38

Hi, Willy

In addition to your database I also use some others and in a Russian one I discovered something really interesting and I was wondering if you could establish something similar.
This particular EPG source can be found here http://iptvx.one/epg/epg.xml.gz and when opening it, it offers (among many other specific channels) right on top the following options:

<channel id="no_epg"><display-name>NO EPG</display-name></channel>
<channel id="no_epg_cinema"><display-name>NO EPG Cinema</display-name></channel>
<channel id="no_epg_mult"><display-name>NO EPG Mult</display-name></channel>
<channel id="no_epg_music"><display-name>NO EPG Music</display-name></channel>
<channel id="no_epg_news"><display-name>NO EPG News</display-name></channel>
<channel id="no_epg_sport"><display-name>NO EPG Sport</display-name></channel>
<channel id="no_epg_xxx"><display-name>NO EPG XXX</display-name></channel>

That means, one can assign very simple EPG data to channels (sat, cable or IPTV) that have otherwise no EPG source at all available (e.g. KCTV North Korea).
For example, if you assign "no_epg_cinema" to a channel, then in the bouquet list "Кино нонстоп" will be displayed, which means "Cinema nonstop", and this in 2 hours long segments:

<programme start="20210226100000 +0300" stop="20210226120000 +0300" channel="no_epg_cinema"><title lang="ru">Кино нонстоп</title></programme>
<programme start="20210226120000 +0300" stop="20210226140000 +0300" channel="no_epg_cinema"><title lang="ru">Кино нонстоп</title></programme>
<programme start="20210226140000 +0300" stop="20210226160000 +0300" channel="no_epg_cinema"><title lang="ru">Кино нонстоп</title></programme>

I do use that option for a few IPTV channels just to avoid blank channels in the bouquet list, but it would be more useful, if it was not in Cyrillic letters, but in Latin ones. And therefore my questions is, whether you could include something similar in your database, for example:

<channel id="no_epg">  => and showing just "Current programme"
<channel id="no_epg_cinema">  => and showing just "Movie"
<channel id="no_epg_mult">  => and showing just "Current programme"
<channel id="no_epg_music">  => and showing just "Music"
<channel id="no_epg_news">  => and showing just "News"
<channel id="no_epg_sport">  => and showing just "Sports programme"
<channel id="no_epg_xxx">  => and showing just "Current programme"     (or "Do they get married later on?" ;) )

Would something like this possible? Or do you know other ways for me to achieve a similar result and fill EPG gaps?

Best regards



Re: Tool to assign simple EPG data to channels without EPG sources? #2 doglover

  • Rytec EPG Team
  • 17,003 posts

+637
Excellent

Posted 3 March 2021 - 13:45

I already doing this with some channels:

 

f.i.

<channel update="i" site="dummy" site_id="00:00-23:59##MTV TRAX - 24HR MTV MUSIC TRAX" xmltv_id="MTVtrax.uk">MTV Trax</channel>

 

 

and the Siteini - dummy.ini:

**------------------------------------------------------------------------------------------------
* @header_start
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
* @Site: your_site_name
* @MinSWversion: V0
*   none
* @Revision 0 - [22/04/2013] Jan van Straaten
*   none
* @Remarks:
*   A SiteIni that creates a dummy xmltv guide with one or more show every day
* @header_end
**------------------------------------------------------------------------------------------------
site {cultureinfo=en-GB|timezone=Europe/London|maxdays=10.1|charset=utf-8|skip=<skip>noskip</skip>|keepindexpage}
url_index {url|http://this-page-intentionally-left-blank.org/} * just an empty page
index_showsplit.scrub {single||||} * copies the html page
index_showsplit.modify {clear}
scope.range {(splitindex)|end}
*
* the shows for one day:
index_variable_element.modify {addstart ()|'config_site_id'} * one show per day example
*
index_showsplit.modify {addstart()|'index_variable_element'####'index_variable_element'####'index_variable_element'####'index_variable_element'####'index_variable_element'####'index_variable_element'####'index_variable_element'####'index_variable_element'####'index_variable_element'####'index_variable_element'}
index_showsplit.modify {replace()|####|\|} * convert to multi
end_scope
index_start.scrub {single()|||-|-}
index_stop.scrub {single()|-||#|#}
index_title.scrub {single(includeblock=1)|##|||}
index_description.scrub {single (includeblock=2)|##||}}

I have a couple variations on this, with more possiblities
 


~~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: Tool to assign simple EPG data to channels without EPG sources? #3 doglover

  • Rytec EPG Team
  • 17,003 posts

+637
Excellent

Posted 3 March 2021 - 15:42

And this shows 2 programma's

<channel update="i" site="dummy" site_id="00:00-11:59##MTV TRAX - 24HR MTV MUSIC TRAX####12:00-23:59##MTV TRAX - 24HR MTV MUSIC TRAX" xmltv_id="MTVtrax.uk">MTV Trax</channel>

As an example I have added to the Misc file:

<channel update="i" site="dummy" site_id="00:00-11:59##No EPG available####12:00-23:59##No EPG available" xmltv_id="no_epg">No EPG</channel>
<channel update="i" site="dummy" site_id="00:00-11:59##Movie####12:00-23:59##Movie" xmltv_id="no_epg_cinema">No EPG Cinema</channel>

So you can check this out tomorrow.

 

However this dummy EPG has still to be linked to the channels reference.


~~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: Tool to assign simple EPG data to channels without EPG sources? #4 duunsupen

  • Senior Member
  • 72 posts

0
Neutral

Posted 3 March 2021 - 16:23

Linking it to a channel reference is no problem. Where can I find this dummy channels? In the Miscellaneous-section?



Re: Tool to assign simple EPG data to channels without EPG sources? #5 doglover

  • Rytec EPG Team
  • 17,003 posts

+637
Excellent

Posted 4 March 2021 - 08:07

Yes in the Misc file under General.

 

At the moment I only have the above 2 added.  But more is no problem.


~~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: Tool to assign simple EPG data to channels without EPG sources? #6 duunsupen

  • Senior Member
  • 72 posts

0
Neutral

Posted 4 March 2021 - 18:18

That is really great and works like a treat. Thank you very much!

This is what I have been looking for so long.



Re: Tool to assign simple EPG data to channels without EPG sources? #7 doglover

  • Rytec EPG Team
  • 17,003 posts

+637
Excellent

Posted 5 March 2021 - 07:46

Added:

 

<channel update="i" site="dummy" site_id="00:00-11:59##Music####12:00-23:59##Music" xmltv_id="no_epg_music">No EPG Music</channel>
<channel update="i" site="dummy" site_id="00:00-11:59##News####12:00-23:59##News" xmltv_id="no_epg_news">No EPG News</channel>
<channel update="i" site="dummy" site_id="00:00-11:59##Sport####12:00-23:59##Sport" xmltv_id="no_epg_sport">No EPG Sport</channel>
<channel update="i" site="dummy" site_id="00:00-11:59##Do they get married later on?####12:00-23:59##Do they get married later on?" xmltv_id="no_epg_xxx">No EPG XXX</channel>


~~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: Tool to assign simple EPG data to channels without EPG sources? #8 duunsupen

  • Senior Member
  • 72 posts

0
Neutral

Posted 5 March 2021 - 13:58

Top notch!

 

(But "Do they get married later on?" was really meant as a joke!)



Re: Tool to assign simple EPG data to channels without EPG sources? #9 doglover

  • Rytec EPG Team
  • 17,003 posts

+637
Excellent

Posted 5 March 2021 - 14:43

(But "Do they get married later on?" was really meant as a joke!)

Yes, I got that.  It got a laugh here.  And I considered that a laugh once in a while is OK.


~~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: Tool to assign simple EPG data to channels without EPG sources? #10 duunsupen

  • Senior Member
  • 72 posts

0
Neutral

Posted 5 March 2021 - 16:35

Alright, so I will ask wifey tonight whether she likes to watch "Do the get married later on?". Might be worth a try!



Re: Tool to assign simple EPG data to channels without EPG sources? #11 jeepcook

  • Senior Member
  • 269 posts

+1
Neutral

Posted 5 March 2021 - 19:21

Hello,

 

Great, could you please add a no_epg_fashion with epg "Fashion". There is a lot of fashion tv channels, a lot are just IPTV.

 

Thanks!



Re: Tool to assign simple EPG data to channels without EPG sources? #12 doglover

  • Rytec EPG Team
  • 17,003 posts

+637
Excellent

Posted 6 March 2021 - 08:00

Done.


~~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: Tool to assign simple EPG data to channels without EPG sources? #13 jeepcook

  • Senior Member
  • 269 posts

+1
Neutral

Posted 6 March 2021 - 09:08

Done.

Thanks !!




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users