• 1
  • 13
  • 14
  • 15(current)
  • 16
  • 17
  • 28
[UPDATED] BBC Live Football Scores service
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.
BBC Live Football Scores: Football scores notifications service.
script.squeezeinfo: shows what's playing on your Logitech Media Server
Reply
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
Reply
We're collecting rugby fixtures and results on thesportsdb which may make it easier for this (or another add-on)

http://www.thesportsdb.com/browse.php?s=Rugby
Reply
Martyn,

Base page would likely be this one: http://www.bbc.co.uk/sport/rugby-league/live-scores

However, as Zag says, thesportsdb is developing rapidly. My hope would be, once the site is sufficiently developed I (or someone else) will create a Live Scores service which covers all sports on thesportsdb.
BBC Live Football Scores: Football scores notifications service.
script.squeezeinfo: shows what's playing on your Logitech Media Server
Reply
(2015-03-18, 11:50)el_Paraguayo Wrote: Martyn,

Base page would likely be this one: http://www.bbc.co.uk/sport/rugby-league/live-scores

However, as Zag says, thesportsdb is developing rapidly. My hope would be, once the site is sufficiently developed I (or someone else) will create a Live Scores service which covers all sports on thesportsdb.

Yeah I had found that for the live scores but wasnt sure if it could be used as I noticed you was looking in a shared area which was a lot more basic. Also from here I wasnt sure if the below would work as there isnt a rugby league area.

# self.accordionlink = "http://polling.bbc.co.uk/sport/shared/football/accordion/partial/collated"

If this was sorted I believe it would pretty much work like football live scores.

As for the other site, there wasnt much info that I could see but I was looking on my iphone.

Thanks again
Reply
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.
BBC Live Football Scores: Football scores notifications service.
script.squeezeinfo: shows what's playing on your Logitech Media Server
Reply
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.
Reply
Unfortunately it didn't work tonight.

Ill try again over next couple of days as there are games on every day till Monday.

Thanks
Reply
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.
BBC Live Football Scores: Football scores notifications service.
script.squeezeinfo: shows what's playing on your Logitech Media Server
Reply
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
Reply
(2014-12-07, 20:23)el_Paraguayo Wrote: Yup. I've seen those too but thanks for reporting.

I've been working on the underlying module a fair bit (made quite a neat indicator for Ubuntu if anyone's interested...) and the error handling for no internet connection is next on my list.

Once that's done I'll try to push an update out.

Where can I find this Ubuntu indicator?
Reply
If I get the chance I'll put it all onto github soon.
BBC Live Football Scores: Football scores notifications service.
script.squeezeinfo: shows what's playing on your Logitech Media Server
Reply
(2015-05-21, 16:47)el_Paraguayo Wrote: If I get the chance I'll put it all onto github soon.

Thank you!
Reply
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
Reply
The leagues just have an ID. I save the list of these IDs as string (after JSON dumping) into the addon settings.

Have a look here:
https://github.com/elParaguayo/service.b...gs.py#L183
https://github.com/elParaguayo/service.b...gs.py#L196

However, this is only really used when kodi restarts or when the user wants to add/remove leagues. When the service is running the watched leagues are stored as class instances (https://github.com/elParaguayo/service.b...lt.py#L141) which then update as requested by the service.

If you have some specific code that you want me to look at then just send me a pm.
BBC Live Football Scores: Football scores notifications service.
script.squeezeinfo: shows what's playing on your Logitech Media Server
Reply
  • 1
  • 13
  • 14
  • 15(current)
  • 16
  • 17
  • 28

Logout Mark Read Team Forum Stats Members Help
[UPDATED] BBC Live Football Scores service3