[WIP] MLB.TV Boxee App port (developers needed!) - 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) +--- Thread: [WIP] MLB.TV Boxee App port (developers needed!) (/showthread.php?tid=97251) |
[WIP] MLB.TV Boxee App port (developers needed!) - theophile - 2011-03-19 6/28 UPDATE This project started as an attempt to port the Boxee app, but evolved into a new, native addon by divingmule based on mlbviewer. If you've come here because you want to watch baseball on XBMC, visit the MLBMC addon release thread here: http://forum.xbmc.org/showthread.php?tid=104391 The rest of this post remains for historical purposes, or in case anyone feels like continuing the task of porting the Boxee app. The discussion in this thread shifts to divingmule's addon beginning just before page 5. OUTDATED INFO BELOW ======================================================== Going out on a limb, here. Thanks to the excellent work of bartsidee, XBMC now has an mc module that greatly facilitates running Boxee apps in XBMC. So I've started trying to port the MLB.TV app to XBMC. The result is a video plugin that loads, but doesn't actually work (yet). I need some experienced plugin developers to take a look at this and tell me whether this project has any hope of success. I'm not a developer, just a fan, so I may already be in over my head. If you could take a look and reply with your thoughts, I'd really appreciate it. Thanks! Now on GitHub: https://github.com/theophile/plugin.video.mlbtv/ What Works:
What Doesn't:
TODO:
- theophile - 2011-03-19 Screenshots Development Version 0.2 main.py calendar.py standings.py - rbrohman - 2011-03-20 Great start - thanks for taking this on! I can't help with the coding, but if you setup a donation account I'll help with the beer. - theophile - 2011-03-20 Some code changes by bartsidee resulted in working buttons, for the most part. He has also shed some light on what must be done to get content to appear: bartsidee Wrote:Now the app hangs on this function: Is anyone willing to give this a shot? Alternately, if it's easier, it might be possible to avoid using the Boxee RSS entirely and use portions of mlbviewer to get schedule information. - divingmule - 2011-03-20 Hi, can you post a link or example of said rss file. - bartsidee - 2011-03-20 Infact the rss shouldn't be that hard to implent I think, unfortuatly i do not have that much time. You can find the specs here: http://developer.boxee.tv/RSS_Specification And have a look at a example here: http://developer.boxee.tv/LibraryExample The 'SetContentURL' functions should be added to the class Listmc in mc.py. See also: https://github.com/bartsidee/Bartsidee-Repository/blob/master/xbmc/com.bart.tv/resources/libs/mc.py#L281 - theophile - 2011-03-20 divingmule Wrote:Hi, can you post a link or example of said rss file. In addition to the examples posted above, the two referenced in mlb.py are these: rss://dir.boxee.tv/apps/mlb/feed/calendar rss://dir.boxee.tv/apps/mlb/feed/%Y/%m (where %Y is the 4-digit year and %m is the 2-digit month) As a side note, would it be easier/better if I set this project up on Google Code or Github? - divingmule - 2011-03-21 As I expected, this is mostly above my skill level. Usually for a plugin I would do something like this for the calendar rss.xml. Code: import urllib2,urllib Do we need to define all the elements from the Boxee RSS Specification? I may be more trouble than help - bartsidee - 2011-03-21 Correct should be something like that. For completion of the api , it would be nice if most of the specification is supported. But to get the app working you can probably do less. Code: <title>29</title> Title, link and discripton can be tackled with: Code: try: But the custom property tag is different. You have to get the value and the custom id tag. - jmarshall - 2011-03-22 I believe there may be some code in our rss directory reader to handle boxee rss feeds - possibly no help to you at the moment given that the vfs module isn't hooked up though. - divingmule - 2011-03-22 I'm not really sure about adding this to the api or the names I've chosen. Here is what I've done so far. Code: import urllib2,urllib Hope this helps. - luger - 2011-03-22 While I can't lend any expertise to this project, I'd definitely donate some money for coffee/beer as well to those who are working on it. - theophile - 2011-03-23 divingmule, that would be added to mc.py, correct? And I've now set up this project on GitHub. I've used 'git pull' countless times, but never 'git push,' so hopefully I'll be able to learn as we go. Looking forward to seeing some commit requests! - divingmule - 2011-03-23 Yeah, from what bartsidee posted earlier, under the 'class Listmc'. I'm guessing something like this. http://paste.ubuntu.com/584109/ - bartsidee - 2011-03-23 you have to make sure to pass the 'url' variable: Code: SetContentURL(url): |