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

Ideas and dreaming will go this forum

User avatar
beatfreak
SamyGO Project Donor
Posts: 591
Joined: Tue Aug 23, 2011 9:03 am
Location: Hamburg
Contact:

Re: EPG for whole channel list?

Post 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 ?)
//UE40C6500 @ T-VALDEUC 3011 // rooted manual HotelMode style // PVR to NFS via 18MB on-the-fly sparse XFS //
FYI: you can close your ssh session with SamyGO with

Code: Select all

~.
If you can't fix it using dvct tape, you are not using enough dvct tape.
Johnny
SamyGO Project Donor
Posts: 77
Joined: Thu Sep 26, 2013 6:32 am

Re: EPG for whole channel list?

Post by Johnny »

What about dumping EPG to attached USB (new SamyGO hack)?
User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: EPG for whole channel list?

Post 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.
LE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE
Johnny
SamyGO Project Donor
Posts: 77
Joined: Thu Sep 26, 2013 6:32 am

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

Post by Johnny »

Does this feature also affect the ordinary TV info (info button) and the info below the channel number?
sectroyer
Official SamyGO Developer
Posts: 6305
Joined: Wed May 04, 2011 5:10 pm

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

Post 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 :)
I do NOT support "latest fw" at ALL. If you have one you should block updates on router and wait for it to STOP being "latest":)
If you want me to help you please paste FULL log(s) to "spoiler"/"code" bbcodes or provide link(s) to pasted file(s) on https://pastebin.com Otherwise "NO HELP"!!!
If you want root DISABLE internet access to your device!!!!
DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!
Johnny
SamyGO Project Donor
Posts: 77
Joined: Thu Sep 26, 2013 6:32 am

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

Post by Johnny »

When will this feature be published?
May I test it with you until it is released?
zoelechat
SamyGO Moderator
Posts: 8615
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

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

Post 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 ;)
I do NOT receive any PM. Please use forum.
spencer
SamyGO Project Donor
Posts: 22
Joined: Tue Jan 07, 2014 3:56 pm

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

Post by spencer »

is v5 the last version of libEPG?
UE32F5500 T-MST12DEUC-2104.2
sectroyer
Official SamyGO Developer
Posts: 6305
Joined: Wed May 04, 2011 5:10 pm

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

Post by sectroyer »

spencer wrote:is v5 the last version of libEPG?
no. Last version is version v5.0.x :)
I do NOT support "latest fw" at ALL. If you have one you should block updates on router and wait for it to STOP being "latest":)
If you want me to help you please paste FULL log(s) to "spoiler"/"code" bbcodes or provide link(s) to pasted file(s) on https://pastebin.com Otherwise "NO HELP"!!!
If you want root DISABLE internet access to your device!!!!
DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!
margy82
SamyGO Project Donor
Posts: 6
Joined: Sat Dec 26, 2015 7:41 pm

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

Post 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

Post Reply

Return to “[F] Brainstorm”