[MOD] EPG with Genre Color (10.3.4)

NO LONGER OPERATIONAL FOR SUPPORTED SERVERS. TRY A DIFFERENT ADD-ON, SUCH AS XTREAM-CODES, OR POTATO TV, OR AN ADD-ON THAT CAN PLAY M3U LISTS. - dara

Thanks to psycon & the epg-ninja team

I managed to add a new feature: the EPG web-server to generate xmtv EPG with genre color and metadata

BEFORE: (incomplete data in mono-color)
Screen_Shot_2016_05_14_at_12_22_15_AM.png

AFTER: (psycon's style in multi-genre colors with metada)
Screen_Shot_2016_05_14_at_12_24_28_AM.png



COMMAND LINE:

  • check if the web-server is online
    Code:
    http://localhost:8899/online
  • 72 hours EPG
    Code:
    http://localhost:8899/epg?xml=1
  • 72 hours EPG offset 1 hour
    Code:
    http://localhost:8899/epg?xml=2
  • 24 hours EPG (good for any systems low spec/ram)
    Code:
    http://localhost:8899/epg?xml=3


HOWTO: integrate the service with the PVR-Clients


A. MANUAL WAY


open & edit the "settings.xml" file


1. PVR IPTV Simple Client (req. any version of Kodi)

file: "Kodi/userdata/addon_data/pvr.iptvsimple/settings.xml"

Code:
    <setting id="epgCache" value="true" />
    <setting id="epgPath" value="" />
    <setting id="epgPathType" value="1" />
    <setting id="epgTSOverride" value="true" />
    <setting id="epgTimeShift" value="your_local_GMT_offset" />
    <setting id="epgUrl" value="http://localhost:8899/epg?xml=2" />


2. Stalker Client (built-in) (req. Kodi Isengard v15.x ++)

file: "/Kodi/userdata/addon_data/pvr.stalker/settings.xml"

Code:
    <setting id="guide_preference_[x]" value="3"/>
    <setting id="time_zone_[x]" value="your_local_GMT"/>
    <setting id="xmltv_scope_[x]" value="0"/>
    <setting id="xmltv_url_[x]" value="http://localhost:8899/epg?xml=2"/>

Notes:
[x] = the active portal tab # where you put your active mac/login/password settings
(e.g. guide_preference_1)


3. Stalker Client NFPS (req. Kodi Jarvis v16.x ++)

file: "Kodi/userdata/addon_data/pvr.stalker.nfps/settings.xml"

Code:
    <setting id="time_zone" value="your_local_GMT" />
    <setting id="guide_preference" value="3" />
    <setting id="xmltv_path" value="" />
    <setting id="xmltv_scope" value="0" />
    <setting id="xmltv_url" value="http://localhost:8899/epg?xml=2" />




B. AUTOMATIC WAY

You don't want to type all those codes above,
my addon can do it automatically for you :D

Note: ATM it only supports the Stalker Client (built-in)
So, you have to disable all pvr-client plugins, except for the Stalker Client (built-in)


1. run the add-on settings & open the "FEATURES" tab
Screen_Shot_2016_05_14_at_11_31_28_AM.png


2. enable the "[Acc.Sync] PVR Stalker Client (built-in)" option

3. enter your local timezone (default: blank = O/S timezone)

4. choose your preferred EPG xmltv source:
Code:
PROVIDER ONLY  :  96 hours EPG (incomplete in mono-color)

NINJA - 1  : 72 hours EPG (with genre color + metadata)
NINJA - 2  : 72 hours EPG (with genre color + metadata)  offset 1 hour
NINJA - 3  : 24 hours EPG

5. run the add-on & watch any channel you want



C. BORING PARTS

Both manual & automatic ways requires these following boring parts for the next steps

Note: Yes! I'm dumb and I don't know how to make these steps running automatically
Please let me know if you know how

1. disable the live-tv option
2. clear all channels cache
3. clear all epg caches
4. quit & restart Kodi
5. re-enable the live-tv option


THAT'S IT!


CHANGELOG:
Code:
http://pastebin.com/raw/AFyNsbgf


DOWNLOAD:
Code:
http://www.mediafire.com/download/a3vrfmjmc90o8gc/plugin.video.stalker-10.3.4-r6_(EPG-Server).zip


NOTE! Yes! it's an EPG service for the pvr-client or any iptv-players (it works on any gadgets too)
if you insist to have the epg for the EPG for the addon, you'd better wait for my dev-release (NO ETA)
or use the iVue2 TV / Renegades Guide as an alternative


UPDATE




10.3.4-r6 (2016/08/17)
- fix VoD's issue: "list indices must be integers"
- fix some minor bugs


10.3.4-r5 (2016/07/18)
- fix VoD
- fix channel language filter



v10.3.4-r4
- add custom MAC prefix ("00:1A:78" -or- "00:1A:79")



v10.3.4-r3

- add the error-notification if there's no new EPG update available from the source (**********)



v10.3.4-r2

- add MAC prefix 00:1A:79 for rocket-22 account (dara's reference)
 
Last edited by a moderator:
@DarkSide
enjoy mate :)
plz let me know if you find any bug

@olsts
both my addon & psycon's auto updater pull the epg xmltv from the same source
but...
as I told in my descripton,
ATM the automatic acc.sync script in my addon only support the pvr client (built in)
since I still don't have access to the pvr nfps source yet

so, if you're only using the pvr client (built in), I think the auto updater is not needed anymore


NOTE:
DO NOT try to run both my addon and pvr nfps client on your system !!!
they both use different hash codes for the device datas
 
Last edited:
I got the update 10.3.4.r2 got the futures but no M3u server so i can not turn it on on my pc no guide no TV on main page channels work on iptv stalker plus
On my Android i got m3u server but not futures will try to update soon.got TV on main page channels load Got the guide not color on the 10.2.4.r2 working
channels working but the backend line up don't work channels start at 1 or what ever you set it in iptv stalker not sat line up

man i love this hobby and some smart people in this site sorry no names
don"t want it to go to your head, thank you so much though

and please let me know if you can fix any of the above
 
Last edited:
Why did you need a m3u server?
you should use the pvr stalker built-in instead
it has a built-in generator to create its m3u8 playlist

UPDATE

lol there must be some misinterpretation between us

I've just realize the meaning of the words you said:

I got the update 10.3.4.r2 got the futures but no M3u server so i can not turn it on on my pc

You can't find the "M3U Server" tab, can you?

if so, you can eiher use the left-right arrow-keys of your kb or use the scrolling button of your mouse to find the tab you're looking for
the "M3U Server" tab is the last tab on the right

Screen_Shot_2016_05_25_at_12_51_26_PM.png
 
Last edited:
Wow couch, not much sleep!

I moved everything over to another machine but I'm getting a blank guide? It shows "Golden Premier 1. "starting to load then an error message "Stalker Unable to Load Guide" My Epg11.db is only 84kb, so pretty sure it's blank. I deleted both this and TV29.db and tried again. No luck.

Kodi Log file errors
Code:
http://screencast.com/t/wcZIBcDpxqvE

The Stalker Client works and loads channels and they are playable, the IPTV Stalker also works.

Any clue to look next?

cwh
 
I've just tested my addon under windows & *nix o/s
and I didn't find anything wrong with the epg

tokai.jpg



by referring to your log, the error was: timeout was reached

maybe your host is behind a firewall
and it blocked the addon while the addon is trying to download the epg file

so, you could run this url directly with your browser to check if the epg-server works properly or not
Code:
http://localhost:8899/epg?xml=1
 
@psycon

thanks mate for the info

yep! I've also already sent a pm to ken and he explained it very nice to me
I understand the reason why the project is being closed and I won't push him to break his agreement

what I only want to know is the hashcode method he's using as the curl's header & arg at the handshaking process
(the 2nd & 3rd steps after creating the token)
nothing's more

my dream is we can sync all the same informations for all available iptv stalker plugins (video addon & pvr client)
so we can eliminate all issues due to user authentication error

so in the future, even my grandma will be able to watch the streaming by herself without any headaches :D


btw, no question about the "thing" today ? :D
 
Last edited:
This site can’t be reached

localhost refused to connect.
Search Google for localhost 8899 epg

you are good !!!!! i will try to figure this out i am persistent i will get there . windows defender did that ha ha
or if you have a solution please. like turn windows defender off . i probably not the only one just the persistent one

opps that was not suppose to be here sorry got redirected
 
Last edited:
i tried all the pvrs and reset and delete cache. how come the other guide comes up. cause i really want the new colored guide and updated. is there anything u can think of im doing wrong or anything cause my pvr guide works with 10.3 but no color and info unaviable on some channels. im using the built in stalker pvr client
 
Last edited:
FIRST STEP
you must know if the epg-server is ON or OFF
run this url with your browser:
Code:
http://localhost:8899/online

then you must follow all the leads I wrote

DISCLAIMER:
This is an UNOFFICIAL FREE project (I don't care if you want to use it or not)
SO PLEASE! Don't ever expect me to give you a full support

coz I'm not so evil, ofc I will give you a hint ;)
Code:
http://bfy.tw/60oF