(2021-11-03, 02:42 AM)sub Wrote: Oh, right. Nevermind then. I was hoping to for one that had artwork that I could test from here - that obviously wont work with local proxy artwork.
This is what the XML looks like from zap2it. but I don't use this. xTeVe cleans it up, with only my channels and caches the images
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE tv SYSTEM "xmltv.dtd">
<tv source-info-url="http://tvlistings.zap2it.com/" source-info-name="zap2it.com" generator-info-name="zap2xml" generator-info-url="zap2xml@gmail.com">
<channel id="I2.11331.zap2it.com">
<display-name>2 WCBS</display-name>
<display-name>2</display-name>
<display-name>WCBS</display-name>
<icon src="https://zap2it.tmsimg.com/h3/NowShowing/11331/s10098_h3_aa.png" />
</channel>
<channel id="I3.83094.zap2it.com">
<display-name>3 WJLPSD</display-name>
<display-name>3</display-name>
<display-name>WJLPSD</display-name>
<icon src="https://zap2it.tmsimg.com/h3/NowShowing/83094/s70436_h3_aa.png" />
</channel>
<programme start="20211106010200 -0700" stop="20211106013000 -0700" channel="I128.14771.zap2it.com">
<title lang="en">Coin Collecting with Mike Mezack</title>
<desc lang="en">Learn about the wonderful world of numismatics with your host Mike Mezack and get the opportunity to build your own collection with some of the best deals around!</desc>
<length units="minutes">30</length>
<icon src="https://zap2it.tmsimg.com/assets/p11377439_st_v9_aa.jpg" />
<url>https://tvlistings.zap2it.com//overview.html?programSeriesId=SH02094379&tmsId=SH020943790000</url>
<episode-num system="dd_progid">SH02094379.0000</episode-num>
<previously-shown />
<subtitles type="teletext" />
</programme>
<programme start="20211107040000 -0800" stop="20211107043000 -0800" channel="I128.14771.zap2it.com">
<title lang="en">Counting Cars</title>
<sub-title lang="en">Back in the Wind</sub-title>
<desc lang="en">Building a custom bike for a disabled man; a 1960 Coupe de Ville; a '70s-era El Camino.</desc>
<length units="minutes">30</length>
<icon src="https://zap2it.tmsimg.com/assets/p9354940_e_v4_ac.jpg" />
<url>https://tvlistings.zap2it.com//overview.html?programSeriesId=SH01589925&tmsId=EP015899250005</url>
<episode-num system="common">S01E05</episode-num>
<episode-num system="dd_progid">EP01589925.0005</episode-num>
<episode-num system="xmltv_ns">0.4.</episode-num>
<previously-shown />
<subtitles type="teletext" />
<rating>
<value>TV-PG</value>
</rating>
</programme>
(2021-11-03, 02:55 AM)mvallevand Wrote: Those obsolete SD format probably won't work anymore. That is what caused the cache to go bad a few months ago.
Martin
When i had that cache issue, is when I switched over to zap2it
(2021-11-03, 02:56 AM)nathan909 Wrote: This is what the XML looks like from zap2it. but I don't use this. xTeVe cleans it up, with only my channels and caches the images
BTW, part of the reason NextPVR downloads artwork on first use, rather than pre-caching them at EPG update time, is that it's not uncommon to have 100k+ bits of artwork that would be needed in large channel lineups. Schedules Direct indicated they do not want clients attempting to do that.
Also, just for a little more info. When artwork is downloaded, it's usually a two step process. 1) identify artwork (usually a single call, or database lookup for SD), and 2) download artwork files (multiple calls).
Step 2 happens in parallel, with multiple files being downloaded at the same time. It blocks waiting for the requested artwork type (usually "poster"), but others can complete in the background. ie, not uncommon for poster to already be displayed in client, while larger fanart images are still downloading.
Actually, I remember another significant issue with artwork from xmltv files. I couldn't tell until the file had been downloaded whether it was a poster style image, or a landscape style issue. The screenshots nathan909 supplied implied his were poster style images. The xmltv file that Martin pointed me at were Landscape style images. There is shortcuts I could take if I knew the client was after the poster, and I knew the xmltv file had poster artwork.