Page 2 of 3

Re: EPG for whole channel list?

Posted: Sat Jan 18, 2014 9:05 pm
by beatfreak
we would still have to find the point where we can inject this data...
but if we'd know this it would be a lot easier to run a script on shutdown or every ~30sec that creates a backup of current epg as it gets filled while tv is running.

and second tuner would definately mean hardware changes and a huge amout of sw work (are there even existing samy tvs with dual tuners like 2xDVB-C ?)

Re: EPG for whole channel list?

Posted: Mon Aug 11, 2014 11:02 pm
by Johnny
What about dumping EPG to attached USB (new SamyGO hack)?

Re: EPG for whole channel list?

Posted: Mon Feb 02, 2015 6:31 pm
by juusso
Hey, guys, we got some nice update from our devels. Stay tuned:
sectroyer wrote:With this lib you can use NEW EPG API to have ANY EPG data you want :) Data is loaded from the libEPG.config file in json format. Sample usage:

Code: Select all

samyGOso -d -A -B -r -l /tmp/libEPG.so
In config file you have to adjust channel name and programs tile,description,time and eventId. Time is an epoch time. You can use for example this site to convert: http://www.epochconverter.com. Programs for each channel have to be sorted in airing time order. It is also important to set for each program unique eventId which is just a random number between 1 and 65535. Unpack and place both files in /tmp/. Have fun :)

To get proper EPG source for your country, download this program:
http://www.webgrabplus.com/download
and config for your country:
http://www.webgrabplus.com/epg-channels

Run the program and generate data yourself :)

Code: Select all

[EPG] SamyGO D/E/F/H libEPG v0.4.8 Dynamic - (c) sectroyer 2014
[EPG] lib_init, config: /mtd_rwcommon/libEPG.config
[EPG] init_epg_config_nxjson, Loading 25 channels...
[EPG] init_epg_config_nxjson, Loading 450 programs for channel : TF1 HD...
[EPG] init_epg_config_nxjson, Loading 525 programs for channel : France 2 HD...
[EPG] init_epg_config_nxjson, Loading 621 programs for channel : France 3...
[EPG] init_epg_config_nxjson, Loading 378 programs for channel : CANAL+...
[EPG] init_epg_config_nxjson, Loading 521 programs for channel : France 5...
[EPG] init_epg_config_nxjson, Loading 362 programs for channel : M6HD...
[EPG] init_epg_config_nxjson, Loading 391 programs for channel : ARTE HD...
[EPG] init_epg_config_nxjson, Loading 193 programs for channel : D8...
[EPG] init_epg_config_nxjson, Loading 362 programs for channel : W9...
[EPG] init_epg_config_nxjson, Loading 249 programs for channel : TMC...
[EPG] init_epg_config_nxjson, Loading 263 programs for channel : NT1...
[EPG] init_epg_config_nxjson, Loading 261 programs for channel : NRJ12...
[EPG] init_epg_config_nxjson, Loading 630 programs for channel : France 4...
[EPG] init_epg_config_nxjson, Loading 403 programs for channel : LCP...
[EPG] init_epg_config_nxjson, Loading 141 programs for channel : BFM TV...
[EPG] init_epg_config_nxjson, Loading 151 programs for channel : i>TELE...
[EPG] init_epg_config_nxjson, Loading 199 programs for channel : D17...
[EPG] init_epg_config_nxjson, Loading 1000 programs for channel : Gulli...
[EPG] init_epg_config_nxjson, Loading 509 programs for channel : France ?...
[EPG] init_epg_config_nxjson, Loading 425 programs for channel : HD1...
[EPG] init_epg_config_nxjson, Loading 197 programs for channel : L'Equipe 21...
[EPG] init_epg_config_nxjson, Loading 321 programs for channel : 6ter...
[EPG] init_epg_config_nxjson, Loading 342 programs for channel : NUMERO 23...
[EPG] init_epg_config_nxjson, Loading 261 programs for channel : RMC DECOUVERTE...
[EPG] init_epg_config_nxjson, Loading 280 programs for channel : Ch?rie 25...
In conjunction of both tools (WebGrab+Plus and xml2json parser by zoelechat) now we can have custom EPG even for analog channels :)
SpoilerShow
url=http://www.webgrabplus.com/features wrote:
Runs in Windows, Linux and OS X.
Can grab from multiple sites, programmable by user trough a siteini file.
As of March 2014 siteini files available for 200 TV-guide sites worldwide.(see the supported sites)
Very fast through incremental grabbing (only changed and new shows grabbed)
Ability to import epg data from (other source) xmltv files and merge that with that of the grabbed data.
Programmable through editing commands that enable changing, filtering, adding, moving, removing (parts) and calculating of the xmltv elements.
Support of combi-channels, channels that show programs from different source channels at specific periods of the day.
Support of time-offset channels, channels that only differ from another one through a timeshift.
Ability to grab from a very wide range of epg structures of the supported html pages. E.g. single-day, multi-day, multi-page single-day, channel-fragmented single-day and many other variants.
Supports grabbing from compressed feeds (gzip and deflate) through build-in decompression.
Can extract xmltv elements from a very wide range of webpage data formats like html, ftp, xml, xmltv, mxf, csv and others.
Very flexible url-builder (that builds the url of the index-page) with support for day-number, weekday-name, weekday-number, date-string, date-number, date-lists and sub-pages.
Support for Http WebRequest methods GET and POST, plus header specifications.
Support for Ftp WebRequest, including access credentials username and password.
Support of grabbing of nearly all (25) xmltv elements.
Support of grabbing in all languages (that can be represented in a standard character set), including the non alphabetic like Chinese, Russian, Greek, Japanese etc.
Can grab from 1, 2 or 3 web pages (index - , detail - and subdetail page)
Automatic DST (daylight saving time) adaptions.
Fair use of site resources through user programmable delays between subsequent channels, index pages and detail pages.
Programmable retry and time-out settings for bad or slow internet connections.
Conforms to the ROBOTS exclusion standard through a screen warning.
Optional MDB postprocessor that automatically grabs additional IMDb data.
Optional REX postprocessor that allows re-allocation and merging of xmltv elements
Currently available only for limited count of users... later will be available in Extras.

