RE: [Release] MLBMC - a Major League Baseball (video) add-on - sdsnyr94 - 2012-05-30
(2012-05-30, 13:20)divingmule Wrote: Hmm... It should be the same path you see set in the add-on settings. Maybe an Openelec thing, I tested this in ubuntu and didn't have any trouble.
Weird as it was, it did not show up when I mapped it again.
I tried setting the temp folder to an NFS network share (through XBMC)... plugin would not even start, so it looks like your temp file will have to be a local location.
RE: [Release] MLBMC - a Major League Baseball (video) add-on - divingmule - 2012-05-30
(2012-05-30, 15:42)sdsnyr94 Wrote: I tried setting the temp folder to an NFS network share (through XBMC)... plugin would not even start, so it looks like your temp file will have to be a local location.
Yeah, that would be too easy did you make sure it was mounted
RE: [Release] MLBMC - a Major League Baseball (video) add-on - sdsnyr94 - 2012-05-30
(2012-05-30, 15:51)divingmule Wrote: (2012-05-30, 15:42)sdsnyr94 Wrote: I tried setting the temp folder to an NFS network share (through XBMC)... plugin would not even start, so it looks like your temp file will have to be a local location.
Yeah, that would be too easy did you make sure it was mounted
I believe that Openelec removed all "mounting" options, since XBMC now supports NFS and SMB natively. I will try it from an Ubuntu PC to a mounted drive later tonight, just to see if it does work and how performance is.... you would be pulling data to your machine --> to network share --> back to your machine for playback... that's a lot of overhead
RE: [Release] MLBMC - a Major League Baseball (video) add-on - Baryho - 2012-05-30
Hi,
I am trying to play for example Yesterday's games with my account (not premium). Plugin says error and this is in log file:
Code: 19:27:52 T:2784 NOTICE: -----------------------------------------------------------------------
19:27:52 T:2784 NOTICE: Starting XBMC (11.0 Git:20120321-14feb09), Platform: Windows 7, 32-bit Service Pack 1 build 7601. Built on Mar 21 2012 (compiler 1600)
19:27:52 T:2784 NOTICE: Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz
19:27:52 T:2784 NOTICE: Desktop Resolution: 1440x900 16Bit at 60Hz
19:27:52 T:2784 NOTICE: Running with restricted rights
19:27:52 T:2784 NOTICE: Aero is disabled
19:27:52 T:2784 NOTICE: special://xbmc/ is mapped to: C:\Program Files\XBMC
19:27:52 T:2784 NOTICE: special://xbmcbin/ is mapped to: C:\Program Files\XBMC
19:27:52 T:2784 NOTICE: special://masterprofile/ is mapped to: C:\Users\Baryho\AppData\Roaming\XBMC\userdata
19:27:52 T:2784 NOTICE: special://home/ is mapped to: C:\Users\Baryho\AppData\Roaming\XBMC\
19:27:52 T:2784 NOTICE: special://temp/ is mapped to: C:\Users\Baryho\AppData\Roaming\XBMC\cache
19:27:52 T:2784 NOTICE: The executable running is: C:\Program Files\XBMC\XBMC.exe
19:27:52 T:2784 NOTICE: Local hostname: Baryho-PC
19:27:52 T:2784 NOTICE: Log File is located: C:\Users\Baryho\AppData\Roaming\XBMC\xbmc.log
19:27:52 T:2784 NOTICE: -----------------------------------------------------------------------
19:27:52 T:2784 NOTICE: Setup SDL
19:27:52 T:2784 NOTICE: Found screen: Generic PnP Monitor on NVIDIA GeForce 8400M GS , adapter 0.
19:27:52 T:2784 NOTICE: Primary mode: 1440x900 @ 60.00 - Full Screen
19:27:52 T:2784 NOTICE: Additional mode: 640x480 @ 60.00 - Full Screen
19:27:52 T:2784 NOTICE: Previous line repeats 2 times.
19:27:52 T:2784 NOTICE: Additional mode: 720x480 @ 60.00 - Full Screen
19:27:52 T:2784 NOTICE: Previous line repeats 2 times.
19:27:52 T:2784 NOTICE: Additional mode: 720x576 @ 60.00 - Full Screen
19:27:52 T:2784 NOTICE: Previous line repeats 2 times.
19:27:52 T:2784 NOTICE: Additional mode: 800x600 @ 60.00 - Full Screen
19:27:52 T:2784 NOTICE: Previous line repeats 2 times.
19:27:52 T:2784 NOTICE: Additional mode: 1024x768 @ 60.00 - Full Screen
19:27:52 T:2784 NOTICE: Previous line repeats 2 times.
19:27:52 T:2784 NOTICE: Additional mode: 1280x720 @ 60.00 - Full Screen
19:27:52 T:2784 NOTICE: Previous line repeats 2 times.
19:27:52 T:2784 NOTICE: Additional mode: 1280x800 @ 60.00 - Full Screen
19:27:52 T:2784 NOTICE: Previous line repeats 2 times.
19:27:52 T:2784 NOTICE: Additional mode: 1440x900 @ 60.00 - Full Screen
19:27:52 T:2784 NOTICE: load settings...
19:27:52 T:2784 NOTICE: special://profile/ is mapped to: special://masterprofile/
19:27:52 T:2784 NOTICE: loading special://masterprofile/guisettings.xml
19:27:52 T:2784 NOTICE: Getting hardware information now...
19:27:52 T:2784 NOTICE: Checking resolution 12
19:27:52 T:2784 NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
19:27:52 T:2784 NOTICE: Loaded playercorefactory configuration
19:27:52 T:2784 NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
19:27:52 T:2784 NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
19:27:52 T:2784 NOTICE: No settings file to load (special://xbmc/system/advancedsettings.xml)
19:27:52 T:2784 NOTICE: No settings file to load (special://masterprofile/advancedsettings.xml)
19:27:52 T:2784 NOTICE: Default DVD Player: dvdplayer
19:27:52 T:2784 NOTICE: Default Video Player: dvdplayer
19:27:52 T:2784 NOTICE: Default Audio Player: paplayer
19:27:52 T:2784 NOTICE: Disabled debug logging due to GUI setting. Level 0.
19:27:52 T:2784 NOTICE: Log level changed to 0
19:27:52 T:2784 NOTICE: Loading media sources from special://masterprofile/sources.xml
19:27:55 T:3264 ERROR: CRemoteControl::Connect - failed to connect
19:27:55 T:2784 NOTICE: initializing playlistplayer
19:27:55 T:2784 NOTICE: DONE initializing playlistplayer
19:27:57 T:4020 NOTICE: -->Python Interpreter Initialized<--
19:27:57 T:2784 NOTICE: initialize done
19:27:57 T:2784 NOTICE: Running the application...
19:27:57 T:2784 NOTICE: ES: Starting event server
19:27:57 T:3528 NOTICE: -->Python Interpreter Initialized<--
19:27:57 T:3528 NOTICE: downloader ARGV: ['']
19:27:57 T:3964 NOTICE: ES: Starting UDP Event server on 0.0.0.0:9777
19:27:57 T:3964 NOTICE: UDP: Listening on port 9777
19:28:01 T:3480 NOTICE: -->Python Interpreter Initialized<--
19:28:01 T:4020 NOTICE: Artwork Downloader: ## Service - Run at startup: False
19:28:01 T:4020 NOTICE: Artwork Downloader: ## Service - Delayed startup: -- minutes
19:28:01 T:4020 NOTICE: Artwork Downloader: ## Service - Run as service: False
19:28:01 T:4020 NOTICE: Artwork Downloader: ## Service - Time: 00:00
19:28:01 T:2396 NOTICE: -->Python Interpreter Initialized<--
19:28:01 T:3480 NOTICE: StorageServer Module loaded RUN
19:28:01 T:3480 NOTICE: StorageClient-0.9.2 Starting server
19:28:01 T:3480 NOTICE: StorageServer-0.9.2 Storage Server starting C:\Users\Baryho\AppData\Roaming\XBMC\userdata\Database\commoncache.db
19:28:17 T:3676 NOTICE: -->Python Interpreter Initialized<--
19:28:17 T:3412 WARNING: JpegIO: Error 55: Not a JPEG file: starts with 0x%02x 0x%02x
19:28:18 T:3676 NOTICE: [addon.mlbmc.1.0.8]: Mode: None
19:28:18 T:3676 NOTICE: [addon.mlbmc.1.0.8]: URL: None
19:28:18 T:3676 NOTICE: [addon.mlbmc.1.0.8]: Name: None
19:28:21 T:3916 NOTICE: -->Python Interpreter Initialized<--
19:28:21 T:3916 NOTICE: [addon.mlbmc.1.0.8]: Mode: 3
19:28:21 T:3916 NOTICE: [addon.mlbmc.1.0.8]: URL:
19:28:21 T:3916 NOTICE: [addon.mlbmc.1.0.8]: Name: MLB.TV
19:28:22 T:3320 WARNING: JpegIO: Error 55: Not a JPEG file: starts with 0x%02x 0x%02x
19:28:22 T:2276 NOTICE: -->Python Interpreter Initialized<--
19:28:22 T:2276 NOTICE: [addon.mlbmc.1.0.8]: Mode: 6
19:28:22 T:2276 NOTICE: [addon.mlbmc.1.0.8]: URL: http://mlb.mlb.com/gdcross/components/game/mlb/year_2012/month_05/day_29/master_scoreboard.json
19:28:22 T:2276 NOTICE: [addon.mlbmc.1.0.8]: Name: Yesterday's Games
19:28:22 T:2276 ERROR: Error Type: <type 'exceptions.AttributeError'>
19:28:22 T:2276 ERROR: Error Contents: 'module' object has no attribute 'loads'
19:28:22 T:2276 ERROR: Traceback (most recent call last):
File "C:\Users\Baryho\AppData\Roaming\XBMC\addons\plugin.video.mlbmc\default.py", line 1150, in <module>
getGames(url)
File "C:\Users\Baryho\AppData\Roaming\XBMC\addons\plugin.video.mlbmc\default.py", line 522, in getGames
data = json.loads(getRequest(url))
AttributeError: 'module' object has no attribute 'loads'
19:28:22 T:2784 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.mlbmc/?url=http%3A%2F%2Fmlb.mlb.com%2Fgdcross%2Fcomponents%2Fgame%2Fmlb%2Fyear_2012%2Fmonth_05%2Fday_29%2Fmaster_scoreboard.json&mode=6&name=Yesterday%27s+Games
19:28:22 T:2784 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.mlbmc/?url=http%3A%2F%2Fmlb.mlb.com%2Fgdcross%2Fcomponents%2Fgame%2Fmlb%2Fyear_2012%2Fmonth_05%2Fday_29%2Fmaster_scoreboard.json&mode=6&name=Yesterday%27s+Games) failed
19:28:22 T:4024 NOTICE: -->Python Interpreter Initialized<--
19:28:22 T:4024 NOTICE: [addon.mlbmc.1.0.8]: Mode: 3
19:28:22 T:4024 NOTICE: [addon.mlbmc.1.0.8]: URL:
19:28:22 T:4024 NOTICE: [addon.mlbmc.1.0.8]: Name: MLB.TV
19:28:30 T:460 WARNING: JpegIO: Error 55: Not a JPEG file: starts with 0x%02x 0x%02x
19:28:38 T:2784 NOTICE: Storing total System Uptime
19:28:38 T:2784 NOTICE: Saving settings
19:28:38 T:2784 NOTICE: stop all
19:28:38 T:2784 NOTICE: ES: Stopping event server
19:28:38 T:2784 NOTICE: stopping zeroconf publishing
19:28:38 T:3964 NOTICE: ES: UDP Event server stopped
19:28:38 T:2784 NOTICE: stop sap announcement listener
19:28:38 T:2784 NOTICE: clean cached files!
19:28:38 T:2784 NOTICE: unload skin
19:28:39 T:3480 NOTICE: StorageServer-0.9.2 Closed down
19:28:39 T:2784 NOTICE: stop python
19:28:39 T:2784 NOTICE: stopped
19:28:39 T:2784 NOTICE: destroy
19:28:39 T:2784 NOTICE: closing down remote control service
19:28:39 T:2784 NOTICE: unload sections
19:28:39 T:2784 NOTICE: destroy
19:28:39 T:2784 WARNING: Attempted to remove window 10013 from the window manager when it didn't exist
19:28:39 T:2784 WARNING: Attempted to remove window 10014 from the window manager when it didn't exist
19:28:39 T:2784 WARNING: Attempted to remove window 10015 from the window manager when it didn't exist
19:28:39 T:2784 WARNING: Attempted to remove window 10016 from the window manager when it didn't exist
19:28:39 T:2784 WARNING: Attempted to remove window 10017 from the window manager when it didn't exist
19:28:39 T:2784 WARNING: Attempted to remove window 10018 from the window manager when it didn't exist
19:28:39 T:2784 WARNING: Attempted to remove window 10019 from the window manager when it didn't exist
19:28:39 T:2784 WARNING: Attempted to remove window 10107 from the window manager when it didn't exist
19:28:39 T:2784 WARNING: Attempted to remove window 10115 from the window manager when it didn't exist
19:28:39 T:2784 WARNING: Attempted to remove window 10104 from the window manager when it didn't exist
19:28:39 T:2784 NOTICE: closing down remote control service
19:28:39 T:2784 NOTICE: unload sections
19:28:39 T:2784 NOTICE: application stopped...
As you can see, version is 1.0.8 but it does not help. 14 days ago it was OK, now it is not Could you help?
RE: [Release] MLBMC - a Major League Baseball (video) add-on - divingmule - 2012-05-31
(2012-05-30, 20:30)Baryho Wrote: Hi,
I am trying to play for example Yesterday's games with my account (not premium). Plugin says error and this is in log file:
As you can see, version is 1.0.8 but it does not help. 14 days ago it was OK, now it is not Could you help?
That is really strange. I'm not sure what to think
If your up for editing the add-ons default.py, you may try changing these lines near the top of the file from -
Code: try:
import json
except:
import simplejson as json
to -
Code: import simplejson as json
In the future, please use a site like http://pastebin.com to copy your log to, then post the link.
RE: [Release] MLBMC - a Major League Baseball (video) add-on - divingmule - 2012-05-31
(2012-05-30, 15:39)divingmule Wrote: sdsnyr94, can you open terminal or ssh and type these commands and post the output -
Code: python
import os
os.uname()
exit()
@sdsnyr94 If you could try this, I need to see if I can identify Openelec and if it's 86 or 64 from os.uname().
If it's easier, add "print os.uname()" somewhere below the imports in the default.py, then check the log.
RE: [Release] MLBMC - a Major League Baseball (video) add-on - sdsnyr94 - 2012-05-31
Sorry, I never saw the original post.... I will try this tonight when I get home and let you know.
RE: [Release] MLBMC - a Major League Baseball (video) add-on - divingmule - 2012-05-31
(2012-05-30, 18:18)sdsnyr94 Wrote: (2012-05-30, 15:51)divingmule Wrote: (2012-05-30, 15:42)sdsnyr94 Wrote: I tried setting the temp folder to an NFS network share (through XBMC)... plugin would not even start, so it looks like your temp file will have to be a local location.
Yeah, that would be too easy did you make sure it was mounted
I believe that Openelec removed all "mounting" options, since XBMC now supports NFS and SMB natively. I will try it from an Ubuntu PC to a mounted drive later tonight, just to see if it does work and how performance is.... you would be pulling data to your machine --> to network share --> back to your machine for playback... that's a lot of overhead
I think this may be a permission issue when making the dir with tempfile module. I'm going to try without using tempfile.
(2012-05-31, 17:22)sdsnyr94 Wrote: Sorry, I never saw the original post.... I will try this tonight when I get home and let you know.
RE: [Release] MLBMC - a Major League Baseball (video) add-on - tmoe - 2012-05-31
Hey,
nice work on integrating mlbhls in OE... awesome!
thanks to 'ultraman' over at the OE fourm for providing the mlbhls binary!
I got a problem though: mlbhls begins generating the ts file fine but always bails out when reaching ~2.5 GB; it just stops downloading. Any clue on that problem?
(2012-05-30, 15:39)divingmule Wrote: sdsnyr94, can you open terminal or ssh and type these commands and post the output -
Code: python
import os
os.uname()
exit()
>>> os.uname()
('Linux', 'openelec', '3.2.16', '#1 SMP Mon Apr 30 06:30:46 CEST 2012', 'x86_64')
hope that helps...
cheers,
-tmoe
RE: [Release] MLBMC - a Major League Baseball (video) add-on - tmoe - 2012-05-31
(2012-05-29, 15:18)divingmule Wrote: Yeah, I think so. Maybe ask ultraman if there's another way so add-on updates don't overwrite the files? Or maybe we can point to the bin file from the addon...
as a workaround you could call a shell-script that gets executed via /storage/.config/autostart.sh when booting.
something like:
Code: #!/bin/sh
MLBHLS_ADDON_DIR=/storage/.xbmc/addons/plugin.video.mlbmc.hls
MLBHLS_BIN=/storage/bin/mlbhls_x86_64
if [ ! -f "${MLBHLS_ADDON_DIR}/bin/mlbhls" ]; then
[ ! -d "${MLBHLS_ADDON_DIR}/bin" ] && mkdir -p "${MLBHLS_ADDON_DIR}/bin"
cp $MLBHLS_BIN "${MLBHLS_ADDON_DIR}/bin/mlbhls"
fi
RE: [Release] MLBMC - a Major League Baseball (video) add-on - divingmule - 2012-05-31
(2012-05-31, 18:26)tmoe Wrote: Hey,
nice work on integrating mlbhls in OE... awesome!
thanks to 'ultraman' over at the OE fourm for providing the mlbhls binary!
I got a problem though: mlbhls begins generating the ts file fine but always bails out when reaching ~2.5 GB; it just stops downloading. Any clue on that problem?
(2012-05-30, 15:39)divingmule Wrote: sdsnyr94, can you open terminal or ssh and type these commands and post the output -
Code: python
import os
os.uname()
exit()
>>> os.uname()
('Linux', 'openelec', '3.2.16', '#1 SMP Mon Apr 30 06:30:46 CEST 2012', 'x86_64')
hope that helps...
cheers,
-tmoe
Thanks tmoe. No idea why it would stop. If you look in the xbmc.log after starting a game you'll fine the mlbhls target. If you run that in a terminal it may shed some light on why.
RE: [Release] MLBMC - a Major League Baseball (video) add-on - sdsnyr94 - 2012-05-31
(2012-05-31, 18:26)tmoe Wrote: I got a problem though: mlbhls begins generating the ts file fine but always bails out when reaching ~2.5 GB; it just stops downloading. Any clue on that problem?
Where is your temp file located? Could it be a file size limit on the filesystem?
RE: [Release] MLBMC - a Major League Baseball (video) add-on - sdsnyr94 - 2012-05-31
...... and Divingmule - Thanks for the extra work your putting in for us Openelec users!!!! It's very appreciated!
RE: [Release] MLBMC - a Major League Baseball (video) add-on - tmoe - 2012-05-31
(2012-05-31, 19:36)sdsnyr94 Wrote: Where is your temp file located? Could it be a file size limit on the filesystem?
files will be created in /storage/tmp/
/dev/sda2 on /storage type ext4 (rw,noatime,barrier=1,data=ordered)
AFAIK ext4 didnt have a 2.5 GB limit but 16 TB
(2012-05-31, 19:23)divingmule Wrote: No idea why it would stop. If you look in the xbmc.log after starting a game you'll fine the mlbhls target. If you run that in a terminal it may shed some light on why.
you mean calling mlbhls w/ a retrieved base64 address and -F option from the shell to check if it will go all the way till the end? i will do that right away
RE: [Release] MLBMC - a Major League Baseball (video) add-on - sdsnyr94 - 2012-05-31
I asked because I tried on a FAT32 flash drive and bumped against what I thought was the 4GB limit..... but now I will need to watch the file size to see if I stop ~2.5 also.... I'll let you know later.
|