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-05-28

sorry for the lack of news. Despite having a lot of new stuff on the addon (on github) I haven't pushed an update to the repository since I have an anoying bug on the addon service that would make your kodi unstable (and to refuse to close).
Let's see if I can fix this crap to push the update today Smile


RE: Unnamed/Sports Center - Sports for Kodi - enen92 - 2015-05-28

Ok guys, the update is here (sportscenter v.0.0.24 and script.module.thesportsdb v.0.0.15 - force refresh the repository to get them). What is included:

- Added results and map to eventdetails (usefull for motorsports). Golf is broken and need further work.
- Added a search function to the homemenu. You can now search for players, teams or events
- Added a dialog for player details similar to the one that existed before for team details
- Added instagram api to get the last photos published by players or teams (clicking on the photos is not working yet)
- Updated youtube api to v3 (clicking on the videos on player/team details dialog is not working yet)
- Both teamdetails and playerdetails now work similar to script.extended.info by phil. Players, results, instagram, youtube, etc will be shown upon click on the respective option.
- Redesigned the eventdetails dialog for soccer. The lineups/subs consist now of a panel you can click to search for the player. If several alternatives do exist a dialogselect is bumped for you to select the player, if it is a single result the player details dialog will be open. This is usefull to find out which are the players that play more for each team and define a priority when working on adding data to the database.
- Added a bultin keymap editor to map keys in the wizzard
- Added on-screen information dialog + service

As explained before the on-screen information is a dialog that presents information about the soccer match you're watching in kodi. It gets the pvr title and the pvr plot of the channel you are watching and tries to match it with livescores data coming from thesportsdb. It justs computes the similarity ratio between the data grabbed from the pvr information and the data coming from thesportsdb livescores. That being said, it might fail or detect the wrong match. Later I'll include a setting to define a minimum ratio to assume we've found the match.
It is only available for LIVE TV. For streams it is not implemented yet.

Even if this service fails to detect the match, two options will still be present on the dialog. One to enter a twitter hashtag to follow the match and an entry to the livescores dialog. So, even if the match is not detected or is wrongly detected you can click on the livescores, and then click on the respective game to find details/lineups.

If you want to try the on-screen information you'll need to repeat the wizzard configuration. Just go to the addon settings and enable "Run wizzard the next run" and re-enter the addon. The "wizzard" will ask you if you want to enable the on-screen information service and map a key on your remote/keyboard. You have 15 seconds to hit a key...basically the same as keymap editor by takoi (code re-used). Then restart kodi.

Hope you enjoy


RE: Unnamed/Sports Center - Sports for Kodi - zag - 2015-06-01

Any chance you can make this work with my skin?

http://forum.kodi.tv/showthread.php?tid=222436

Its Aeon Nox 5, just with a few livetv mods.


RE: Unnamed/Sports Center - Sports for Kodi - enen92 - 2015-06-01

Sure since it is for you. I think it's only a matter of copying the skin.aeon.nox.5 folder and rename it with the name of the skin.
I'll look into it tonight.


RE: Unnamed/Sports Center - Sports for Kodi - enen92 - 2015-06-01

Done, v.0.0.25:

-Support for aeon.nox.5 maniac mod
-Custom player (for youtube on player and team details)
-Instagram viewer (for players and team details)

Cheers

edit: sneak peak at instagram viewer:
Image


RE: Unnamed/Sports Center - Sports for Kodi - Lunatixz - 2015-06-01

Sweet!! Great work... Thanks Smile


RE: Unnamed/Sports Center - Sports for Kodi - Klynn - 2015-06-01

Is there any plans to make this work with Aeon MQ5 in the future? I saw a post on the front page of someone planning on porting it, but it's been silent since January, unfortunately.


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

(2015-06-01, 18:10)enen92 Wrote: Sure since it is for you. I think it's only a matter of copying the skin.aeon.nox.5 folder and rename it with the name of the skin.
I'll look into it tonight.

Thanks, I'll be able to test much more now I don't have to switch skins. Cheers!

Oh and.... Go Arsenal!


RE: Unnamed/Sports Center - Sports for Kodi - dman199219 - 2015-06-13

Hi

I came across this whilst trying to search for a motorsport related post and came across this which looks great.
I first tried adding the repo on the first page which did not work, from loading it on my pc it just has a addon.xml file?
I then tried it from github and pushed the zip file to my Fire stick which it comes up but then it says dependencies not met. I then googled and you said to try feedmepasser or similar which I had a look for to find it was already installed.
For my third attempt I tried putting in the url from github directly into add source which worked but ive gone to add source and the file just loads up with the two dots at the top.

Any help much appreciated as I have no idea where to turn next.


RE: Unnamed/Sports Center - Sports for Kodi - zag - 2015-06-13

Just a small bug I found, Formula 1 twitter does not show, when you click "News".

Not sure whats wrong as other sports seem to show up fine.

I've checked the twitter address has been put on thesportsdb, its https://twitter.com/f1

I posted some nice screenshots here http://forum.kodi.tv/showthread.php?tid=96518&pid=2027609#pid2027609


RE: Unnamed/Sports Center - Sports for Kodi - enen92 - 2015-06-13

@zag the news listitem/view is intended at parsing the RSS feed. I think I dont have any twitter entry at league level but should probably have it. I'll add it.

I really need to make the scrapper to have something usefull.


RE: Unnamed/Sports Center - Sports for Kodi - zag - 2015-06-13

Whoops of course it is.

My next question is, do we really need scraping?

Can't we just name the file as the event name?

Event Link = http://www.thesportsdb.com/event/447364
Event Name = Canadian Grand Prix 2015
Local File = \\NAS1\Sports\Canadian Grand Prix 2015.mkv

Then we could just set a local folder in the add-on settings and then link to any event from the event page.

Oh and notice we can now show full race results Wink


RE: Unnamed/Sports Center - Sports for Kodi - zag - 2015-06-13

Some small bugs

- Can't seem to re-enable "Enable Caching to imrpove speed" in settings after turning it off
- Still get black screen when I go to Football >> Premier League. Was working fine last night so not sure whats wrong, caching problem? All sub menu items seem to work from the Aeon menu.


RE: Unnamed/Sports Center - Sports for Kodi - enen92 - 2015-06-13

Caching is not implemented, it's there so that in the future we don't need to do so many requests for "live" data. The bug with the setting not changing is a bug in kodi I think, since the addon now has a service kodi needs to be restarted for the settings to reload (unless you disable the service and reboot it).

Premier league is working fine here, probably you could check the log and post the error?


RE: Unnamed/Sports Center - Sports for Kodi - enen92 - 2015-06-13

(2015-06-13, 12:05)zag Wrote: Whoops of course it is.

My next question is, do we really need scraping?

Can't we just name the file as the event name?

Event Link = http://www.thesportsdb.com/event/447364
Event Name = Canadian Grand Prix 2015
Local File = \\NAS1\Sports\Canadian Grand Prix 2015.mkv

Then we could just set a local folder in the add-on settings and then link to any event from the event page.

Oh and notice we can now show full race results Wink

Yes I'll probably focus on scrapping the events by id only for a first version.

As for the last part can you post an example? I think I've already implemented maps and results in the event details dialog:

Image
Image
Image
Image

Also notice that for soccer the details/line-ups are now clickable and link to player details:

Image
Image