# MLB.tv 2012 Plex Plugin

**URL:** <https://forums.plex.tv/t/mlb-tv-2012-plex-plugin/16067>\
**Category:** Dev/API Corner\
**Tags:** plugin-dev\
**Created:** [March 29, 2012, 11:34pm UTC](https://forums.plex.tv/t/mlb-tv-2012-plex-plugin/16067 "2012-03-29T23:34:27Z")\
**Posts on this page:** 4\
**Page:** 2

<div class="post-metadata">

**Author:** ![streammonkey](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/streammonkey/32/5894_2.png) [@streammonkey](https://forums.plex.tv/u/streammonkey)\
**Post date:** [May 8, 2013, 1:51am UTC](https://forums.plex.tv/t/mlb-tv-2012-plex-plugin/16067/21 "2013-05-08T01:51:46Z")

</div>

I'm looking at Beta 3 and I'll see if I can help contribute.&nbsp; Hopefully this is still being developed.&nbsp; Here are my results when selecting Today's Games using my Roku running the Plex client.&nbsp; I do have my correct credentials in the Plex client Preferences screen.&nbsp; **Games Loaded Here** section added to avoid adding all of the game loads.

2013-05-07 19:02:27,858 (ed0) :&nbsp; DEBUG (runtime:714) - Handling request GET /video/mlb/:/function/Scoreboard?function\_args=Y2VyZWFsMQozCmRpY3QKZGljdApGcmFtZXdvcmsub2JqZWN0cy5JdGVtSW5mb1JlY29yZAoyCnM0NApodHRwOi8vZ2R4Lm1sYi5jb20vY29tcG9uZW50cy9nYW1lL21sYi95ZWFyX3MzCnVybHIyCnM2CnNlbmRlcjUKczEzClRvZGF5J3MgR2FtZXNzOQppdGVtVGl0bGVzMjEKTWFqb3IgTGVhZ3VlIEJhc2ViYWxsczYKdGl0bGUxczQKTm9uZXM2CnRpdGxlMnM3MwovOi9wbHVnaW5zL2NvbS5wbGV4YXBwLnBsdWdpbnMubWxiL3Jlc291cmNlcy9hcnQtZGVmYXVsdC5qcGc%40dD0xMzY3OTc3MDUxczMKYXJ0czc0Ci86L3BsdWdpbnMvY29tLnBsZXhhcHAucGx1Z2lucy5tbGIvcmVzb3VyY2VzL2ljb24tZGVmYXVsdC5wbmc%40dD0xMzY3OTc3MDUxczUKdGh1bWJyMQpyMAo\_  
2013-05-07 19:02:27,888 (ed0) :&nbsp; DEBUG (runtime:811) - Found route matching /video/mlb/:/function/Scoreboard  
2013-05-07 19:02:27,888 (ed0) :&nbsp; DEBUG (runtime:143) - Calling function 'Scoreboard'  
2013-05-07 19:02:27,888 (ed0) :&nbsp; INFO (logkit:16) -   
2013-05-07 19:02:28,466 (ed0) :&nbsp; INFO (logkit:16) - Account Management - Login/Register | MLB.com: Account  
2013-05-07 19:02:28,466 (ed0) :&nbsp; INFO (logkit:16) - No Login Session - User has not yet logged-in  
2013-05-07 19:02:28,466 (ed0) :&nbsp; INFO (logkit:16) - 2013  
2013-05-07 19:02:28,482 (ed0) :&nbsp; INFO (logkit:16) - 05  
2013-05-07 19:02:28,482 (ed0) :&nbsp; INFO (logkit:16) - 07  
2013-05-07 19:02:28,482 (ed0) :&nbsp; WARNING (networkkit:212) - HTTP.GetCookiesForURL() is deprecated - please use HTTP.CookiesForURL() instead.  
2013-05-07 19:02:28,482 (ed0) :&nbsp; WARNING (networkkit:212) - HTTP.GetCookiesForURL() is deprecated - please use HTTP.CookiesForURL() instead.  
2013-05-07 19:02:28,482 (ed0) :&nbsp; INFO (logkit:16) - None

[**Games Loaded Here**]....

2013-05-07 19:02:28,482 (ed0) :&nbsp; INFO (logkit:16) - [http://mlb.mlb.com/gdcross/components/game/mlb/year\_2013/month\_05/day\_07/master\_scoreboard.json](http://mlb.mlb.com/gdcross/components/game/mlb/year_2013/month_05/day_07/master_scoreboard.json)  
2013-05-07 19:02:28,543 (ed0) :&nbsp; DEBUG (networking:167) - Fetching '[http://mlb.mlb.com/gdcross/components/game/mlb/year\_2013/month\_05/day\_07/master\_scoreboard.json](http://mlb.mlb.com/gdcross/components/game/mlb/year_2013/month_05/day_07/master_scoreboard.json)' from the HTTP cache  
2013-05-07 19:02:28,653 (ed0) :&nbsp; INFO (logkit:16) - Final  
2013-05-07 19:02:28,653 (ed0) :&nbsp; INFO (logkit:16) - Highlights  
2013-05-07 19:02:28,653 (ed0) :&nbsp; INFO (logkit:16) - DET Tigers @ WSH Nationals  
2013-05-07 19:02:28,653 (ed0) :&nbsp; INFO (logkit:16) - [http://mlb.mlb.com/shared/flash/mediaplayer/v4.3/R1/MP4.jsp?calendar\_event\_id=no-id&content\_id=&media\_id=&view\_key=&media\_type=video&source=MLB&sponsor=MLB&clickOrigin=&affiliateId=&team=mlb](http://mlb.mlb.com/shared/flash/mediaplayer/v4.3/R1/MP4.jsp?calendar_event_id=no-id&content_id=&media_id=&view_key=&media_type=video&source=MLB&sponsor=MLB&clickOrigin=&affiliateId=&team=mlb)  
2013-05-07 19:02:28,653 (ed0) :&nbsp; INFO (logkit:16) - Final  
2013-05-07 19:02:28,653 (ed0) :&nbsp; INFO (logkit:16) - Highlights

[**Games Loaded Here**]....

2013-05-07 19:02:28,700 (ed0) :&nbsp; DEBUG (runtime:911) - Response: [200] MediaContainer, 6822 bytes  
2013-05-07 19:02:28,980 (13c4) :&nbsp; DEBUG (runtime:714) - Handling request GET /video/mlb/:/function/Scoreboard  
2013-05-07 19:02:28,980 (13c4) :&nbsp; DEBUG (runtime:811) - Found route matching /video/mlb/:/function/Scoreboard  
2013-05-07 19:02:28,980 (13c4) :&nbsp; DEBUG (runtime:143) - Calling function 'Scoreboard'  
2013-05-07 19:02:28,980 (13c4) :&nbsp; CRITICAL (core:561) - Exception when calling function 'Scoreboard' (most recent call last):  
&nbsp; File "C:\Users\jbbbb\AppData\Local\Plex Media Server\Plug-ins\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\code\sandbox.py", line 294, in call\_named\_function  
&nbsp;&nbsp;&nbsp; result = f(\*args, \*\*kwargs)  
TypeError: Scoreboard() takes exactly 2 arguments (0 given)  
  
2013-05-07 19:02:28,980 (13c4) :&nbsp; DEBUG (runtime:911) - Response: [404] NoneType, 0 bytes  
2013-05-07 19:02:29,137 (9a4) :&nbsp; DEBUG (runtime:714) - Handling request GET /video/mlb/:/function/Scoreboard  
2013-05-07 19:02:29,137 (9a4) :&nbsp; DEBUG (runtime:811) - Found route matching /video/mlb/:/function/Scoreboard  
2013-05-07 19:02:29,137 (9a4) :&nbsp; DEBUG (runtime:143) - Calling function 'Scoreboard'  
2013-05-07 19:02:29,137 (9a4) :&nbsp; CRITICAL (core:561) - Exception when calling function 'Scoreboard' (most recent call last):  
&nbsp; File "C:\Users\jbbbb\AppData\Local\Plex Media Server\Plug-ins\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\code\sandbox.py", line 294, in call\_named\_function  
&nbsp;&nbsp;&nbsp; result = f(\*args, \*\*kwargs)  
TypeError: Scoreboard() takes exactly 2 arguments (0 given)  
  
2013-05-07 19:02:29,137 (9a4) :&nbsp; DEBUG (runtime:911) - Response: [404] NoneType, 0 bytes  
2013-05-07 19:02:29,184 (f8c) :&nbsp; DEBUG (runtime:714) - Handling request GET /video/mlb/:/function/Scoreboard  
2013-05-07 19:02:29,184 (f8c) :&nbsp; DEBUG (runtime:811) - Found route matching /video/mlb/:/function/Scoreboard  
2013-05-07 19:02:29,184 (f8c) :&nbsp; DEBUG (runtime:143) - Calling function 'Scoreboard'  
2013-05-07 19:02:29,198 (f8c) :&nbsp; CRITICAL (core:561) - Exception when calling function 'Scoreboard' (most recent call last):  
&nbsp; File "C:\Users\jbbbb\AppData\Local\Plex Media Server\Plug-ins\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\code\sandbox.py", line 294, in call\_named\_function  
&nbsp;&nbsp;&nbsp; result = f(\*args, \*\*kwargs)  
TypeError: Scoreboard() takes exactly 2 arguments (0 given)  
  
2013-05-07 19:02:29,198 (f8c) :&nbsp; DEBUG (runtime:911) - Response: [404] NoneType, 0 bytes  
2013-05-07 19:02:29,230 (11c0) :&nbsp; DEBUG (runtime:714) - Handling request GET /video/mlb/:/function/Scoreboard  
2013-05-07 19:02:29,230 (11c0) :&nbsp; DEBUG (runtime:811) - Found route matching /video/mlb/:/function/Scoreboard  
2013-05-07 19:02:29,230 (11c0) :&nbsp; DEBUG (runtime:143) - Calling function 'Scoreboard'  
2013-05-07 19:02:29,230 (11c0) :&nbsp; CRITICAL (core:561) - Exception when calling function 'Scoreboard' (most recent call last):  
&nbsp; File "C:\Users\jbbbb\AppData\Local\Plex Media Server\Plug-ins\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\code\sandbox.py", line 294, in call\_named\_function  
&nbsp;&nbsp;&nbsp; result = f(\*args, \*\*kwargs)  
TypeError: Scoreboard() takes exactly 2 arguments (0 given)  
  
2013-05-07 19:02:29,230 (11c0) :&nbsp; DEBUG (runtime:911) - Response: [404] NoneType, 0 bytes  
2013-05-07 19:02:29,246 (11c0) :&nbsp; CRITICAL (core:561) - Exception in thread named '\_handle\_request' (most recent call last):  
&nbsp; File "C:\Users\jbbbb\AppData\Local\Plex Media Server\Plug-ins\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\runtime.py", line 1113, in \_start\_thread  
&nbsp;&nbsp;&nbsp; f(\*args, \*\*kwargs)  
&nbsp; File "C:\Users\jbbbb\AppData\Local\Plex Media Server\Plug-ins\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\interfaces\socketinterface.py", line 110, in \_handle\_request  
&nbsp;&nbsp;&nbsp; self.finish()  
&nbsp; File "C:\Users\jbbbb\AppData\Local\Plex Media Server\Plug-ins\Framework.bundle\Contents\Resources\Platforms\Shared\Libraries ornado\web.py", line 565, in finish  
&nbsp;&nbsp;&nbsp; self.request.finish()  
&nbsp; File "C:\Users\jbbbb\AppData\Local\Plex Media Server\Plug-ins\Framework.bundle\Contents\Resources\Platforms\Shared\Libraries ornado\httpserver.py", line 435, in finish  
&nbsp;&nbsp;&nbsp; self.connection.finish()  
&nbsp; File "C:\Users\jbbbb\AppData\Local\Plex Media Server\Plug-ins\Framework.bundle\Contents\Resources\Platforms\Shared\Libraries ornado\httpserver.py", line 265, in finish  
&nbsp;&nbsp;&nbsp; self.\_finish\_request()  
&nbsp; File "C:\Users\jbbbb\AppData\Local\Plex Media Server\Plug-ins\Framework.bundle\Contents\Resources\Platforms\Shared\Libraries ornado\httpserver.py", line 275, in \_finish\_request  
&nbsp;&nbsp;&nbsp; connection\_header = self.\_request.headers.get("Connection")  
AttributeError: 'NoneType' object has no attribute 'headers'  
  
2013-05-07 19:02:29,339 (664) :&nbsp; DEBUG (runtime:714) - Handling request GET /video/mlb/:/function/Scoreboard  
2013-05-07 19:02:29,339 (664) :&nbsp; DEBUG (runtime:811) - Found route matching /video/mlb/:/function/Scoreboard  
2013-05-07 19:02:29,339 (664) :&nbsp; DEBUG (runtime:143) - Calling function 'Scoreboard'  
2013-05-07 19:02:29,355 (664) :&nbsp; CRITICAL (core:561) - Exception when calling function 'Scoreboard' (most recent call last):  
&nbsp; File "C:\Users\jbbbb\AppData\Local\Plex Media Server\Plug-ins\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\code\sandbox.py", line 294, in call\_named\_function  
&nbsp;&nbsp;&nbsp; result = f(\*args, \*\*kwargs)  
TypeError: Scoreboard() takes exactly 2 arguments (0 given)  
  
2013-05-07 19:02:29,355 (664) :&nbsp; DEBUG (runtime:911) - Response: [404] NoneType, 0 byte

**The following is reported when a game is selected**.

2013-05-07 19:09:42,502 (164c) :&nbsp; DEBUG (runtime:911) - Response: [404] NoneType, 0 bytes  
2013-05-07 19:09:42,923 (f98) :&nbsp; DEBUG (runtime:714) - Handling request GET /video/mlb/:/function/Scoreboard  
2013-05-07 19:09:42,923 (1494) :&nbsp; DEBUG (runtime:714) - Handling request GET /video/mlb/:/function/Scoreboard  
2013-05-07 19:09:42,923 (f98) :&nbsp; DEBUG (runtime:811) - Found route matching /video/mlb/:/function/Scoreboard  
2013-05-07 19:09:42,923 (1494) :&nbsp; DEBUG (runtime:811) - Found route matching /video/mlb/:/function/Scoreboard  
2013-05-07 19:09:42,923 (f98) :&nbsp; DEBUG (runtime:143) - Calling function 'Scoreboard'  
2013-05-07 19:09:42,923 (1494) :&nbsp; DEBUG (runtime:143) - Calling function 'Scoreboard'  
2013-05-07 19:09:42,923 (f98) :&nbsp; CRITICAL (core:561) - Exception when calling function 'Scoreboard' (most recent call last):  
&nbsp; File "C:\Users\jbbbb\AppData\Local\Plex Media Server\Plug-ins\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\code\sandbox.py", line 294, in call\_named\_function  
&nbsp;&nbsp;&nbsp; result = f(\*args, \*\*kwargs)  
TypeError: Scoreboard() takes exactly 2 arguments (0 given)  
  
2013-05-07 19:09:42,923 (1494) :&nbsp; CRITICAL (core:561) - Exception when calling function 'Scoreboard' (most recent call last):  
&nbsp; File "C:\Users\jbbbb\AppData\Local\Plex Media Server\Plug-ins\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\code\sandbox.py", line 294, in call\_named\_function  
&nbsp;&nbsp;&nbsp; result = f(\*args, \*\*kwargs)  
TypeError: Scoreboard() takes exactly 2 arguments (0 given)  
  
2013-05-07 19:09:42,923 (f98) :&nbsp; DEBUG (runtime:911) - Response: [404] NoneType, 0 bytes  
2013-05-07 19:09:42,923 (1494) :&nbsp; DEBUG (runtime:911) - Response: [404] NoneType, 0 bytes

---

<div class="post-metadata">

**Author:** ![xdarnold](https://avatars.discourse-cdn.com/v4/letter/x/858c86/32.png) [@xdarnold](https://forums.plex.tv/u/xdarnold)\
**Post date:** [September 18, 2013, 8:01pm UTC](https://forums.plex.tv/t/mlb-tv-2012-plex-plugin/16067/22 "2013-09-18T20:01:54Z")

</div>

Looks like this has been abandoned... but the XBMC version is currently working flawlessly and open-sourced. Anyone be able and willing to help us with an update?

[https://code.google.com/p/mlbmc-xbmc/](https://code.google.com/p/mlbmc-xbmc/)

---

<div class="post-metadata">

**Author:** ![zjpleau](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/zjpleau/32/4883_2.png) [@zjpleau](https://forums.plex.tv/u/zjpleau)\
**Post date:** [February 27, 2017, 11:15pm UTC](https://forums.plex.tv/t/mlb-tv-2012-plex-plugin/16067/23 "2017-02-27T23:15:33Z")

</div>

We realllllly need a Plex [MLB.tv](http://MLB.tv) plugin!

Mostly so I can run it on a remote server/VPS + stream to myself to get around the silly blackout restrictions.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [December 20, 2019, 9:46pm UTC](https://forums.plex.tv/t/mlb-tv-2012-plex-plugin/16067/24 "2019-12-20T21:46:45Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

[Previous page](https://forums.plex.tv/t/mlb-tv-2012-plex-plugin/16067.md?page=1)
