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 - Ruckus - 2016-08-17

something odd has happened on my libreelec.

This addon was working fine and now it doesnt. nothing really odd about that but now its not even in my list of installed addons and i've looked everywhere.

I ssh'd in to the box and deleted the folders .kodi/addons/ and userdata/addon_data and tried reinstalling from latest zip and still nothing. in fact now it only seems to be in .kodi/addons.

any ideas as to what happened?


RE: [WIP] BBC Live Football Scores service - el_Paraguayo - 2016-08-17

It's probably hiding in Orphaned Dependencies (I've got an open question on the forum about moving it out).

It should still be running though. When you say it's not working, what's wrong?


RE: [WIP] BBC Live Football Scores service - Ruckus - 2016-08-17

no scores popped up over the weekend from the EPL.

which is when i found out the addon didnt appear as i went to check the settings to make sure EPL was still checked (couldnt remember if i had messed with it over the summer break, Euros and Copa America)


RE: [WIP] BBC Live Football Scores service - el_Paraguayo - 2016-08-17

Does it appear in Orphaned Depencies? If so, can you disable and enable it again (to restart it) and see if you get get any "Script Failed" notifications. If you do, post the error from the logfile here.


RE: [WIP] BBC Live Football Scores service - el_Paraguayo - 2016-08-18

(2016-08-16, 21:29)DickoTheGeordie Wrote: Tbh tonight it's been spot on, using Championship and Champions League whilst comparing it with the LiveScore app to ensure the scorers are correct, 100% so far bud.

Only other thing I notice is missing in the competitions list are our domestic cups, EFL Cup/FA cup aren't in the list but are in the fixtures section. Would be great to see those included...although it probably won't matter when my Newcastle lot are dumped out by Cheltenham in a couple weeks haha!
Think I've fixed this one. If you want to test it, then you can do so by downloading this branch and trying it. NB you'd need to rename the folder after extracting it to "service.bbclivefootballscores".

Or, you could just edit one file: https://github.com/elParaguayo/service.bbclivefootballscores/blob/select_all_competitions/resources/lib/footballscores.py#L1282 and just change the "getAllLegaues" function to the one shown in the link.

I'm just working on handling the settings and then I'll push those as the next update but that may take a few days.


RE: [WIP] BBC Live Football Scores service - el_Paraguayo - 2016-08-18

(2016-08-17, 12:37)el_Paraguayo Wrote: That would be pretty awesome and also pretty funny when my script gets it wrong.

Might be slightly limited by the current skin's dialog format (not all skins show icons) but I wonder if I could design custom notifications...
Now I remember why I didn't do this before - custom notifications are giving me all sorts of grief. I've got some queries open with the gurus on the forum and we'll see if the issues can be overcome or not.


RE: [WIP] BBC Live Football Scores service - Ruckus - 2016-08-18

(2016-08-17, 15:14)el_Paraguayo Wrote: It's probably hiding in Orphaned Dependencies (I've got an open question on the forum about moving it out).

It should still be running though. When you say it's not working, what's wrong?

it was in the orphaned dependencies area and i uninstalled it from there and reinstalled with version0.4.0. and then configured it for EPL.

will check it out this weekend and let ya know.

thanks for your help Smile


RE: [WIP] BBC Live Football Scores service - DickoTheGeordie - 2016-08-18

(2016-08-18, 12:23)el_Paraguayo Wrote: Think I've fixed this one. If you want to test it, then you can do so by downloading this branch and trying it. NB you'd need to rename the folder after extracting it to "service.bbclivefootballscores".

Or, you could just edit one file: https://github.com/elParaguayo/service.bbclivefootballscores/blob/select_all_competitions/resources/lib/footballscores.py#L1282 and just change the "getAllLegaues" function to the one shown in the link.

I'm just working on handling the settings and then I'll push those as the next update but that may take a few days.

Tested and all perfect showing them all. No rush on settings handling, as I say it's only a minor blip with the yellow card notifications, only really a bother when running multiple comps.


RE: [WIP] BBC Live Football Scores service - el_Paraguayo - 2016-08-18

(2016-08-18, 12:25)el_Paraguayo Wrote:
(2016-08-17, 12:37)el_Paraguayo Wrote: That would be pretty awesome and also pretty funny when my script gets it wrong.

Might be slightly limited by the current skin's dialog format (not all skins show icons) but I wonder if I could design custom notifications...
Now I remember why I didn't do this before - custom notifications are giving me all sorts of grief. I've got some queries open with the gurus on the forum and we'll see if the issues can be overcome or not.
I may have found a way to do it!

It will mean a bit of work for the user and will mean the script will never get into the official repository but I can live with that!


RE: [WIP] BBC Live Football Scores service - Ruckus - 2016-08-19

gave an error when i reboot my box and here is the log for that section..

Code:
18:38:31  25.138714 T:1844442016   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.ValueError'>
                                            Error Contents: invalid literal for int() with base 10: ''
                                            Traceback (most recent call last):
                                              File "/storage/.kodi/addons/service.bbclivefootballscores/default.py", line 62, in <module>
                                                SHOW_BOOKINGS = int(_GET_("ShowBookings"))
                                            ValueError: invalid literal for int() with base 10: ''
                                            -->End of Python script error report<--



RE: [WIP] BBC Live Football Scores service - el_Paraguayo - 2016-08-19

Which version are you trying to run. This is meant to be fixed in latest version. If not, then default settings values don't work as I thought.

Go into settings and try toggling the show bookings and then restart kodi.


RE: [WIP] BBC Live Football Scores service - DickoTheGeordie - 2016-08-19

Current version works, I noticed an earlier post Ruckus where you mention having 0.4.0, current is 0.4.2 I believe.


RE: [WIP] BBC Live Football Scores service - DickoTheGeordie - 2016-08-19

(2016-08-18, 12:23)el_Paraguayo Wrote: Think I've fixed this one. If you want to test it, then you can do so by downloading this branch and trying it. NB you'd need to rename the folder after extracting it to "service.bbclivefootballscores".

Or, you could just edit one file: https://github.com/elParaguayo/service.bbclivefootballscores/blob/select_all_competitions/resources/lib/footballscores.py#L1282 and just change the "getAllLegaues" function to the one shown in the link.

I'm just working on handling the settings and then I'll push those as the next update but that may take a few days.

Ruckus, use the branch and rename the extracted folder as El P's quoted post indicates. I can confirm this one has had no script errors for me atm (Tested during Europa League yesterday). Only issue is the aforementioned settings error (yellow cards showing even when turned off) which is being worked on for a future update from El P.


RE: [WIP] BBC Live Football Scores service - el_Paraguayo - 2016-08-19

I'll make sure the next update implements some back-up error handling in case the default settings don't work properly, That should be easy enough to do.


RE: [WIP] BBC Live Football Scores service - Ruckus - 2016-08-19

many thanks guys, i will give this a go later Smile