[Kodi Add-on] TheSportsDB Kodi TV Scraper |
Posted: 25 Jan 2017 11:44 | |||
zag Posts: 3,527 Joined: 2020 | Author peter0123 Description This is a TV xml scraper that works with Kodi to scrape your sports events as TV shows. It works particularly well for things like UFC or Motor-racing. Download https://github.com/zag2me/metadata.thesportsdb.com/archive/master.zip Source https://github.com/zag2me/metadata.thesportsdb.com Example File Structure https://www.thesportsdb.com/Sports_fake_video_files.zip Screenshots | ||
Posted: 26 Feb 2017 10:59 | |||
zag Posts: 3,527 Joined: 2020 | Is anybody else having an issue scraping the cycling into kodi? I can't get any files in | ||
Posted: 26 Feb 2017 12:16 | |||
zag Posts: 3,527 Joined: 2020 | I've not tested it to be honest, will have a look later to see. | ||
Posted: 27 Feb 2017 06:11 | |||
zag Posts: 3,527 Joined: 2020 | Yeah cool. Let me know how it goes | ||
Posted: 20 Mar 2017 19:51 | |||
zag Posts: 3,527 Joined: 2020 | OK finally got round to testing this. Its working as it should for the TV scraper with the episode relating to the event "round". Folder name example So yes its working, but you need to edit the event to give it a "round" number. | ||
Posted: 04 Apr 2017 08:24 | |||
zag Posts: 3,527 Joined: 2020 | So yeah, cheers for getting it to work but this is defiantly a quick fix and this isn't a great way to work. But it will work for now until a different way can be done | ||
Posted: 14 Apr 2017 03:09 | |||
zag Posts: 3,527 Joined: 2020 | How do you get the individual race posters to appear for the races? I tried to manually set the artwork but nothing sticks. | ||
Posted: 16 Apr 2017 12:36 | |||
zag Posts: 3,527 Joined: 2020 | I don't think you can at the moment, it takes the race "thumb" currently. Its probably an easy change in the scraper code though, not sure how myself. | ||
Posted: 23 Mar 2018 04:13 | |||
zag Posts: 3,527 Joined: 2020 | Can't get the scraper to work using this folder Structure: Sports/Formula1/Formula1.2005/Formula1.Australian.Grand.Prix.2005/Formula1.Australian.Grand.Prix.2005.avi Using Kodi 17.6. | ||
Posted: 13 May 2019 12:07 | |||
zag Posts: 3,527 Joined: 2020 | Anyone have a link that still works? Would love to be able to clean up my F1 directory. | ||
Posted: 13 May 2019 14:17 | |||
zag Posts: 3,527 Joined: 2020 | Sure try here: https://github.com/zag2me/metadata.thesportsdb.com/ and forum thread on Kodi here: https://forum.kodi.tv/showthread.php?tid=256198 It should work well for F1 | ||
Posted: 13 May 2019 17:45 | |||
zag Posts: 3,527 Joined: 2020 | Sports/Formula1/Formula1.2005/Formula1.Australian.Grand.Prix.2005/Formula1.Australian.Grand.Prix.2005.avi Using Kodi 17.6. I think that there are to many folders. Try using: Sports/Formula1/2005/Formula_1_2015-03-15_Australian_Grand_Prix.avi | ||
Posted: 14 May 2019 08:29 | |||
zag Posts: 3,527 Joined: 2020 | Whoops my fault, copied the wrong link into the first post Here it is. https://github.com/zag2me/metadata.thesportsdb.com Also updated the Kodi thread | ||
Posted: 08 Jan 2020 14:06 | |||
zag Posts: 3,527 Joined: 2020 | Hi, I tried many different solutions and can't make it work. Please have a look at this pic: Why does it recognize the game: Atlanta Hawks vs Denver? The file name is: R:\Complete\Sports\NBA\S1920\NBA.2020-01-06.Dallas.Mavericks.vs.Chicago.Bulls.mkv | ||
Posted: 08 Jan 2020 15:43 | |||
zag Posts: 3,527 Joined: 2020 | Why does it recognize the game: Atlanta Hawks vs Denver? The file name is: R:\Complete\Sports\NBA\S1920\NBA.2020-01-06.Dallas.Mavericks.vs.Chicago.Bulls.mkv I don't think the scraper uses our filename conventions sadly, I did get it working once for team sports but tended to use it mostly for single events like WWE or F1 Racing for which it worked well. Have you tried the test fake library on the kodi wiki? Maybe that might give some hints. I seem to remember something about round being needed... https://kodi.wiki/view/Samples#Fake_Spo ... ow_library Let us know if you crack it, it was great having events in Kodi. | ||
Posted: 08 Jan 2020 19:27 | |||
zag Posts: 3,527 Joined: 2020 | Taking a crack at this again. No luck last few times. This is the content of folder I would like to display. \dvr\hockey\ 2019-10-03.NHL.New.York.Rangers.vs.Winnipeg.Jets.mpg 2019-10-05.Ottawa.Senators.vs.New.York.Rangers.mpg 2019-10-05.Ottawa.Senators.vs.New.York.Rangers.nfo 2019-10-05.Ottawa.Senators.vs.New.York.Rangers.srt 2019-10-12.NHL Hockey.Edmonton Oilers at New York Rangers.mpg 2019-10-12.NHL Hockey.Edmonton Oilers at New York Rangers.nfo 2019-10-12.NHL Hockey.Edmonton Oilers at New York Rangers.srt 2019-10-17.NHL Hockey - New York Rangers at New Jersey Devils.mpg 2019-10-17.NHL Hockey - New York Rangers at New Jersey Devils.nfo 2019-10-17.NHL Hockey - New York Rangers at New Jersey Devils.srt 2019-10-18.NHL Hockey - New York Rangers at Washington Capitals.mpg 2019-10-18.NHL Hockey - New York Rangers at Washington Capitals.nfo 2019-10-18.NHL Hockey - New York Rangers at Washington Capitals.srt 2019-10-20.NHL Hockey - Vancouver Canucks at New York Rangers.mpg 2019-10-20.NHL Hockey - Vancouver Canucks at New York Rangers.nfo 2019-10-20.NHL Hockey - Vancouver Canucks at New York Rangers.srt 2019-10-22.NHL Hockey - Arizona Coyotes at New York Rangers.mpg 2019-10-22.NHL Hockey - Arizona Coyotes at New York Rangers.nfo 2019-10-22.NHL Hockey - Arizona Coyotes at New York Rangers.srt 2019-10-24.NHL Hockey - Buffalo Sabres at New York Rangers.mpg 2019-10-24.NHL Hockey - Buffalo Sabres at New York Rangers.nfo 2019-10-24.NHL Hockey - Buffalo Sabres at New York Rangers.srt 2019-10-27.NHL Hockey - Boston Bruins at New York Rangers.mpg 2019-10-27.NHL Hockey - Boston Bruins at New York Rangers.nfo 2019-10-27.NHL Hockey - Boston Bruins at New York Rangers.srt 2019-10-29.NHL Hockey - Tampa Bay Lightning at New York Rangers.mpg 2019-10-29.NHL Hockey - Tampa Bay Lightning at New York Rangers.nfo 2019-10-29.NHL Hockey - Tampa Bay Lightning at New York Rangers.srt 2019-11-02.NHL Hockey - New York Rangers at Nashville Predators.mpg 2019-11-02.NHL Hockey - New York Rangers at Nashville Predators.nfo 2019-11-02.NHL Hockey - New York Rangers at Nashville Predators.srt 2019-11-04.NHL Hockey - Ottawa Senators at New York Rangers.mpg 2019-11-04.NHL Hockey - Ottawa Senators at New York Rangers.nfo 2019-11-04.NHL Hockey - Ottawa Senators at New York Rangers.srt 2019-11-07.NHL Hockey - Detroit Red Wings at New York Rangers.mpg 2019-11-07.NHL Hockey - Detroit Red Wings at New York Rangers.nfo 2019-11-07.NHL Hockey - Detroit Red Wings at New York Rangers.srt 2019-11-07.NHL Hockey - New York Rangers at Carolina Hurricanes.mpg 2019-11-07.NHL Hockey - New York Rangers at Carolina Hurricanes.nfo 2019-11-07.NHL Hockey - New York Rangers at Carolina Hurricanes.srt 2019-11-10.NHL Hockey - Florida Panthers at New York Rangers.mpg 2019-11-10.NHL Hockey - Florida Panthers at New York Rangers.nfo 2019-11-10.NHL Hockey - Florida Panthers at New York Rangers.srt 2019-11-13.NHL Hockey - Pittsburgh Penguins at New York Rangers.mpg 2019-11-13.NHL Hockey - Pittsburgh Penguins at New York Rangers.nfo 2019-11-13.NHL Hockey - Pittsburgh Penguins at New York Rangers.srt 2019-11-14.NHL Hockey.New York Rangers at Tampa Bay Lightning.mpg 2019-11-14.NHL Hockey.New York Rangers at Tampa Bay Lightning.nfo 2019-11-14.NHL Hockey.New York Rangers at Tampa Bay Lightning.srt 2019-11-16.NHL Hockey.New York Rangers at Florida Panthers.mpg 2019-11-16.NHL Hockey.New York Rangers at Florida Panthers.nfo 2019-11-16.NHL Hockey.New York Rangers at Florida Panthers.srt 2019-11-21.NHL Hockey.Washington Capitals at New York Rangers.mpg 2019-11-21.NHL Hockey.Washington Capitals at New York Rangers.nfo 2019-11-21.NHL Hockey.Washington Capitals at New York Rangers.srt 2019-11-23.NHL Hockey.New York Rangers at Montreal Canadiens.mpg 2019-11-23.NHL Hockey.New York Rangers at Montreal Canadiens.nfo 2019-11-23.NHL Hockey.New York Rangers at Montreal Canadiens.srt 2019-11-23.NHL Hockey.New York Rangers at Ottawa Senators.mpg 2019-11-23.NHL Hockey.New York Rangers at Ottawa Senators.nfo 2019-11-23.NHL Hockey.New York Rangers at Ottawa Senators.srt 2019-11-25.NHL Hockey.Minnesota Wild at New York Rangers.mpg 2019-11-25.NHL Hockey.Minnesota Wild at New York Rangers.nfo 2019-11-25.NHL Hockey.Minnesota Wild at New York Rangers.srt 2019-11-27.NHL Hockey.Carolina Hurricanes at New York Rangers.mpg 2019-11-27.NHL Hockey.Carolina Hurricanes at New York Rangers.nfo 2019-11-27.NHL Hockey.Carolina Hurricanes at New York Rangers.srt 2019-11-29.NHL Hockey.New York Rangers at Boston Bruins.mpg 2019-11-29.NHL Hockey.New York Rangers at Boston Bruins.nfo 2019-11-29.NHL Hockey.New York Rangers at Boston Bruins.srt 2019-11-30.NHL Hockey.New York Rangers at New Jersey Devils.mpg 2019-11-30.NHL Hockey.New York Rangers at New Jersey Devils.nfo 2019-11-30.NHL Hockey.New York Rangers at New Jersey Devils.srt 2019-12-02.NHL Hockey.Vegas Golden Knights at New York Rangers.mpg 2019-12-02.NHL Hockey.Vegas Golden Knights at New York Rangers.nfo 2019-12-02.NHL Hockey.Vegas Golden Knights at New York Rangers.srt 2019-12-03.NHL Hockey.Vegas Golden Knights at New York Rangers.mpg 2019-12-03.NHL Hockey.Vegas Golden Knights at New York Rangers.nfo 2019-12-03.NHL Hockey.Vegas Golden Knights at New York Rangers.srt 2019-12-05.NHL Hockey.New York Rangers at Columbus Blue Jackets.mpg 2019-12-05.NHL Hockey.New York Rangers at Columbus Blue Jackets.nfo 2019-12-05.NHL Hockey.New York Rangers at Columbus Blue Jackets.srt 2019-12-06.NHL Hockey.Montreal Canadiens at New York Rangers.mpg 2019-12-06.NHL Hockey.Montreal Canadiens at New York Rangers.nfo 2019-12-06.NHL Hockey.Montreal Canadiens at New York Rangers.srt 2019-12-08.NHL Hockey.New York Rangers at Vegas Golden Knights.mpg 2019-12-08.NHL Hockey.New York Rangers at Vegas Golden Knights.nfo 2019-12-08.NHL Hockey.New York Rangers at Vegas Golden Knights.srt 2019-12-11.NHL Hockey.New York Rangers at Los Angeles Kings.mpg 2019-12-11.NHL Hockey.New York Rangers at Los Angeles Kings.nfo 2019-12-11.NHL Hockey.New York Rangers at Los Angeles Kings.srt 2019-12-11.NHL Hockey.New York Rangers at Los Angeles Kings0.srt 2019-12-11.NHL Hockey.New York Rangers at Los Angeles Kings01.srt 2019-12-13.NHL Hockey.New York Rangers at San Jose Sharks.mpg 2019-12-13.NHL Hockey.New York Rangers at San Jose Sharks.nfo 2019-12-13.NHL Hockey.New York Rangers at San Jose Sharks.srt 2019-12-14.NHL Hockey.New York Rangers at Anaheim Ducks.mpg 2019-12-14.NHL Hockey.New York Rangers at Anaheim Ducks.nfo 2019-12-14.NHL Hockey.New York Rangers at Anaheim Ducks.srt 2019-12-16.NHL Hockey.Nashville Predators at New York Rangers.mpg 2019-12-16.NHL Hockey.Nashville Predators at New York Rangers.nfo 2019-12-16.NHL Hockey.Nashville Predators at New York Rangers.srt 2019-12-20.NHL Hockey.Toronto Maple Leafs at New York Rangers.mpg 2019-12-20.NHL Hockey.Toronto Maple Leafs at New York Rangers.nfo 2019-12-20.NHL Hockey.Toronto Maple Leafs at New York Rangers.srt 2019-12-21.NHL Hockey.Toronto Maple Leafs at New York Rangers.mpg 2019-12-21.NHL Hockey.Toronto Maple Leafs at New York Rangers.nfo 2019-12-21.NHL Hockey.Toronto Maple Leafs at New York Rangers.srt 2019-12-22.NHL Hockey.Anaheim Ducks at New York Rangers.mpg 2019-12-22.NHL Hockey.Anaheim Ducks at New York Rangers.nfo 2019-12-22.NHL Hockey.Anaheim Ducks at New York Rangers.srt 2019-12-23.NHL Hockey.New York Rangers at Philadelphia Flyers.mpg 2019-12-23.NHL Hockey.New York Rangers at Philadelphia Flyers.nfo 2019-12-23.NHL Hockey.New York Rangers at Philadelphia Flyers.srt 2019-12-27.NHL Hockey.Carolina Hurricanes at New York Rangers.mpg 2019-12-27.NHL Hockey.Carolina Hurricanes at New York Rangers.nfo 2019-12-27.NHL Hockey.Carolina Hurricanes at New York Rangers.srt 2019-12-28.NHL Hockey.New York Rangers at Toronto Maple Leafs.mpg 2019-12-28.NHL Hockey.New York Rangers at Toronto Maple Leafs.nfo 2019-12-28.NHL Hockey.New York Rangers at Toronto Maple Leafs.srt 2020-01-01.NHL Hockey.New York Rangers at Edmonton Oilers.mpg 2020-01-01.NHL Hockey.New York Rangers at Edmonton Oilers.nfo 2020-01-01.NHL Hockey.New York Rangers at Edmonton Oilers.srt 2020-01-03.NHL Hockey.New York Rangers at Calgary Flames.mpg 2020-01-03.NHL Hockey.New York Rangers at Calgary Flames.nfo 2020-01-03.NHL Hockey.New York Rangers at Calgary Flames.srt 2020-01-05.NHL Hockey.New York Rangers at Vancouver Canucks.mpg 2020-01-05.NHL Hockey.New York Rangers at Vancouver Canucks.nfo 2020-01-05.NHL Hockey.New York Rangers at Vancouver Canucks.srt 2020-01-08.NHL Hockey.Colorado Avalanche at New York Rangers.mpg 2020-01-08.NHL Hockey.Colorado Avalanche at New York Rangers.nfo 2020-01-08.NHL Hockey.Colorado Avalanche at New York Rangers.srt | ||
Posted: 08 Jan 2020 19:33 | |||
zag Posts: 3,527 Joined: 2020 | Try this file folder structure: \dvr\hockey\NHL\1920\ | ||
Posted: 08 Jan 2020 20:17 | |||
zag Posts: 3,527 Joined: 2020 | Yes also try with just one event as a test, thats how I got it working eventually. The fake test files should help work it out. One day I will add custom filenames here (it's on the todo list) but it will still need Kodi scraper support somehow. Perhaps the new Python scrapers will help? | ||
Posted: 08 Jan 2020 23:23 | |||
zag Posts: 3,527 Joined: 2020 | I decided to write a Python script that will process my file name, create the poster and nfo file. | ||
Posted: 09 Jan 2020 11:04 | |||
zag Posts: 3,527 Joined: 2020 | I decided to write a Python script that will process my file name, create the poster and nfo file. If you have any event posters please do upload them to the site, it only takes 1 person to create them and they can then be used going forward for all those events. | ||
Posted: 09 Jan 2020 11:54 | |||
zag Posts: 3,527 Joined: 2020 | If you have any event posters please do upload them to the site, it only takes 1 person to create them and they can then be used going forward for all those events. I made a script that recognize the teams from file name and than takes a background image, adds to it logos of those teams and saves a new poster. My goal is to have individual poster for each game with logos of teams that play the game. That makes it easier for me to find the game I'm looking for. I could do upload those but I'd have to do it each it each time manually. | ||
Posted: 09 Jan 2020 12:22 | |||
zag Posts: 3,527 Joined: 2020 | Manually to 1 event yes, but then that graphic can be used in subsequent seasons forever. Its very useful and many users to do this already on the site | ||
Posted: 09 Jan 2020 13:01 | |||
zag Posts: 3,527 Joined: 2020 | Manually to 1 event yes, but then that graphic can be used in subsequent seasons forever. Its very useful and many users to do this already on the site I like this project very much and I will try to contribute as you described. Thank you for your help and time. | ||
Posted: 11 Jan 2020 20:22 | |||
zag Posts: 3,527 Joined: 2020 | I made a script that recognize the teams from file name and than takes a background image, adds to it logos of those teams and saves a new poster. My goal is to have individual poster for each game with logos of teams that play the game. That makes it easier for me to find the game I'm looking for. I could do upload those but I'd have to do it each it each time manually. Is the script something you'd be willing to share? I've been trying to make something similar, but I keep having problems, being able to automate it would really speed up a lot of things. | ||
Posted: 12 Jan 2020 17:30 | |||
zag Posts: 3,527 Joined: 2020 | I've been trying to make something similar, but I keep having problems, being able to automate it would really speed up a lot of things. Sure, I'll come back with it when I'm done. It's going to recognize sport event out of the filename, rename it to the name TheSportsDB suggest, create poster, Kodi .nfo file and move the file to league folder. Let me know if you think something else might be useful when processing such files | ||
Who is Online? In total there are 68 users online :: 3 registered, 0 hidden and 65 guests (based on users active over the past 5 minutes) Most users ever online was 424 on Fri Nov 10, 2017 9:02 pm | About Us Discussion forum for TheSportsDB.com site and related topics | Rules - Be Polite - Respect other users - Always post log files with issues - Try to be helpful - No Piracy discussion |