[RELEASE] BBC Live Football Scores - Printable Version
+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27)
+---- Forum: Video Add-ons (/forumdisplay.php?fid=154)
+---- Thread: [RELEASE] BBC Live Football Scores (/showthread.php?tid=107795)
[RELEASE] BBC Live Football Scores - el_Paraguayo - 2011-08-15 20:31
I've pulled together a small script to display live football scores and thought I'd share it with the wider community.
Name: BBC Football Scores
What it does: Grabs live football score data from the BBC website and displays pop-ups at regular intervals.
Can be configured to just show updates when scores change or when game state changes (e.g. half time, full time etc). NB these updates still only occur at user defined intervals i.e. they're not real time updates.
The BBC data seems to show info on English/Scottish leagues, Champions League, UEFA Cup, Internationals (including Euro 2012 qualifiers).
What it doesn't do: Other sport. This is just for football. And by football, I mean football where people kick the ball around with their feet.
It's a really basic script (the second I've ever written) but it seems to work for me. Please note, there will be bugs in this script.
You can report bugs to me but I'm unlikely to be fixing them quickly - unless they're massive and spoil my personal enjoyment of the script.
- el_Paraguayo - 2011-08-15 20:34
-Select favourite team(s) -> notification filter
- dahlSTROM - 2011-08-15 20:57
- el_Paraguayo - 2011-08-16 00:38
Slightly embarassing - minor bug fixed.
(Still working out how to use git - one update wasn't included).
- cifa - 2011-08-16 10:45
thanks for this. will check it out.
- GregKael - 2011-08-16 15:53
This is great I've been looking for an RSS feed to use but not found a decent one.
Does the scrip run on startup of XBMC or do you need to start the script each time?
Also does it only pick up competitions that have matches when the script starts? As there was only Premier League listed when I checked it last night.
- el_Paraguayo - 2011-08-16 16:16
Currently it doesn't run at startup. I was trying to keep it fairly unobtrusive and only run when requested by the user.
It only displays the lists of matches that are scheduled for the day as that's all the BBC live feed shows. However, once you select a league (it gets starred) it's added to your watched leages list, so next time there's a Premier League match (for example) then that league will already be starred.
I'm keen to listen to any suggestions for improvements so have a go and let me know what you think.
- GregKael - 2011-08-16 17:52
Ah ok once they are added it's permanent. That's cool would be a bit annoying if you had to select them each time.
Having the competions permanantly listed in the settings would make things more obvious to new users, especially if there are no matches on the day when they install and set it up.
The only other improvement I can think of right now is the option to have it run at startup but that's mainly because I keep my UI tidy by hiding the Addons menu, making me likely to forget to start it. (although I can probably fudge something in my autoexec without any changes being made)
I'll be away this weekend so won't really be using it fully until the weekend after, but if there's anything I can think of I'll drop a note in here.
- el_Paraguayo - 2011-08-16 20:19
GregKael Wrote:Having the competions permanantly listed in the settings would make things more obvious to new users, especially if there are no matches on the day when they install and set it up.
Listing the competitions is tricky: the data feed I pick up only lists the day's games. Each competition has a specific ID which is what the script uses. However, I don't know a way to query the BBC site to get the full list of competitions (not saying it can't be done though).
I'll have a think about if/how it could be made to work as a service.
- el_Paraguayo - 2012-02-05 11:21
Ugly hack added to script to handle changes to BBC website feed.