Hi,
Looks like something has changed at yourtv, getting no data now - may need an update:
[ Info ] ( 1/1 ) YOURTV.COM.AU -- chan. (xmltv_id=ABC1) -- mode Incremental
[Error ] Unable to update channel ABC1
[Critical] Generic syntax exception:
[Critical] message:
[Error ] no index page data received from ABC1
[Error ] unable to update channel, try again later
Cheers!
https://www.yourtv.com.au/api/regions/73/channels
https://www.yourtv.com.au/api/regions/168/channels
https://www.yourtv.com.au/api/guide/?day=today&timezone=Australia%2FSydn...
https://www.yourtv.com.au/api/now-next/?format=html&timezone=Australia%2...
https://www.yourtv.com.au/api/now-next/?format=html&timezone=Australia%2...
If you need anything further, let me know and I'll grab it styraight away.
Thanks!
Confirmed, working.. :)
Cheers!
Slight issue.. I'm only able to grab 2 days worth of data,anything more and I get errors:
[ Info ] update requested for - 1 - out of - 1 - channels for 7 day(s)
[ Debug ]
[ Info ] ( 1/1 ) YOURTV.COM.AU -- chan. (xmltv_id=ABC NSW) -- mode Incremental
[Error ] Unable to update channel ABC NSW
[Critical] Generic syntax exception:
[Critical] message:
[Error ] no index page data received from ABC NSW
[Error ] unable to update channel, try again later
[ Info ] Existing guide data restored!
Thanks, testing it now..
Will it also be possible to grab the images from the site as you did here:
http://www.webgrabplus.com/content/ustvnow
Thanks, and it's also not very good with the local Aussie shows either, where does it grab the images from?
Is there any other postprocessing that can be done to get them?
Hi Blackbear thanks for the updated yourtv.com.au - I have been messing with this and finally figured how to make it work !
My problem is however with the series and episode numbers - you fixed this for me in the frreview thread - when that was working.
My requirement was to have the series and episode number in the format SXXEXX pre-pended to the front of the subtitle with the series and episodes zero filled ie S02E08 not S2E8.
I tried pinching your code from the freeview and inserting into the yourtv.ini file but cannot get it to work as I have liitle clue as to what I am doing :>)
If you get a chance can you look at this for me and if I can be also ask for NOT pre-pending if there is no Series number and also if Episode number is greater than 99.
Below is my unsuccesful attempt
Thanks Blackbear that sort of works.
It seems when the episode data has an output of "onscreen" it doesn't work - I remember you having two sections for this in freeview but again could not make head or tail of it.
<episode-num system="onscreen">S1</episode-num> when this is in the guide data - no series or episode is prepended.
I have extracted some example data from my guide.xml to illustrate this
Thanks, think it's time I started to trying myself.. ;)
Thanks Blackbear all working nicely now and Emby displaying recordings in correct season. :>)
Folks, this and the Freeview Australia thread have become very convoluted. I moved back to YourTV today from Freeview Australia but had to piece together the discussion between the two threads in order to get everything to work. I've attached the resultant files [HAVE DELETED THE FILES AS THEY WERE INCORRECT. REFER LATER POST FOR ONE THAT WORKS AND CONTAINS ALL UPDATES] and updated the comments to reflect what's been changed and its forum reference. Hopefully this makes it easier for others.
To make things easier for those not so tech savvy, may I suggest we either create a new thread or remove all other ini and xml filles from this thread?
Also how do we update the yourtv files in the SiteINI pack? The one that is included is very old indeed and will definitely not work.
Things I had to do to get it to work for me:
@BlackBear199 - I also had an issue with the channel generation code whereby a # is left prepended to the channel id (refer attached file labelled weirdchannelid.xml). Being a bit time poor, and having absolutely no idea about regular expressions, I simply manually removed the # from my WebGrab++.config.xml file. I've added a comment to the ini file advising the user that they will have to do that themselves.
Thanks for the great work of BlackBear199, lynchmob and Dennisdv that got us to this point!
{deleted what I had said here as it's no longer pertinent and I don't want to waste anyones time}
Believe it or not but you can request the url without stipulating the timezone parameter (eg. url_index{url|https://www.yourtv.com.au/api/guide/?day=|urldate|&format=html®ion=73}). It's probably lucky for me that the default return is AEDST (Australian Eastern Daylight Savings Time) rather than another time zone. AEDST is the one I'm in.
Try these working files for Sydney. I have no issues..
Thanks Jay888. Now having seen your channels.xml file I've found the problem. I somehow missed BlackBear199's comment to replace the <channel> line in the WebGrab++config.xml file with the region <channel> line. What an idiot I am.
Have updated the ini file comments and re-uploaded it. This ini file is vanilla so no changes to region ids has been made. This ini works exactly as per BlackBear199's original but incorporates the changes made since by BlackBear199, lynchmob and others.
Glad you got it working, and I never knew about the channel icon.. did wonder about that.
Will test the ini now.
Great work getting this back and up running guys. It's by far the best and the most content-rich of all the Australian sites and isn't missing the smaller regional areas either.
I have come across a problem. It ignores programmes with what appears to be short duration times.
Example of how it should look:
<programme start="20161112060000 +1100" stop="20161112061500 +1100" channel="ABC2">
<title lang="en">This Is Scarlett and Isaiah</title>
</programme>
<programme start="20161112061500 +1100" stop="20161112062500 +1100" channel="ABC2">
<title lang="en">Ping Pong</title>
</programme>
<programme start="20161112062500 +1100" stop="20161112070000 +1100" channel="ABC2">
<title lang="en">Postman Pat</title>
</programme>
However, the middle programme (Ping Pong) is ignored and the stop time for first programme (This Is Scarlett and Isaiah) is adjusted to the middle programme's stop time. I think it may have something to do with how the website compresses short programmes into a single column on the grid, but not certain.
I don't have the data from yesterday so cannot confirm - but I can confirm that I have programs of 5 minutes duration diplaying on my frontend.
I have the same issue, plus also the year of the TV show is being shown in the title.. shouldn't that be in the tv show or movie info?
Fantastic..
Thanks!
Have updated post #23 above to reflect the short duration show fix.
@Blackbear199 - it looks like your #5 post ini file now contains all the updates I had amalgamated. If this is the case let me know and I'll remove my ini file so that yours remains the primary source.
Unfortunately there now appears to be another issue. Could this issue be linked to the change incorporated last night??
In short, tvguide.xml (refer attached) does not contain the show Hyde & Seek on Channel 9HD at 8.40pm. It is on the yourtv website (starting 8.40pm) and it comes up in the text delivered by the url_index line (refer attached dump.txt). In lieu, the tvguide.xml has RBT going through to the start of the next programme at 9.44pm (Tough Nuts).
I've not checked other channels to see if it occurs on them. I noticed just now with 9HD as I was watching TV.
Thanks Blackbear199.
Post #23 above updated (if this is the same as yours let me know and I'll remove it)
Has anyone else been getting the error below in the last two days?
It happens to me only on Channel 9 (Sydney). A review of YourTV.com.au and the index_site data highlights the error is on a channel called 9Now. This channel is not picked up on the channel scrub and looks to be an on-demand channel.
Moreover, it doesn't follow the same format as the FTA channels. As such, the error looks likely to be thrown on the index_start.scrub {single|<p>||</p>|</p>} line as there is no time data (it's the episode title for this channel).
Is there a way we can ignore this channel (am curious why it doesn't already given there is no corresponding channel in the config.xml file for it)? I also note that the following is <p class="catchup">. Can this be used as a means of ignoring the data?
@Blackbear199 - that's awesome! Thanks. I wish I had the knowledge about this that you do! We'd all be lost without your efforts.
Thank you Blackbear199! Works perfectly
It does indeed work great - but now there are new channels and renamed channels here in Sydney (I wish these guys didn't mess around so much) and am trying to generate a channels file to reflect that. Not been able so far - have generated a Regions file and a Channels file that only shows the Foxtel channels but since I only use FTA that didn't help me much. Cannot figure out how to generate the FTA channels file - the logic in the section at the end of the .INI eludes me I'm afraid.
Any help?? What do I "unstar" to get it to generate the FTA channels file??
thnx
@Dennisdv You may have solved your issue already. If not, it sounds like you're not updating the region data in the ini file to reflect your region when it grabs the channel. You may have also forgotten to copy your region channels into the WebGrab++config.xml. Here are the full steps. If you already have your region data then step 1 can be missed.