Hi,
Not really the same thing as the MMA Browser, but I decided to have a crack at an MMA metadata agent.
metadata.mma.sherdog "MMA Sherdog Metadata"
Scraper Thread:
http://forum.xbmc.org/showthread.php?tid=162704
It searches/scrapes sherdog based on the file name and populates the event title, year, and cast (fighters). Also sets the plot to include the promotion, date, and list of fights (so slight spoiler for tournament events). Sets the Genre to "MMA Event"
This is very primitive but is my first crack at metadata agent. There is no artwork support (sherdog doesn't seem to have the posters) but I found sherdog's search much more accurate than themoviedb (which has artwork).
Basic testing gave correct matches with these filenames (you can use - or space, all -s are converted to spaces, I just dont like spaces in my filenames).
Code:
Bellator-90.mp4
Bellator-95.mp4
Invicta-5.avi
Pride-1.avi
Strikeforce Marquardt vs Saffiedine.mp4
Strikeforce Rousey vs Kaufman.mp4
UFC-138.avi
UFC-FOX-1.avi
UFC-FOX-4.avi
UFC-FUEL-3.mp4
UFC-FUEL-6.mp4
UFC-FX-4.mp4
UFC-FX-5.mp4
This one was incorrectly matched. 1st in the sherdog list was "Pride Bushido 7". But using the usual refresh option you can select "Pride 7" which was 2nd on the list.
This one was also incorrectly matched. Guess I need better filenaming for my UFC on Versus events.
Seems to work if I change the naming to UFC-LIVE-6
The scraper could easily be modified to also extract the sherdog event ID which could be useful in the original MMA browser and the JSON stuff mentioned above.
What I might do next (once again, just to suit my naming scheme)
- If I find "prelims" or "facebook" in the filenames I will not include those words in the search, but with then append to the title of the match. I like them as seperate files, not sure how to auto combine them, or how ot put options in a scraper.
- The Genre appears to be a list, so I'll also add the promotion as a genre so it can be searched for. Or maybe I should put the promotion in the directors or studios field
Other stuff:
- Artwork? themoviedb.org has it, but there search is very hit and miss for MMA events based on file name. But using the title + year may have more success.
- I don't actually like my MMA mixed in with movies. I have read there are smart playlists etc, but I's like a solution with no manual messing about. (I do like the "sections" in Plex). So I am toying with the idea of making all MMA events TV shows. TV seems more appropriate for sport in general. Guess I'd have the promotion as the show, and then just do seasons by calendar year. Getting the banners may suck...
This was as much for my own interest as anything. I might tinker with it over the next couple of weeks.
Edit: I have added the artwork. Created its own thread for it now:
http://forum.xbmc.org/showthread.php?tid=162704