Анкета: Кое разписание искате да използвате ?
3-дневното
37.50%
6 37.50%
7-дневното
62.50%
10 62.50%
Общо 16 гласа 100%
* Гласували сте за този елемент. [Резултатите]

Оценете темата:
  • 7 гласа - средно 4.43
  • 1
  • 2
  • 3
  • 4
  • 5
Електронен програмен справочник (EPG) за български и чуждестранни ТВ и радиа
Ето два варианта:
1. Инсталирай си (на компютъра, където мъчиш WebGrab-a) xmltv проекта. Както можеш да видиш, функционира не върху .NET/Mono, а на Perl.  Ще ти трябват също xmltv_utils, по-конкретно tv_merge. С него, можеш да стиковаш/слепваш два XMLTV файла в един общ.
2. По принцип може и с WebGrab++ да се направи, като отделен siteini за въпросният източник:
Код:
**------------------------------------------------------------------------------------------------
* @header_start
* WebGrab+Plus ini for grabbing EPG data from TvGuide websites
* @Site: your_site_name
* @MinSWversion: 1.1.1/56.02
* @Revision 3 - [21/01/2016] Francis De Paemeleere
*   - add show icon
* @Revision 2 - [21/10/2015] Francis De Paemeleere
*   - speedup for large files
* @Revision 1 - [17/10/2015] Jan van Straaten
*   -  allows multiple xmltv input file to merge
* @Revision 0 - [09/05/2014] Jan van Straaten
*   - creation
* @Remarks:
* @header_end
**------------------------------------------------------------------------------------------------
*** edit - timezone=UTC+00:00 - to the timezone for which the xmltv data is created
*** edit (optional) - cultureinfo=en-GB - to the cultureinfo of the country for which the xmltv data is created
site {timezone=Europe/Sofia|maxdays=6.1|cultureinfo=bg-BG|charset=UTF-8|titlematchfactor=90|keepindexpage}
*
*** eventually enable and adapt ratingsystem and episodesystem to your requiements
site {ratingsystem=GB|episodesystem=xmltv_ns}
*
*** edit - path_of_the_xmltv_file2merge.xml - to your requirements
*** more than one file2merge or just one:
*subpage.format {list|path_of_the_1st_xmltv_file2merge.xml|path_of_the_2nd_xmltv_file2merge.xml|etc}
*** example
*subpage.format {list|D:\guide-1.xml|D:\guide-2.xml}
*url_index{url|file://|subpage|}
site {compression=gzip|firstshow=1|keepindexpage}
url_index{url|http://epg.kodibg.org/epg.xml.gz}
url_index.headers {method=GET|contenttype=application/zip}

scope.range {(datelogo)|end}
index_variable_element.modify {addstart|'config_site_id'}
index_urlchannellogo.modify {addstart|http://logos.kodibg.org/'config_site_id'.png}
index_urlchannellogo.modify { cleanup (style=lower)}
end_scope
index_showsplit.scrub {regex||<programme [^>]*channel=\"'index_variable_element'\"[^>]*>.*?</programme>||}

index_start.scrub {single|start="||"|>}
index_stop.scrub {single|stop="||"|>}
index_title.scrub {single|<title|>|</title>|</title>}
index_subtitle.scrub {single|<sub-title|>|</sub-title>|</sub-title>}
index_description.scrub {single|<desc|>|</desc>|</desc>}
index_actor.scrub {multi|<actor>||</actor>|</actor>}
index_director.scrub {multi|<director>||</director>|</director>}
index_writer.scrub {multi|<writer>||</writer>|</writer>}
index_producer.scrub {multi|<producer>||</producer>|</producer>}
index_presenter.scrub {multi|<presenter>||</presenter>|</presenter>}
index_productiondate.scrub {single|<year>||</year>|</year>}
index_category.scrub {multi|<category|>|</category>|</category>}
index_starrating.scrub {single|<star-rating>|<value>|</value></star-rating>}
index_rating.scrub {single|<rating>|<value>|</value>}
index_ratingicon.scrub {single|<rating>|<icon src="|"|}
*index_episode.scrub {single|<episode-num>||</episode-num>|</episode-num>}
index_episode.scrub {single(pattern="Епизод 'E0' - Сезон 'S0'")||'index_subtitle'}
*index_showicon.scrub {regex||<icon src=\"([^\"]*)||}
index_showicon.scrub {single|<icon src="||" />}

scope.range {(indexshowdetails)|end}
* extraxt times
*start="20120922004200" stop="20120922021200"
index_start.modify {substring(type=char)|8 4}
index_temp_1.modify {substring(type=char)|'index_start' 0 2} * the hours
index_start.modify {substring(type=char)|2 2} * the minutes
index_start.modify {addstart|'index_temp_1':}
index_stop.modify {substring(type=char)|8 4}
index_temp_1.modify {substring(type=char)|'index_stop' 0 2} * the hours
index_stop.modify {substring(type=char)|2 2} * the minutes
index_stop.modify {addstart|'index_temp_1':}

index_description.modify {cleanup}
end_scope
[Изображение: notrobosmall.jpg]
Отговори


Съобщения в темата
RE: Електронен програмен справочник (EPG) за български и чуждестранни ТВ - от Majide - 01-11-2018, 20:51
Нямам EPG - от cosera - 19-11-2015, 12:37
RE: Нямам EPG - от Alkatrazbg - 19-11-2015, 13:05
RE: Нямам EPG - от Matrata - 19-11-2015, 14:18
RE: Нямам EPG - от cosera - 19-11-2015, 15:39
RE: Нямам EPG - от iase - 19-11-2015, 18:36
RE: Нямам EPG - от zdravkos - 19-11-2015, 18:50
RE: Нямам EPG - от iase - 19-11-2015, 20:47
RE: Нямам EPG - от cosera - 20-11-2015, 10:24
RE: Нямам EPG - от iase - 20-11-2015, 12:14
RE: Нямам EPG - от cosera - 21-11-2015, 19:17
RE: Нямам EPG - от NEOhidra - 22-11-2015, 02:20
RE: Нямам EPG - от zdravkos - 22-11-2015, 06:42
RE: Нямам EPG - от cosera - 22-11-2015, 20:07
RE: Нямам EPG - от NEOhidra - 22-11-2015, 20:16

Теми, които вероятно са свързани...
Тема: Автор Отговори: Прегледи: Последна публикация
  addon за български торент сайтове stoqn99 2 9,408 14-04-2019, 14:29
Последна публикация: stoqn99

Отваряне на: