Posts: 1,109
Joined: Feb 2011
Reputation:
39
It would need quite a bit of work to add a new sport and I'm unlikely to have the time to do it at the moment. Sorry.
Posts: 6
Joined: Mar 2015
Reputation:
0
Hi
I understand completely as I know these things take a lot of time and effort.
Would you point me in the right direction for finding the rugby league fixtures on the shared site for bbc please ?
I will then try and change your coding to see if I can get it to work.
I will report back here if I am successful.
Thanks in advance
Martyn
Posts: 1,109
Joined: Feb 2011
Reputation:
39
Martyn,
I used the "accordion" in a earlier version for retrieving scores - you'll notice it's now commented out. However there are other pages on a shared area which are, indeed, far more basic. The idea is that the main BBC site calls these pages to populate pages when you click to expand detail. My script calls these pages directly (it's easy to generate the appropriate link) which returns a fairly light web page which is then simple to scrape.
I'm not sure the same functionality applies to Rugby League. From a quick look at the site, it looks like additional detail about scorers etc is provided by providing a link to the detailed match page.
Posts: 6
Joined: Mar 2015
Reputation:
0
Hi
Thanks for your quick response. I thought it was commented out but just double checking.
There is a live game on tonight in the championship. I will test it with some minor web changes for tonight and see how it goes.
I hope it works and I dont mind at all if GOAL flashes up for a TRY tonight. If I get that then I will be happy. Hopefully the converstion would pop up afterwards.
Thanks again and I will keep you up to date.
Posts: 6
Joined: Mar 2015
Reputation:
0
Unfortunately it didn't work tonight.
Ill try again over next couple of days as there are games on every day till Monday.
Thanks
Posts: 1,109
Joined: Feb 2011
Reputation:
39
Martyn,
I'm afraid the script is far more complicated than just changing the base link for the sport. That was never going to work. Sorry.
Posts: 6
Joined: Mar 2015
Reputation:
0
Hi el_Paraguayo
Thanks for the response. I was in no way trying to undermine your addon by trying to just change the links. I could see from the bbc pages that most of them dont exist for rugby league so that would not work.
I am currently just going to try and get the latest scores on to a page in an addon and then I will go from there.
I like you service idea as it means I would be updated when watching other things.
Thanks again for you help on the matter and good luck continuing a great addon/service.
Martyn
Posts: 1,109
Joined: Feb 2011
Reputation:
39
If I get the chance I'll put it all onto github soon.
Posts: 2,082
Joined: Nov 2012
Reputation:
178
enen92
Team-Kodi Member
Posts: 2,082
I need to have a look into bbc livescores code to see how exactly you are saving the information about the leagues that are being followed (if you can give me some info without spending time looking I'd appreciate it). I was thinking in grating a way to add leagues to bbc livescores and remove them using the interface of the addon I'm working on (through a function on the context menu of the league list). It has a lot of the main football leagues so, despite not replacing the configuration on this addon itself it might help