[SOLVED!!!] EPG for whole channel list! 02/02/2015!!!

Posted: Sat Apr 04, 2015 12:01 pm
by Johnny
Does this feature also affect the ordinary TV info (info button) and the info below the channel number?

Re: [SOLVED!!!] EPG for whole channel list! 02/02/2015!!!

Posted: Sat Apr 04, 2015 12:05 pm
by sectroyer
Johnny wrote:Does this feature also affect the ordinary TV info (info button) and the info below the channel number?
It affects everything. It's wonderful. It works like a charm :) It's super, hyper awesome :)

[SOLVED!!!] EPG for whole channel list! 02/02/2015!!!

Posted: Sat Apr 04, 2015 6:09 pm
by Johnny
When will this feature be published?
May I test it with you until it is released?

Re: [SOLVED!!!] EPG for whole channel list! 02/02/2015!!!

Posted: Sat Apr 04, 2015 7:56 pm
by zoelechat
As donor you have access to test area: viewtopic.php?f=40&t=8584
But do not expect too much support until it's released ;)

Re: [SOLVED!!!] EPG for whole channel list! 02/02/2015!!!

Posted: Wed Oct 07, 2015 5:56 pm
by spencer
is v5 the last version of libEPG?

Re: [SOLVED!!!] EPG for whole channel list! 02/02/2015!!!

Posted: Wed Oct 07, 2015 6:29 pm
by sectroyer
spencer wrote:is v5 the last version of libEPG?
no. Last version is version v5.0.x :)

Re: [SOLVED!!!] EPG for whole channel list! 02/02/2015!!!

Posted: Sun Jan 03, 2016 5:21 pm
by margy82
Could someone please explain how webgrab works? Becouse I tried and it only downloads link to tv guide on internet without extracting nothing.

Thanks