jrhessey 20 Posted January 25, 2016 Share Posted January 25, 2016 I have a couple of media folders holding football and basketball games I've recorded. I recently came accross a metadata website for sports called http://thesportsdb.com. Would it be possible to add a field like the other metadata fields to pull information from that site to fill in fanart, description, dates, etc.? Ii'm not sure if it would require a new media "type" folder called sports, similar to tv and movies. I've linked a couple pages, the first is the API for returning information from the db. http://www.thesportsdb.com/forum/viewtopic.php?f=6&t=5 The second is example json (I believe) data http://www.thesportsdb.com/api/v1/json/1/searchteams.php?t=Cleveland%20Indians 11 3 Link to comment Share on other sites More sharing options...
Luke 37133 Posted January 25, 2016 Share Posted January 25, 2016 yes that's very interesting. didn't know about that. we'll have to look into it when we have a chance Link to comment Share on other sites More sharing options...
spootdev 56 Posted January 25, 2016 Share Posted January 25, 2016 Cool, thanks for pointing this out.....I'll have to add into my app. Link to comment Share on other sites More sharing options...
gurgle 0 Posted March 7, 2016 Share Posted March 7, 2016 FYI over in the Kodi forums they have a scraper up and running using thesportsdb. Would be great to see this in emby! Thanks. Link to comment Share on other sites More sharing options...
jerren 11 Posted March 7, 2018 Share Posted March 7, 2018 (edited) I know this is an old request but can't seem to find an option in emby or the plugins for it, so i'm wondering did it ever get implemented or is this still under consideration? Or did i totally miss it? Edited March 7, 2018 by jerren Link to comment Share on other sites More sharing options...
Luke 37133 Posted March 7, 2018 Share Posted March 7, 2018 It is still something we'd like to do. Link to comment Share on other sites More sharing options...
jachin99 82 Posted March 8, 2018 Share Posted March 8, 2018 (edited) I second this. The sportsdb developer is doing quite a bit of work to stand this up. Some Kodi add-ons that utilize it have come and gone but there hasen't been anyone who has ran with it. Edited March 8, 2018 by jachin99 Link to comment Share on other sites More sharing options...
Luke 37133 Posted March 8, 2018 Share Posted March 8, 2018 First we need to establish the folder structure for a sports library. is it more similar to movies or tv? Link to comment Share on other sites More sharing options...
Deathsquirrel 741 Posted March 8, 2018 Share Posted March 8, 2018 First we need to establish the folder structure for a sports library. is it more similar to movies or tv? The vast majority of sports are season-based so TV-like would make more sense assuming the source metadata supports that. Link to comment Share on other sites More sharing options...
jachin99 82 Posted March 9, 2018 Share Posted March 9, 2018 (edited) I'm actually asking docwra (Thesportdb.com developer) about this kind of thing right now on the Kodi forums. Here is some of what he has told me about the site. "Just do a search for his Add-ons as the youtube and RSS features of them can get you exactly what you want.For instance I used to look up my teams news, league status and youtube clips. I haven't looked at it in a while though as was too busy adding the actually sports metadata on the website which has advanced hugely in the last year or so in terms of content... Linksscript.screensaver.football.panel - Football/Soccer livescores and newsscript.matchcenter - Football/Soccer livescores and newsscript.module.thesportsdb - thesportsdb.com Kodi module (used to build other Add-ons)metadata.thesportsdb.com - A local media sports scraper for Kodi (imports as TVShows)script.sportscenter - A Kodi browser for thesportsdb website and its metadta (currently broken as it relied on older versions of Kodi's default theme)Other optionsservice.bbclivefootballscores - Live football scores from the BBC websiteplugin.program.fixtures - Sports fixtures from getyourfixtures.com I don't know exactly what he has but I can be a go between if you need someone to do a little work to make this happen. It sounds like the site is getting a lot of content but docwra needs people to maintain plugins that take advantage of thesportsdb. A few kodi addons have popped up here and there but none are maintained. I know the scripts are most likely python, and Emby is .net core but the content from the site should be consumable by just about anything if I'm not mistaken. Edited March 9, 2018 by jachin99 Link to comment Share on other sites More sharing options...
zag 4 Posted March 9, 2018 Share Posted March 9, 2018 (edited) First we need to establish the folder structure for a sports library. is it more similar to movies or tv? Thanks for the headsup about this thread, always willing to help if there is any motivation to build features from anyone In terms of naming and structure, I thought a lot about this already and the site should help a lot as it has a hierarchy of "leagues", "seasons" and "events" A typical event filename structure can be like this: <League>/<Season>/<League_Name>_<YYYYMMDD>_<Event_Name>.<ext> And can be looked up via all sorts of API searches, such as: Search for event by event name and season https://www.thesportsdb.com/api/v1/json/1/searchevents.php?e=Italian_Grand_Prix&s=2017 https://www.thesportsdb.com/api/v1/json/1/searchevents.php?e=Arsenal_vs_Chelsea&s=1617 https://www.thesportsdb.com/api/v1/json/1/searchevents.php?e=Vancouver_Canucks_@_Los_Angeles_Kings&s=1617 or Search for event by full event name and date https://www.thesportsdb.com/api/v1/json/1/searchevents.php?e=Vancouver_Canucks_@_Los_Angeles_Kings&d=2017-09-16 or Search for event by event file name https://www.thesportsdb.com/api/v1/json/1/searchfilename.php?e=Formula_1_2017-09-03_Italian_Grand_Prix Edited March 9, 2018 by zag Link to comment Share on other sites More sharing options...
Luke 37133 Posted March 9, 2018 Share Posted March 9, 2018 So it's basically a tv structure where leagues is equivalent to tv series and events are equivalent to episodes? Link to comment Share on other sites More sharing options...
jachin99 82 Posted March 10, 2018 Share Posted March 10, 2018 Some screenshots from the MediaPortal plugin:https://forum.team-mediaportal.com/threa...in.131737/ Link to comment Share on other sites More sharing options...
Luke 37133 Posted March 10, 2018 Share Posted March 10, 2018 Is it basically a tv structure where leagues is equivalent to tv series and events are equivalent to episodes? Link to comment Share on other sites More sharing options...
jachin99 82 Posted March 10, 2018 Share Posted March 10, 2018 I asked the same question in the Kodi thread so hopefully he sees it pretty soon Link to comment Share on other sites More sharing options...
Luke 37133 Posted March 10, 2018 Share Posted March 10, 2018 Ok. If yes then that would make things much easier. Link to comment Share on other sites More sharing options...
Sizzlebox 2 Posted March 10, 2018 Share Posted March 10, 2018 Is it basically a tv structure where leagues is equivalent to tv series and events are equivalent to episodes? That’s my understanding— and logical to me, and how I implement it (with metadata entered manually). Sent from my iPhone using Tapatalk Link to comment Share on other sites More sharing options...
zag 4 Posted March 11, 2018 Share Posted March 11, 2018 Actually what I forgot to mention is there is also the concept of "rounds" so for example motor-racing has round 1,2,3,4,5 etc in season "2018". Thats how the Kodi scraper worked. Its a bit of a square peg in a round hole, but it did work. Link to comment Share on other sites More sharing options...
Carlo 4330 Posted March 16, 2018 Share Posted March 16, 2018 Man I would love this beyond belief. I for example have every NFL game back from 2012 to present plus just about every Super Bowl. I've got similar for other sports as well. Link to comment Share on other sites More sharing options...
jachin99 82 Posted March 18, 2018 Share Posted March 18, 2018 @@Luke are you still waiting on a solid yes or no before you attempt to implement this or will you need more? Link to comment Share on other sites More sharing options...
Luke 37133 Posted March 18, 2018 Share Posted March 18, 2018 We have enough, thanks. Link to comment Share on other sites More sharing options...
Luke 37133 Posted March 19, 2018 Share Posted March 19, 2018 Can someone provide example folder structure? Link to comment Share on other sites More sharing options...
zag 4 Posted March 20, 2018 Share Posted March 20, 2018 (edited) This is an example library that the Kodi scraper guy used Personally I have my mine in this kind of format: C:/Motorsport/MotoGP/2018/MotoGP.2018-03-18.Grand.Prix.of.Qatar.mkv C:/Motorsport/MotoGP/2018/MotoGP.2018-07-01.Motul.TT.Assen.mkv C:/Motorsport/Formula E/1718/Formula.E.2018-03-03.Mexico.City.ePrix.mkv C:/Motorsport/Formula E/1718/Formula.E.2018-04-28.Paris.ePrix.mkv Basically exactly the same as the website is setup Edited March 20, 2018 by zag Link to comment Share on other sites More sharing options...
Luke 37133 Posted March 20, 2018 Share Posted March 20, 2018 Great, thanks. Link to comment Share on other sites More sharing options...
Sizzlebox 2 Posted March 20, 2018 Share Posted March 20, 2018 My UFC is very simple— UFC-> UFC 100.mkv or UFC 150 ABC vs XYZ.mp4 Other sports with seasons will of course have at least one additional folder later. (Sport->Season->match/game) Sent from my iPhone using Tapatalk Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now