You are here

radiotimes.com.ini updated

10 posts / 0 new
Last post
tnarraf
Offline
Donator
Joined: 4 years
Last seen: 2 years
radiotimes.com.ini updated

1) I have updated the radiotimes.com.ini file as the rating was not working - presumably due to a change in the site

I have included some lines that add the rating, productiondate and star rating to the end of the description
This is because I use it with MediaPortal which basically can only show this information in the description as the EPG does not show these separate items
The section is clearly commented so people can remove if they don't want that

I have updated the revision info at the top of the ini file
I think possibly the min sw version should be updated as it needed 2.1.5 to stop the connection error but was uncertain so left as is.

2) Also attached is an updated channels list which has changed slightly since the one included in the pack
The channels list from the radiotimes is a little unhelpful as it has multiple regions called the same thing
ie BBC One appears multiple times and it is not clear which is BBC One North West , BBC One North East etc
I had to go into the source of what it returned to identify the region manually

See index link below
https://immediate-prod.apigee.net/broadcast/v1/schedulesettings?media=tv...
I suspect the index scrubbing needs additional work to provide a region with the channel name but I have not attempted this with my limited knowledge of webgrabber

Happy to have comments on my updates and to have it included in the sitepack

This was done with version V2.1.5
And started from sitepack 2018.06.20_130845
Working on Windows 10

Kingmadee
Offline
Donator
Joined: 2 years
Last seen: 1 year
tnarraf wrote:

1) I have updated the radiotimes.com.ini file as the rating was not working - presumably due to a change in the site
I have included some lines that add the rating, productiondate and star rating to the end of the description
This is because I use it with MediaPortal which basically can only show this information in the description as the EPG does not show these separate items
The section is clearly commented so people can remove if they don't want that
I have updated the revision info at the top of the ini file
I think possibly the min sw version should be updated as it needed 2.1.5 to stop the connection error but was uncertain so left as is.
2) Also attached is an updated channels list which has changed slightly since the one included in the pack
The channels list from the radiotimes is a little unhelpful as it has multiple regions called the same thing
ie BBC One appears multiple times and it is not clear which is BBC One North West , BBC One North East etc
I had to go into the source of what it returned to identify the region manually
See index link below
https://immediate-prod.apigee.net/broadcast/v1/schedulesettings?media=tv...
I suspect the index scrubbing needs additional work to provide a region with the channel name but I have not attempted this with my limited knowledge of webgrabber
Happy to have comments on my updates and to have it included in the sitepack
This was done with version V2.1.5
And started from sitepack 2018.06.20_130845
Working on Windows 10

I am on linux Ubuntu 18 and get a authorization error with this?

tnarraf
Offline
Donator
Joined: 4 years
Last seen: 2 years

Are you running v2.1 - I had a security connection error which when I searched the forum was fixed with the 2.1.5 beta version
Given the nature of the error (which I can't remember exactly) it is likely it will affect different OS versions

If that is not it - can you detail the exact text of the authorisation and then someone may be able to help
There is a post about issues with Ubuntu and 2.1.5
http://webgrabplus.com/content/trying-upgrade-215-ubuntu-1604

See this article I found about the error I had
http://webgrabplus.com/content/radio-times-uk-no-index

Kingmadee
Offline
Donator
Joined: 2 years
Last seen: 1 year

Thank you this was the issue,all working perfect now.

tnarraf
Offline
Donator
Joined: 4 years
Last seen: 2 years

I have found an issue with the Episode scrub an would appreciate some help.
The current Radiotimes index page shows only the Episode number of Number of Episodes but incorrectly scrapes this as E1/S1. That is easy to fix as 'E1'/'Et1' but means no series is scrubbed
The series number is in a URL to the detail page but the format is inconsistent (see below) so I don't think it is sensible to get from this (see attachement Case 1 - could not include inline as html tags not good in the comments !)

The detail page has the Series, Episode and Episode Number of Number of Episodes but I am struggling how to get it extracted

See Case 2 in the attachment
But sometimes the b class ... subtitle name /b is not present

Can anyone suggest how to scrub the Series and Episode number please
Ideally can you add the Number of episodes that appears elsewhere on the page
see https://www.radiotimes.com/tv-programme/e/fnq7b5/escape-to-the-country--...

Thanks
These are based from the radiotimes.com_ini file included on the first post

tnarraf
Offline
Donator
Joined: 4 years
Last seen: 2 years

I have donated anyway so should get my badge soon and get access to see what you have done.
Think I had in the past - but happy to contribute a small amount each year

kroken
Offline
Donator
Joined: 3 years
Last seen: 15 hours

ini needs update, getting this

[Error ] Unable to update channel ITV Ulster: UTV
[Critical] Generic syntax exception:
[Critical] message:
[Error ] Current culture: en-GB
[Error ] time parsing error : String was not recognized as a valid DateTime.
[Error ] nextstartdatetime time scrubbed :
[Error ] computer date/time format: 17/10/2018 21:40:22
[ Info ] Existing guide data restored!

tnarraf
Offline
Donator
Joined: 4 years
Last seen: 2 years

Kroken

Checked my logs and I am getting the same. I was using a revised ini from Blackbear so obviously a common issue

Blackbear I am using the ini file from yourself @Revision 20 (from donator link http://www.webgrabplus.com/content/radiotimesuk) not the latest in the siteini pack so I have included the logfile but not the radiotimes.com.ini

Can you help

tnarraf

Attachments: 
tnarraf
Offline
Donator
Joined: 4 years
Last seen: 2 years

Not sure why yet but comment out the line (by putting * in front )

index_stop.scrub {regex debug||"EndTimeMF":"(\d{4}-\d{1,2}-\d{1,2} \d{2}:\d{2}:00)Z","||}

And it seems to be working - run out of time tonight to work out why !

jenseneverest
Offline
Joined: 4 years
Last seen: 6 months

donated again

Log in or register to post comments

Brought to you by Jan van Straaten

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