Kodi Community Forum
[UPDATED] BBC Live Football Scores service - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Service Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=152)
+---- Thread: [UPDATED] BBC Live Football Scores service (/showthread.php?tid=196499)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28


RE: [WIP] BBC Live Football Scores service - TerrorKeed - 2015-01-10

Might I ask why you use a 2011 version of simplejson?
Code:
<import addon="script.module.simplejson" version="2.0.10" />

when the current one in the XBMC official repo is 3.3.0?

BTW, the addons is failing for me
script failed every 5mins i think it's not grabbing the scores hence the errors


RE: [WIP] BBC Live Football Scores service - patria o muerte - 2015-01-10

(2015-01-10, 14:24)el_Paraguayo Wrote: The league tables and match detail are triggered by sending the appropriate command - see post #1.

If you have any thoughts as to how you'd like them to work then let me know.

Hi,how can i do that?
thank you


RE: [WIP] BBC Live Football Scores service - el_Paraguayo - 2015-01-10

Old version is so service can run on machines running earlier versions of xbmc. If you've already got the earlier version then you don't need to upgrade for this script to work.

if you're getting errors, can you post the error message in the pogroms and I'll take a look.

(2015-01-10, 19:35)patria o muerte Wrote:
(2015-01-10, 14:24)el_Paraguayo Wrote: The league tables and match detail are triggered by sending the appropriate command - see post #1.

If you have any thoughts as to how you'd like them to work then let me know.

Hi,how can i do that?
thank you

You'd need to edit your keymap file.


RE: [WIP] BBC Live Football Scores service - patria o muerte - 2015-01-10

Hi,
where i can find that file?


RE: [WIP] BBC Live Football Scores service - TerrorKeed - 2015-01-10

(2015-01-10, 19:36)el_Paraguayo Wrote: Old version is so service can run on machines running earlier versions of xbmc. If you've already got the earlier version then you don't need to upgrade for this script to work.

if you're getting errors, can you post the error message in the pogroms and I'll take a look.

(2015-01-10, 19:35)patria o muerte Wrote:
(2015-01-10, 14:24)el_Paraguayo Wrote: The league tables and match detail are triggered by sending the appropriate command - see post #1.

If you have any thoughts as to how you'd like them to work then let me know.

Hi,how can i do that?
thank you

You'd need to edit your keymap file.
My fault, sort of i guess i added more than one league that's why it failed.
adding more than one causes a script failed seems i can only get premier league scores, is a fix planned?

Good job, BTWNodBig Grin


RE: [WIP] BBC Live Football Scores service - el_Paraguayo - 2015-01-10

(2015-01-10, 20:00)patria o muerte Wrote: Hi,
where i can find that file?

Ok. First off, what controller are you using? Are there any spare buttons? If the answer is "no" then this is no good.

(2015-01-10, 20:07)TerrorKeed Wrote:
(2015-01-10, 19:36)el_Paraguayo Wrote: Old version is so service can run on machines running earlier versions of xbmc. If you've already got the earlier version then you don't need to upgrade for this script to work.

if you're getting errors, can you post the error message in the pogroms and I'll take a look.

(2015-01-10, 19:35)patria o muerte Wrote: Hi,how can i do that?
thank you

You'd need to edit your keymap file.
My fault, sort of i guess i added more than one league that's why it failed.
adding more than one causes a script failed seems i can only get premier league scores, is a fix planned?

Good job, BTWNodBig Grin

Strange, a "fix" shouldn't be needed as that's the default behaviour. You should be able to follow as many leagues as you like.


RE: [WIP] BBC Live Football Scores service - TerrorKeed - 2015-01-10

Then how come mine is different? this is on a fresh install of XBMC with only BBC add-on installed in the services

"default" behavior how?

PHP Code:
19:15:37 T:2896   ERROREXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - 
NOTEIGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            
Error Type: <type 'exceptions.UnicodeEncodeError'>
                                            
Error Contents'ascii' codec can't encode character u'\xe1' in position 79: ordinal not in range(128)
                                            Traceback (most recent call last):
                                              File "C:\Users\Compaq\AppData\Roaming\XBMC\addons\service.bbclivefootballscores\default.py", line 247, in <module>
                                                matchdict = doUpdates(matchdict)
                                              File "C:\Users\Compaq\AppData\Roaming\XBMC\addons\service.bbclivefootballscores\default.py", line 211, in doUpdates
                                                debug(ticker)
                                              File "C:\Users\Compaq\AppData\Roaming\XBMC\addons\service.bbclivefootballscores\default.py", line 74, in debug
                                                xbmc.log(u"bbclivefootballscores: {0}".format(msg),xbmc.LOGDEBUG)
                                            UnicodeEncodeError: '
ascii' codec can't encode character u'\xe1' in position 79ordinal not in range(128)
                                            -->
End of Python script error report<-- 
That's with more than one league selected


RE: [WIP] BBC Live Football Scores service - TerrorKeed - 2015-01-10

full log: http://pastebin.com/SuAmSFKY

mind a look?


RE: [WIP] BBC Live Football Scores service - el_Paraguayo - 2015-01-10

"default" behaviour in that the script was designed with notifications for multiple leagues in mind.

The error has nothing to do with multiple leagues. There's one league that's got an accented character which is what's tripping it up.


RE: [WIP] BBC Live Football Scores service - TerrorKeed - 2015-01-10

yeah i thought as much.


RE: [WIP] BBC Live Football Scores service - el_Paraguayo - 2015-01-10

It's annoying as I've worked hard to sort out accented character stuff in this script. Funny thing is that it's the logging function that's tripping up here. I'll try to take a look a bit later.


RE: [WIP] BBC Live Football Scores service - TerrorKeed - 2015-01-10

I have major European leagues enabled, Premier league, French Ligue 1, German Bundesliga, Spanish La Liga and Champions League


RE: [WIP] BBC Live Football Scores service - el_Paraguayo - 2015-01-10

@TerrorKeed, can you try uninstalling the current version, downloading this one (https://github.com/elParaguayo/service.bbclivefootballscores/archive/unicodefix.zip) and letting me know if this works for you.

If it does, I'll merge it into the main branch.

I'd be particularly interested to know if it works when a match with an accent in sends a pop-up notification. Should do...


RE: [WIP] BBC Live Football Scores service - TerrorKeed - 2015-01-10

okay would do


RE: [WIP] BBC Live Football Scores service - patria o muerte - 2015-01-11

(2015-01-10, 20:09)el_Paraguayo Wrote: Ok. First off, what controller are you using? Are there any spare buttons? If the answer is "no" then this is no good.

I'm using a Measy rc11 airmouse.F1,F2 and F3 are unused.