You are here

epg tsn canada

12 posts / 0 new
Last post
smb_s1
Offline
Donator
Joined: 8 years
Last seen: 2 months
epg tsn canada

Followed instructions canada.com.no-provider_info.howtocustomize.txt but get error when running webgrab++

get to stage B8 run webgrab++ get error cookie out of date

B9 looks like this --www.canada.com    FALSE    /    FALSE    1549535809    id    E75BB3A216EC25DD4A1C73ECA6DB2A98 not as shown ie 

www.canada.com    TRUE    /    FALSE    1549535809    id    E75BB3A216EC25DD4A1C73ECA6DB2A98 

C. Get the lineup_id:
C1. Returns false 

Any ideas?

Thanx

smb_s1
Offline
Donator
Joined: 8 years
Last seen: 2 months
Blackbear199 wrote:

i dont have time to run through a channel.xml creation to see if something is wrong but i just did a quick test with tvheddo.com.ini and its getting data for all the tsn channels,tsn and tsn 1-4.

 

Thanx Maybe when u have time pls could u check it out- I'm new to this and still learning

smb_s1
Offline
Donator
Joined: 8 years
Last seen: 2 months
Blackbear199 wrote:

smb_s1 wrote:

Followed instructions canada.com.no-provider_info.howtocustomize.txt but get error when running webgrab++

get to stage B8 run webgrab++ get error cookie out of date

B9 looks like this --www.canada.com    FALSE    /    FALSE    1549535809    id    E75BB3A216EC25DD4A1C73ECA6DB2A98 not as shown ie 

www.canada.com    TRUE    /    FALSE    1549535809    id    E75BB3A216EC25DD4A1C73ECA6DB2A98 

C. Get the lineup_id:
C1. Returns false 

Any ideas?

Thanx

so i had a look into this.

cookie out of date..dont worry about it continue on with the step to create a channels.xml

dont woory aboit the flase / false part,mine shows same when i looked at my cookie.

the thing you want here is the number after id

 

 

I continued but as I stated in post above when trying to get lineup_id: thru browser the browser returns false!

smb_s1
Offline
Donator
Joined: 8 years
Last seen: 2 months
Blackbear199 wrote:

in step C1 are you replacing#session_id# with the id value from step B10?

i just tried it and works fine..

before - http://tvmds.tvpassport.com/snippet/white_label/php/session.php?mode=g&s...

after - http://tvmds.tvpassport.com/snippet/white_label/php/session.php?mode=g&s...

site response in browser..

{"callback":"jQuery1111027350929529809664_1453083309673","lineup_id":"1743","tz":"America\/Toronto","_":"1453083309694","session_id":"405421C2B575D7DBDC4AA691C0BE9B0B"}

also when you open yourr cookie file are you getting the right session id...

my cookie file...important line only

www.canada.com    FALSE    /    FALSE    1539483207    id    405421C2B575D7DBDC4AA691C0BE9B0B <-----correct id

.canada.com    TRUE    /    FALSE    1516242704    s_fid    78306094A2697275-1AF3F1FC92305557 <----- incorrect id

 

 

ok have managed most of the way -get all tsn channels in channels .xml but get no epg for channels

Below is listing of part of log file---

[  Debug ]    skipped show shorter than 1 minute(s) at  title  SportsCentre <\/td>
[  Debug ]    skipped show shorter than 1 minute(s) at  title That'sHockey Playoff<\/td>
[  Debug ]    skipped show shorter than 1 minute(s) at  title  STIHL Timbersports <\/td>
[  Debug ]    skipped show shorter than 1 minute(s) at  title  <\/td>\t<\/tr>\n\t<!-- channel row -->\n\t<tr id=\"tvm_chan_402\" class=\"tvm_channel_row\">\n\t\t<td class=\"tvm_td_chn\" align=\"center\" valign=\"middle\" width=\"15%\">\n\t\t\t<img src=\"\/\/cdn.tvpassport.com\/image\/station\/75x16\/tsn2.png\" alt=\"TSN2 Logo\" align=\"middle\" style=\"max-width:100%;\" class=\"tvm_chan_logo\" border=\"0\" width=\"75\" height=\"14\">\n\t\t\t<br>\n\t\t\t<span class=\"tvm_txt_chan_num\">402<\/span>\n\t\t\t<span class=\"hidden-phone tvm_txt_chan_name\">TSN2<\/span>\n\t\t<\/td>\n
[  Debug ]    skipped show shorter than 1 minute(s) at  title NBA Basketball Oklahoma City Thunder vs. Golden State Warriors <span class='tvm-grid-flag'>Live<\/span><\/td>
[  Debug ]    skipped show shorter than 1 minute(s) at  title  SportsCentre <\/td>
[  Debug ]    skipped show shorter than 1 minute(s) at  title Hockey 2Nite Playoff<\/td>
[  Debug ]    skipped show shorter than 1 minute(s) at  title  SportsCentre <\/td>

 

Any idea what's wrong thanx

smb_s1
Offline
Donator
Joined: 8 years
Last seen: 2 months
Blackbear199 wrote:

assuming you got you session id and lineup id ok...

the session id has to be copied in 2 places...

once on this line...along with your lineup id,you remove the #linup_id# and #session_id# value and replace it with your values.

url_index{url|.........&lang=en&lu=#lineup_id#&tz=UTC&items=90&sess=#session_id#&st=....}

the session id also has to be copied on this line

index_urlshow.modify {addstart.........subid=tvpassport&sid=#session_id#&tz=......}

also remember to disable your channel creation section after you have created your channels.xml

i also noticed the title was a bit messed up(extra spaces and a line feed or something).

find this line

title.modify {cleanup(tags="<"">")}

and add this line under it to fix it.
title.modify {cleanup}

 

Thanx but still no working see attached log file

Attachments: 
smb_s1
Offline
Donator
Joined: 8 years
Last seen: 2 months
Blackbear199 wrote:

get the beta  webgrab.exe 56.24  from the downloads section.

 

Thanx I did that--but get similar error see attached log

Thanx for your patience

Attachments: 
smb_s1
Offline
Donator
Joined: 8 years
Last seen: 2 months
Blackbear199 wrote:

upload your ini file.

attached all 4 files

Attachments: 
smb_s1
Offline
Donator
Joined: 8 years
Last seen: 2 months
Blackbear199 wrote:

you forgot your ini file.

 

sorry !!!

Attachments: 
smb_s1
Offline
Donator
Joined: 8 years
Last seen: 2 months

Many thanx --I'm new to this and trying to learn--Many thanx for your patience!!

smb_s1
Offline
Donator
Joined: 8 years
Last seen: 2 months

Ashamed to say that I have completely lost my way!

If u wont help I completely understand

Attached files

Attachments: 
smb_s1
Offline
Donator
Joined: 8 years
Last seen: 2 months
Blackbear199 wrote:

in your webgrag.++config.xml

you had you channel inside <channel> </channels> tags,i removed them.

aslo you <skip>14, 1</skip> setting was causing trouble so i disabled it.

 

Many thanx working atlast!

Looking back on earlier versions of mine disabling "<skip>14, 1</skip> setting " also solves the problems I had-- so maybe I ain't the goat I thought I might be!!!

Once again many thanx!

benjmmn
Offline
benjmmn's picture
Donator
Joined: 8 years
Last seen: 5 years

Thank you for this. I was about to post regarding the garbage and line feed in my Canadian channels. I added "title.modify {cleanup}" and now all is well. Much appreciated! Looks like they are listing the name of the show and the episode title separated by a colon and it caused wonky results (see attached.)

Attachments: 
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