Hello,
maybe somebody could convert tv24.lt.ini from onscreen to xmltv_ns episode system?
Thank you!
Thank you. I tried that but it still shows: episode-num system="onscreen">E15< /episode-num
Here is .ini:
site {url=tv24.lt|timezone=UTC|maxdays=8|cultureinfo=lt-LT|charset=utf-8|titlematchfactor=90|ratingsystem=IMDb} site {episodesystem=xmltv_ns}
url_index{url|https://www.tv24.lt/programme/listing/none/|urldate|?filter=channel&subslug=|channel|} *windows users *url_index{url|http://127.0.0.1/tv24_lt.php?urldate=|urldate|&channel=|channel|} *linux users urldate.format {datestring|dd-MM-yyyy} url_index.headers {customheader=Accept-Encoding=gzip,deflate} url_index.headers {contenttype=application/json} * index_showsplit.scrub {multi||||} * copy content index_showsplit.modify {cleanup(style=jsondecode)} index_showsplit.modify {substring(type=regex)|"\"id\":\d{9}.*?\"logo_64\":\".*?\""} *index_showsplit.modify {replace|\||\n\n\|} *testing only * scope.range {(indexshowdetails)|end} index_start.scrub {single|"start_unix":||,|,} index_stop.scrub {single|"stop_unix":||,|,} index_title.scrub {single|"title":"||"|"} * index_titleoriginal.scrub {regex||"title_original":"(.*?)",||} index_titleoriginal.modify {clear('index_titleoriginal' 'index_title')} * index_description.scrub {single|"description_long":"||"|"} index_description.modify {replace|\\n| } index_description.modify {replace|\\t| } index_description.modify {replace|\\r| } index_description.modify {cleanup} * index_subtitle.scrub {regex||"ep_title":"(.*?)",||} * index_category.scrub {regex||"genrestring":"(.*?)",||} index_category.scrub {regex||"categorystring":"(.*?)",||} * index_country.scrub {single(separator=", ")|"country":"||"|"} index_productiondate.scrub {regex||"year":(\d{4}),||} * index_director.scrub {regex||"director":"(.*?)",||} index_director.modify {replace|,|\|} * make multi * index_actor.scrub {regex||"cast":"(.*?)",||} index_actor.modify {replace|,|\|} * make multi * index_showicon.scrub {regex||"image":"(https.+?)",||} index_urlchannellogo {url|https://cdn.tvstart.com/img/channel/|"logo_64":"||"|"} * index_temp_1.scrub {single|"season":||,|,} index_temp_1.modify {clear("0")} index_temp_1.modify {addstart('index_temp_1' not "")|S} * index_episode.scrub {single|"ep_nr":||,|,} index_episode.modify {clear("0")} index_episode.modify {addstart('index_episode' not "")|E} index_episode.modify {addstart('index_temp_1' not "")|'index_temp_1'} * index_rating.scrub {single|"imdb_rating":||,|,} index_rating.modify {replace|null|} *
end_scope
Thank you! It worked!
Brought to you by Jan van Straaten
Program Development - Jan van Straaten ------- Web design - Francis De PaemeleereSupported by: servercare.nl
Thank you. I tried that but it still shows:
episode-num system="onscreen">E15< /episode-num
Here is .ini:
site {url=tv24.lt|timezone=UTC|maxdays=8|cultureinfo=lt-LT|charset=utf-8|titlematchfactor=90|ratingsystem=IMDb}
site {episodesystem=xmltv_ns}
url_index{url|https://www.tv24.lt/programme/listing/none/|urldate|?filter=channel&subslug=|channel|} *windows users
*url_index{url|http://127.0.0.1/tv24_lt.php?urldate=|urldate|&channel=|channel|} *linux users
urldate.format {datestring|dd-MM-yyyy}
url_index.headers {customheader=Accept-Encoding=gzip,deflate}
url_index.headers {contenttype=application/json}
*
index_showsplit.scrub {multi||||} * copy content
index_showsplit.modify {cleanup(style=jsondecode)}
index_showsplit.modify {substring(type=regex)|"\"id\":\d{9}.*?\"logo_64\":\".*?\""}
*index_showsplit.modify {replace|\||\n\n\|} *testing only
*
scope.range {(indexshowdetails)|end}
index_start.scrub {single|"start_unix":||,|,}
index_stop.scrub {single|"stop_unix":||,|,}
index_title.scrub {single|"title":"||"|"}
*
index_titleoriginal.scrub {regex||"title_original":"(.*?)",||}
index_titleoriginal.modify {clear('index_titleoriginal' 'index_title')}
*
index_description.scrub {single|"description_long":"||"|"}
index_description.modify {replace|\\n| }
index_description.modify {replace|\\t| }
index_description.modify {replace|\\r| }
index_description.modify {cleanup}
*
index_subtitle.scrub {regex||"ep_title":"(.*?)",||}
*
index_category.scrub {regex||"genrestring":"(.*?)",||}
index_category.scrub {regex||"categorystring":"(.*?)",||}
*
index_country.scrub {single(separator=", ")|"country":"||"|"}
index_productiondate.scrub {regex||"year":(\d{4}),||}
*
index_director.scrub {regex||"director":"(.*?)",||}
index_director.modify {replace|,|\|} * make multi
*
index_actor.scrub {regex||"cast":"(.*?)",||}
index_actor.modify {replace|,|\|} * make multi
*
index_showicon.scrub {regex||"image":"(https.+?)",||}
index_urlchannellogo {url|https://cdn.tvstart.com/img/channel/|"logo_64":"||"|"}
*
index_temp_1.scrub {single|"season":||,|,}
index_temp_1.modify {clear("0")}
index_temp_1.modify {addstart('index_temp_1' not "")|S}
*
index_episode.scrub {single|"ep_nr":||,|,}
index_episode.modify {clear("0")}
index_episode.modify {addstart('index_episode' not "")|E}
index_episode.modify {addstart('index_temp_1' not "")|'index_temp_1'}
*
index_rating.scrub {single|"imdb_rating":||,|,}
index_rating.modify {replace|null|}
*
end_scope
Thank you! It worked!