Kodi Community Forum
WIP Unnamed/Sports Center - Sports for Kodi - 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: Program Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=151)
+---- Thread: WIP Unnamed/Sports Center - Sports for Kodi (/showthread.php?tid=216044)

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


RE: Unnamed/Sports Center - Sports for Kodi - enen92 - 2015-02-10

There are new sports in the db and I haven't noticed Smile Nice

Image

Image


RE: Unnamed/Sports Center - Sports for Kodi - enen92 - 2015-02-11

So here is the new version:

https://dl.dropboxusercontent.com/u/18776566/sportscenter/script.module.thesportsdb-0.0.2.zip

https://dl.dropboxusercontent.com/u/18776566/sportscenter/script.sportscenter-0.0.05.zip

You need to install both (sportscenter and module.thesportsdb).

Changelog:

-Fixed a few issues
-Added navigation to leagues

Notes:
-League tables are not available in the db so, not implemented.
-News feeds are not available in the db so, it's a fixed view.
-Video section is listing the nba channel for every single league since users haven't yet filled the youtube channel of each league.
-League navigation is only available for Nox and Mimic. I'll port it now to confluence.

Cheers and hope u enjoy


RE: Unnamed/Sports Center - Sports for Kodi - Laser78 - 2015-02-11

wow!

I'll try that great news Enen Smile


RE: Unnamed/Sports Center - Sports for Kodi - Laser78 - 2015-02-11

I see that still need to finish ...

Enen if you want help, I volunteer to translate the texts into Spanish.


RE: Unnamed/Sports Center - Sports for Kodi - zag - 2015-02-11

Any particular format you would like the league tables in mate?


RE: Unnamed/Sports Center - Sports for Kodi - bry - 2015-02-11

@enen92 - looks awesome! One question - is it possible to follow a certain team/division/league to receive only the updates that one may be interested in?


RE: Unnamed/Sports Center - Sports for Kodi - enen92 - 2015-02-11

(2015-02-11, 17:46)bry- Wrote: @enen92 - looks awesome! One question - is it possible to follow a certain team/division/league to receive only the updates that one may be interested in?

It's planed to have a favourites entry in the menu that will list only teams and leagues you follow and also to hide leagues/sports you don't follow from the listings. For instance, I don't want to follow: poland, norway, ukrania, china, australia, etc Smile But that requires to build a context menu so I'll add this later.


RE: Unnamed/Sports Center - Sports for Kodi - enen92 - 2015-02-11

(2015-02-11, 17:10)Laser78 Wrote: I see that still need to finish ...

Enen if you want help, I volunteer to translate the texts into Spanish.

Thanks, translations are not yet available but are pretty easy to make. I'll try to use the new strings.po format since strings.xml is now deprecated.

Note that appart from finishing the code and the dialogs most of the work on this is on the db side. We need high quality artwork, info, fixtures/events. Check the database at www.thesportsdb.com.

In fact I think ovokx has already filled lot of stuff in spanish there.

It might be a good idea for you to post the news (not this addon but the existing database) on your blog to inspirate people to contribute. I'll try to keep adding stuff but it's a waste of effort from my side. Most of the stuff is wikipedia and links.


RE: Unnamed/Sports Center - Sports for Kodi - enen92 - 2015-02-11

(2015-02-11, 17:33)zag Wrote: Any particular format you would like the league tables in mate?

If you can pull this data: http://web.ist.utl.pt/~ist157804/zag/ptprimliga/tables.csv it would be cool (points, games played/wins/losts/draws/Goals scored/goals conceeded/goal difference).

Return a list containing dictionaries for each team ordered by position/points from the higher to the lower. each team dictionary should have:

-teamid
-teamname
-points
-# games played
-Losts
-wins
-draws
-goals scored
-goals conceeded
-goal difference

Something like:

: [{teamid:452345435,teamname:Chelsea, points: 32, ...},{teamid: 23123,teamname: Mancity, points:20,...}]


RE: Unnamed/Sports Center - Sports for Kodi - enen92 - 2015-02-11

Something I forgot to implement: set hometeam stadium as fanart if you navigate through last and next matches. It's now on the current version in github:

Image

Image

This is usefull to check if the stadium fanart has quality enough. There are a lot of really crappy stadium thumbs, like below:

Image


RE: Unnamed/Sports Center - Sports for Kodi - zag - 2015-02-11

I'm getting a blank page when I click on a league, is that supposed to be happening?

Using Aeon nox 5


RE: Unnamed/Sports Center - Sports for Kodi - enen92 - 2015-02-11

(2015-02-11, 20:20)zag Wrote: I'm getting a blank page when I click on a league, is that supposed to be happening?

Using Aeon nox 5

Nop it's supposed to navigate to league view /league plotview by default. Probably a bad installation.
I'll create a repo tonight to make this easier. Also I'm shipping a fanart per sport which makes the addon zip huge in size


RE: Unnamed/Sports Center - Sports for Kodi - Laser78 - 2015-02-11

of course, I will comment on my website

thanks


RE: Unnamed/Sports Center - Sports for Kodi - enen92 - 2015-02-12

(2015-02-11, 21:08)enen92 Wrote:
(2015-02-11, 20:20)zag Wrote: I'm getting a blank page when I click on a league, is that supposed to be happening?

Using Aeon nox 5

Nop it's supposed to navigate to league view /league plotview by default. Probably a bad installation.
I'll create a repo tonight to make this easier. Also I'm shipping a fanart per sport which makes the addon zip huge in size

Here is the repository I'll use until this is finished:

https://kodisportscenter.googlecode.com/svn/trunk/repository.sportscenter.xbmc/repository.sportscenter.xbmc-1.0.0.zip

I'll push updates there often but not so often as github

Cheers


RE: Unnamed/Sports Center - Sports for Kodi - zag - 2015-02-12

Hmm just tried a totally clean install and I still can't get past the football league screen.

I click on the Premier League badge, and it takes me to the programs >> add-ons kodi menu Smile