You are here

Ini files

About creating, modifying site INI files. (SiteIni Pack)

Help with my Ini file for flowsports.co

Forums: 

I am having difficulty parsing the start time. I have variations of Regexp but still getting parsing the time.
I spent a few days trying suggestions in the forum that appeared similar but have not been successful in parsing.
I am able to parse out the title and description.

The second issues is the html tags getting escaped for title and description. Not sure why.

<programme start="20190114033000 +0000" stop="20190114040000 +0000" channel="FlowSports">
<title lang="en">Rebel Women's Big Bash League LIVE&lt;/div&gt;</title>
<desc lang="en">Stars vs Sixers LIVE (KOT 11:50).&lt;/div&gt;(n)</desc>
</programme>

The html snippet from my index_showsplit has all the information for a given program

[ Debug ]
<div class="dcm-tv-guide-item--body">
<div class="dcm-tv-guide-item--program-wrapper row">
<div class="dcm-tv-guide-item--time-wrapper col-xs-2 col-sm-1">
<div class="dcm-tv-guide-item--start-time" datetime="2019-01-14 01:30:00Z">01:30</div>
<div class="dcm-tv-guide-item--end-time" datetime="2019-01-14 03:30:00Z">03:30</div>
<div class="dcm-tv-guide-item--duration">
<span class="dcm-tv-guide-item--duration-label">Duration</span>
<span class="dcm-tv-guide-item--duration-time">2h 0m</span>
</div>
</div>
<div class="dcm-tv-guide-item--name col-xs-5 col-sm-6">Tottenham Hotspur vs. Manchester United encore</div>
<div class="dcm-tv-guide-item--details col-xs-5 col-sm-4">Premier League Football encore.</div>
<div class="dcm-tv-guide-item--channel-logo hidden-xs col-sm-1">

</div>
</div>
<div class="bar-indicator col-xs-11 col-sm-11 col-sm-push-1 col-xs-push-1 row">
<div class="dcm-tv-guide-item--progress">
<div class="progress tv-guide-programs">
<div class="progress-bar" role="progressbar" aria-valuenow="100"
aria-valuemin="0" aria-valuemax="100" style="width: 100%">
<span class="sr-only">100%</span>
</div>
</div>
</div>
</div>

</div>
</li>
[ Debug ] ----------end----block----------

[HELP] Time Problem...

Forums: 

how can i get the index_start and index_stop from here:

<p><span style="font-family: 'trebuchet ms', geneva; font-size: 14pt;"><strong>00:00 - 06:00</strong></span></p>

index_start.scrub ???
index_stop.scrub ???

anyone... any help!

Grab EPG from Sites behind CloudFlare

Forums: 

Hello,

When I try to capture data from some sites, the downloaded html is encoded (something like this: ��"*Z?<#5釀f���!??!����0s>�W�)��%?) and it's not the html I view in FireFox's source view. How can we bypass this problem using WebGrab++?

Example: radiobruno.it

[HELP] How To Scrub This Title?

Forums: 

I WANT TO SCRUB THE TITLE "CASANOVA" FROM THIS HTML CODE:

<td class="channel_program-table--program"><a href="https://......programchannel">Casanova</a>&nbsp; </td>

I TESTED THAT:

index_title.scrub {single|<a href="|">|</a>}

AND THE RESULT IS:

<title lang="en">Casanova (?)</title>

WHAT AM I DOING WRONG? :(

-------------------------------------------------------------------------------------------------------------

THE HTML FROM TITLE(title.srub) IS:

<img class="epg_close_up-logo" alt="channel" title="channel" src="/portal/image/journal/article?img_id=41707954&amp;t=1524412293078"> </div> <h1>Casanova</h1> <div class="epg-closeup-info">

HOW CAN I SCRUB CORRECT THE TITLE FROM THIS PIECE?

just gives a discription of movie but not title of movie coming on.

Forums: 

Use tvtv.ca and tvtv.us but have a problem. Both work fine for tvshows and episodes coming on. But when come to a movie,it shows a discription of the movie but not the title of the movie, it just says Movie. What line do I put in the site.ini to fix the problem. So grabs the title of the movie coming on besides the discription. If already a fix I can't find it and I don't see it in documentation.

help with new site.ini file

Forums: 

Hi guys,

I'm trying to write my own ini file but i'm really struggling. I've followed as much as i could understand from the documentation and a few forum posts and can get it to generate the correct URLs, but the showsplit is confusing me. I've looked through a number of other ini files and tried a number of things but I keep going back to nothing :(

Here is my ini file so far:

site {url=epg.abctv.net.au|timezone=UTC+00:00|maxdays=6|cultureinfo=en-AU|charset=ISO-8859-1|titlematchfactor=90}
*site {ratingsystem=ES|episodesystem=onscreen|grabengine=|firstshow=0|firstday=0000000}
url_index{url|http://epg.abctv.net.au/processed/|channel|_|urldate|.json}
urldate.format {datestring|yyyy-MM-dd}
*subpage.format {number||1|}
index_showsplit.scrub{(debug)multi|"channel"}

I'm struggling as the JSON file on the source website (http://epg.abctv.net.au/processed/Melbourne_2019-01-15.json) has all the channels on 1 page. The actual listing data comes after a number of other tags.

So for the first channel on the webapge, the actual listings start after:
{"date": "2019-01-05", "region": "Melbourne", "schedule": [{"channel": "ABC1", "listing":

Second one after:
{"channel": "ABC2", "listing":

Using my code splits it down to individual channels, but need to subsplit(?) it down into channels from there... If anyone could please lend a hand in trying to split it further I should be ok to get the rest done :) I've also attached the log from using the above ini.

Thanks in advance!

Attachments: 

Update horizon.tv ini files

Forums: 

Hi guys and happy new year,

I'm using horizontv (romanian and hungarian) as a guide source to create the xml that i'm using afterwards in Plex. For a series to be detected as a series, Plex needs to have the category of the show labeled as "show" which in some circumstanced does not exist. The second thing Plex needs is to have this type of episode numbering system: <episode-num system="original-air-date">2018.01.01 03:03:03</episode-num> and this is not the case as it does not exist.

Needed modification that I would like to add in the ini:

1. Enrich the category type
If "<category lang="hu">Filmvígjáték</category>" exist then
create a new one just under it "<category lang="hu">show</category>"

2. Enrich the episode-num system
If <episode-num system="onscreen"> exist then
create a new one just under it, <episode-num system="original-air-date">"Programme start date in yyyy.mm.dd hh:mm:ss format"</episode-num>
example:

from:
<episode-num system="onscreen">E5</episode-num>
to:
<episode-num system="original-air-date">2019.01.01 01:45:00</episode-num>

knowing the program start time is in the programme start line : <programme start="20190101014500 +0000" stop="20190101020500 +0000" channel="572">

3. Add a category type for each programme that has the <episode-num system="onscreen"> line:
If "<episode-num system="onscreen">E6</episode-num>" exist then create a new line
"<category lang="hu">show</category>"
example:

from:
"<episode-num system="onscreen">E6</episode-num>"

to:
"<episode-num system="onscreen">E6</episode-num>"
"<category lang="hu">show</category>"

This is needed because in some circumstances the only way yo identify that a program is a show is that it has the <episode-num system="onscreen"> line present, the categories are too generic.

Thanks in advance!

satelitenatv.sk.ini

Forums: 

Hello, as the satelitenatv.sk.ini file is, thank you very much for the answer

Pages

Brought to you by Jan van Straaten

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