You are here

help how to work the epg

25 posts / 0 new
Last post
Ricky
Offline
Joined: 7 months
Last seen: 5 months
help how to work the epg

hi

I install the WebGrabPlusV1.1.1MSI and the update to the last Version 1.1.1.57
on the config i put the channel that i want the epg, i download

guide.xml

like this
 <channel id="KRON HDTV (MNT)">
    <display-name lang="en">KRON HDTV (MNT)</display-name>
    <url>http://www.tv.com</url>
  </channel>
 
i put the file guide.xml on my server on html
on my stalker_portal y put the ip:88/guide.xml
on prefix i put en_
on the channel,. XMLTV ID i put en_KRON HDTV (MNT)
then on epg i press update but on the channel doesnt show the epg.
 

if you have or now where is a guide i appreciate. 

Blackbear199
Online
Joined: 1 year
Last seen: 1 min

tv.com needs a cookie file,did you follow the tv,com_instructions.txt to create a channels.xml file?

i dont know why everyone is hooked on tv.com,well i do(because u read thats what everyone else uses) when there's much better ini with better details than tv.com that dont need cookie files.tv.com loves to block you also because you grab too much data at a time.

but thats got nothing to do as to why its not showing in your epg guide.

i will use this as a example line,it wont be exactly the same as yours..

    <channel update="i" site="tv.com" site_id="69023956" xmltv_id="KRON HDTV (MNT)">KRON HDTV (MNT)</channel>

so when you changed it did you change it to..

    <channel update="i" site="tv.com" site_id="69023956" xmltv_id="en_KRON HDTV (MNT)">KRON HDTV (MNT)</channel>

or

    <channel update="i" site="tv.com" site_id="69023956" xmltv_id="KRON HDTV (MNT)">en_KRON HDTV (MNT)</channel>

some epg viewing software wants it the first way,some the second,change both if you not sure

    <channel update="i" site="tv.com" site_id="69023956" xmltv_id="en_KRON HDTV (MNT)">en_KRON HDTV (MNT)</channel>

where are you getting the en_ from you adding to the beginning of the channel name?the name you enter above must match exactly as it appears when you view you channel list.

regarding you stalker portal address

is your server on port 88? just wondering why ur using that port as its not the default port for a server.

what are you running stalker  on? kodi?

use the full server address like http://127.0.0.1:88/guide.xml

 

 

 

 

Ricky
Offline
Joined: 7 months
Last seen: 5 months

this is the frist time using this,.

for USA channel that is the only file tv.com that i found

if you have or now other system or way let me know.

no,  i dont do cookie files,.. how i creat or find that cookies files ?

i found one here in other post i can use that one ?

i use a guis that is in youtube and never explain that of the cookies.

im using on stalker portal.

i dont change noting i start the program webgrabplus, when was finish i went and get the file guide.xml and was like that.

Blackbear199
Online
Joined: 1 year
Last seen: 1 min

at the top of the page under the "Documentation" tab you should read the Configuration section.

you should look through the other sections also.

then ask if you have questions.

for usa channels  yo.tv,zap2it,tvpassport,directv are a few.

they are under "International" or "Networks" on the Epg Channels page.

 

Ricky
Offline
Joined: 7 months
Last seen: 5 months

ok, finally i download the cookies,... then i put it on the program but doest down the epg

Blackbear199
Online
Joined: 1 year
Last seen: 1 min

did you follow the tv.com_instructions.txt

if you did upload your webgrab++.log.txt and you webgrab++config.xml

both files are in the same directory.

 

Ricky
Offline
Joined: 7 months
Last seen: 5 months

the instruction said this

1. In your browser goto http://www.tv.com/listings/
2. At the upper right corner of the whitish window click the button *EDIT . Enter your zip code eg 94102 for San Francisco or 60601 for Chicago, and select your provider
3. Wait for the webpage to complete.
4. Export the cookies to a file named tv.com.cookies.txt in the same folder as the config file. Follow the instructions as in http://webgrabplus.com/documentation/configuration/cookie
5. Open tv.com.ini . Near the bottom is the section that creates channelist files
    Enable the lines there by removing the first *
6. Add one dummy channel in your config
    <channel update="i" site="tv.com" site_id="" xmltv_id="dummy">dummy</channel>
7. run wg++
8. If all is well you have created a channellist file for your location
    tv.com.channels.xml
9. Revert the actions of 5.

 

