Hi Guys,
I tried couple of ini files for DSMART.COM.TR non of them work perfectly besides Blackbears199 PHP file. Normally I don't want to use my IIS Server for WebGrab but I couldn't find any solution. I hope someone can help me to keep maintained this ini file. For this reason I opened this topic. I made some improvments current test.ini (i changed dsmart.com.tr.ini)
What I want:
- I don't want to use php file if it is possible
- I want to update channel list in ini file.
Currently my lates ini file here:
site {url=dsmart.com.tr|timezone=UTC+03:00|maxdays=7|cultureinfo=tr-TR|charset=UTF-8|titlematchfactor=90}
site {episodesystem=onscreen}
*
url_index{url(debug)|http://127.0.0.1:83/test.php?channel=|channel|&date=|urldate|&reqtype=1}
url_index.headers {customheader=Accept-Encoding=gzip,deflate}
urldate.format {datestring|yyyy-MM-dd}
*
index_showsplit.scrub {multi|"schedule": [{||}]}|}]}}
scope.range{(splitindex)|end}
index_showsplit.modify {replace|\}, \{|\|}
index_showsplit.modify {sort(ascending,string)}
sort_by.scrub {single(target="index_showsplit")|"start_date": "||",|",}
sort_by.modify {calculate(target="index_showsplit" format=date,unix)}
index_showsplit.modify {(debug)} *for debug
end_scope
*
index_start.scrub {single|"start_date": "||Z"|Z"}
index_stop.scrub {single|"end_date": "||Z"|Z"}
index_title.scrub {single|"program_name": "||",|",}
index_description.scrub {single|"description": "||",|",}
index_description.modify {cleanup(style=jsondecode)}
index_category.scrub {single|"genre": "||",|",}
index_category.modify {cleanup(style=jsondecode)}
*
index_title.modify {cleanup(style=jsondecode)}
** _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
** ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
**
** @auto_xml_channel_start
*index_site_id.scrub {|}
*index_site_id.modify {set|1\|2}
*index_site_channel.modify {set|Televenezia\|Televenezia GT}
** @auto_xml_channel_end
I fixed it description and category fields. But I have no ide for channel creation section.
All channels here: https://www.dsmart.com.tr/actions/channels?page=1&limit=500
Example channel : https://www.dsmart.com.tr/actions/schedule?channel_id=58d29bb0eefad3db9c...
Channel line for my ini:
<channel update="i" site="dsmart.com.tr" site_id="58d29bb0eefad3db9c6062b6" xmltv_id="MovieSmart Türk HD">Movie Smart Türk</channel>
I need to get all site_id's. And I don't want to use PHP if it is possible. Thanks.