1,2,3,4  is to download the cookies, already do it.

5 on the tv.com.ini bottom i tacke out the * chage it like this

**      #####  CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
@auto_xml_channel_start
scope.range {(channellist)|end}
url_index {url|http://www.tv.com/listings/}
index_site_channel.scrub {regex||<a href="http://www.webgrabplus.com/listings/station/%5Cd%2B".+?title="(.+?)"||}
index_site_id.scrub {regex||<a href="http://www.webgrabplus.com/listings/station/%28%5Cd%2B?%29"||}
index_temp_6.scrub {regex||class="name">(.+?)(?:</a>\|</div>)||}
add channel name makes it more clear?
index_temp_1.modify {set|0}
loop {(each "index_temp_2" in 'index_site_channel')|end}
index_temp_3.modify {substring(type=element)|'index_temp_6' 'index_temp_1' 1} * name
index_temp_4.modify {addend|'index_temp_2' ('index_temp_3')####}
index_temp_1.modify {calculate(format=F0)|1+}
end_loop
index_site_channel.modify {set|'index_temp_4'}
index_site_channel.modify {replace|####|\|}
index_site_channel.modify {cleanup(removeduplicates=equal,100 link="index_site_id")}
end_scope
 @auto_xml_channel_end

 

on the 6 i on the bottom i erase tha Cahnnel that have and put this, like the guide

<channel update="i" site="tv.com" site_id="" xmltv_id="dummy">dummy</channel>

 

Ricky
Offline
Joined: 7 months
Last seen: 5 months

ok, i erase the guide.xml

is runing but indicated this 2 error

 

1) Could find existing channel (xmltv_id=KTVU HDTV (FOX) in the config file

2) ( 1/941) TV.COM -- chan. (xmltv_id=KTVU HDTV (FOX) -- mode Incremental

cannot find C:\ProgramData\Server\WebGram\tv.com.cookies.txt !

loadcookie failed! ... cannot update this channel

 

Blackbear199
Online
Joined: 1 year
Last seen: 1 min

[Error   ] Could find existing channel (xmltv_id=KTVU HDTV (FOX) in the config file

this is not a error,its a typo in the source code that has'nt been fixed,its suppost to say [Info ] not [Error ].

its just letting you know it found the channel line in your config.xml file.

cannot find C:\ProgramData\Server\WebGram\tv.com.cookies.txt

when you saved the cookies file you either didnt name it tv.com.cookies.txt or you didnt save it in the correct directory,it should be in

C:\ProgramData\ServerCare\WebGrab\

 

Ricky
Offline
Joined: 7 months
Last seen: 5 months

found 1 eror the file cookies.txt i have it worng tv.com_cookies.txt and i fix it to tv.com.cookies.txt

start now and only generate this channel

<channel id="dummy">

<display-name lang="en">dummy</display-name>

<url>http://www.tv.com</url>

</channel>

 

i have to put all the channel list on the conf ?

Blackbear199
Online
Joined: 1 year
Last seen: 1 min

no

as the tv.com.instruction.txt says

after you run webgrab check the tv.com.channels.xml file in you C:\ProgramData\ServerCare\WebGrab\ directory.

it should have the same channels in it that the website shows(page that you went to and entered your zip code,ect).

disable the channel.xml section at the bottom of the ini file(as per the instructions).

now copy the channels you want to get epg data for from the tv.com.channels.xml file you just created to your webgrab++config.xml and overwrite/remove the dummy one you used to create the channel.xml.

 

Ricky
Offline
Joined: 7 months
Last seen: 5 months

ok, is not the same channel list, and the cookies,..

i downloaded from the same site.

iput on conf .. the dummy and that is the only channel that download the dummy

Blackbear199
Online
Joined: 1 year
Last seen: 1 min

what zip code and provider do you want.

i'll create a cookie file and channels.xml for you.

 

Ricky
Offline
Joined: 7 months
Last seen: 5 months

the zipcode is 00725

[  Info  ] Candidates found: 0 movie / 0 serie / 0 both
[  Info  ]
[  Debug ]
[  Debug ]  -------------------------------
[  Debug ]      MDB Postprocessor result
[  Debug ]  -------------------------------
[  Debug ] Mdb data found for 0 out of 0 Movies-candidates
[  Debug ] Mdb data found for 0 out of 0 Series-candidates
[  Debug ] In 00:00:00.0937500 seconds
[        ]
[        ]
[  Info  ] Finished Postprocess MDB
[  Info  ] Job (mdb) finished at 08/12/2016 18:09:53 done in 3s
[  Debug ] statistics upload error: The remote server returned an error: (500) Internal Server Error.

on the page tv.com how i can download the channel list ?

in downloaded here where indicated tv.com.channels.xml

Blackbear199
Online
Joined: 1 year
Last seen: 1 min

zip code is no good without a provider.

i'm trying to help you but some reason your going from step 1 to step 20.
did you read the configuration section,if you did you would know how to disable the post processor.

trust me there's no sense in running the post processor when you you have no epg data to process.

 

 

Ricky
Offline
Joined: 7 months
Last seen: 5 months

this is the only guide that i have,.. and this is the 1 time with this.

How to create a localised channellist file for tv.com and create the necessary cookie file to grab data from local channels

1. In your browser goto http://www.tv.com/listings/
2. At the upper right corner of the whitish window click the button *EDIT . Enter your zip code eg 94102 for San Francisco or 60601 for Chicago, and select your provider
3. Wait for the webpage to complete.
4. Export the cookies to a file named tv.com.cookies.txt in the same folder as the config file. Follow the instructions as in http://webgrabplus.com/documentation/configuration/cookie
5. Open tv.com.ini . Near the bottom is the section that creates channelist files
    Enable the lines there by removing the first *
6. Add one dummy channel in your config
    <channel update="i" site="tv.com" site_id="" xmltv_id="dummy">dummy</channel>
7. run wg++
8. If all is well you have created a channellist file for your location
    tv.com.channels.xml
9. Revert the actions of 5.

so if is other guide i dont know,.. or if is other metod that esear please let me know,..

my zipcode is 00725 US for Dish

Blackbear199
Online
Joined: 1 year
Last seen: 1 min

extract the 2 file to your C:\ProgramData\ServerCare\WebGrab folder

make sure the channels.xml creation section is disabled in your tv.com.ini(* at the beginning of every line).

copy the channel you want epg data for from the tv.com.channels.xml to you webgrab++config.xml

run webgrab

 

Attachments: 
Ricky
Offline
Joined: 7 months
Last seen: 5 months

ok, now i think is working because is diferent and im getting innnnnn on the channels

other thing i notice that on the site tv.com i login but doesnt and i cant down load the correct cookies.

thatnks for your herl i let you know if its work now.

 

 

Blackbear199
Online
Joined: 1 year
Last seen: 1 min

you dont need to login to create a cookies file.

alot of people have this same problem.your not the first one who i have had to do it for.

if you are grabbing alot of data from tv.com it will redirect your requests and you will start getting

no shows on index page error.

to solve this open your tv.com.ini file and near the top on the second site {..} line make sure you have the retry= information like i have it..

site {loadcookie=tv.com.cookies.txt|retry=<retry channel-delay="5" index-delay="1" time-out="20">4</retry>}

copy the line and replace your existing line because if you type it wrong it wont work.

 

Ricky
Offline
Joined: 7 months
Last seen: 5 months

ok,.. i will checked,.. for the cookies now i know and to download the channel list how or where you doi it ?

 

Blackbear199
Online
Joined: 1 year
Last seen: 1 min

for the cookie file i use firefox web browser and the firebug addon to export it.

 

Ricky
Offline
Joined: 7 months
Last seen: 5 months

ok, that is that i use but how you get the channel lisnt ?

Blackbear199
Online
Joined: 1 year
Last seen: 1 min

the steps in the tv.com_instructions.txt

 

Ricky
Offline
Joined: 7 months
Last seen: 5 months

i do it like the instruction, but only the cookies i downloaded,. is not the same that you sent me

the epg was working good,  for only 24 hour , i press on the stalker portal on epg Force Update of EPG indicated that is ok, but doesnt show on the channel the EPG.,..

i enter to the channel on Manage EPG buy is only upto 14:30 and doesnt updated.

i have to do or put somthing more ?

i try to do download other provider and zipcode but i cant

Ricky
Offline
Joined: 7 months
Last seen: 5 months

Hi

i have woorking the epg but i have to scan every day,...

how i can put the epg on my portal, that do it automatic update ?

 

i can meke a donation to the forum, but please help my the update

Log in or register to post comments

Brought to you by Jan van Straaten

Program Development - Jan van Straaten ------- Web design - Francis De Paemeleere
Supported by: servercare.nl