RE: [BETA] XBMB3C - Media Browser AddOn for XBMC - mbc0 - 2014-03-11
Thanks xnappo, I feel things are very close to "perfect" :-D Hope you are doing something nice!
RE: [BETA] XBMB3C - Media Browser AddOn for XBMC - null_pointer - 2014-03-12
Code: 15:53:18 T:12632 NOTICE: XBMB3C Service WebSocket -> error : [Errno 10054] An existing connection was forcibly closed by the remote host
15:53:18 T:12632 ERROR: send: '\x88\x82\x87bW2\x84\x8a'
15:53:18 T:12632 NOTICE: .
15:53:18 T:12632 NOTICE: XBMB3C Service WebSocket -> closed
15:53:18 T:12632 NOTICE: XBMB3C Service WebSocket -> Exited
16:33:07 T:12724 ERROR: AddOnLog: DVBLink PVR Client: Could not get timers (Error code : 2000 Description : HTTP request failed with error code 2000 (An error occurred when trying to establish a connection to the DVBLink Connect! Server).
)
16:33:07 T:12724 ERROR: PVR - PVR::CPVRClient::GetTimers - addon 'DVBLink Connect! Server:192.168.0.27' returned an error: the command failed
16:33:07 T:12724 ERROR: PVR - PVR::CPVRClients::GetTimers - cannot get timers from client '1': the command failed
16:33:09 T:17748 NOTICE: updateInfo Called
16:33:09 T:11784 NOTICE: updateRandomMovies Called
16:33:09 T:2888 NOTICE: updateNextUp Called
16:33:09 T:8776 NOTICE: updateRecent Called
16:33:09 T:11784 NOTICE: RandomInfoUpdaterThread updateRandom urlopen : [Errno socket error] [Errno 10051] A socket operation was attempted to an unreachable network (http://192.168.0.27:8096/mediabrowser/Users?format=json)
16:33:09 T:2888 NOTICE: NextUpUpdaterThread updateNextUp urlopen : [Errno socket error] [Errno 10051] A socket operation was attempted to an unreachable network (http://192.168.0.27:8096/mediabrowser/Users?format=json)
16:33:09 T:17748 NOTICE: InfoUpdaterThread updateInfo urlopen : [Errno socket error] [Errno 10051] A socket operation was attempted to an unreachable network (http://192.168.0.27:8096/mediabrowser/Users?format=json)
16:33:09 T:8776 NOTICE: RecentInfoUpdaterThread updateRecent urlopen : [Errno socket error] [Errno 10051] A socket operation was attempted to an unreachable network (http://192.168.0.27:8096/mediabrowser/Users?format=json)
16:33:10 T:16352 NOTICE: CPowerManager::OnWake: Running resume jobs
16:33:10 T:16352 NOTICE: CPowerManager::OnWake: Restarting lirc
16:33:10 T:9676 NOTICE: Thread RemoteControl start, auto delete: false
The web socket was closed for some reason my the MB3 server, you can also see that a bunch of the updater threads had issues so it looks like either you lost network connection which is unlikely as you were streaming a video over your connection or the MB3 server had a temporary problem or it restarted or [insert something else here] in short the MB3 server was not available and the web socket was reset.
I will need to add detection for this and restart the web socket if it disconnects.
Once the web socket was down it caused other issues for the playback thread that was trying to call it
Code: 17:55:40 T:13760 NOTICE: XBMB3C Service WebSocket -> Sending Playback Started
17:55:40 T:13760 NOTICE: {"Data": "1c6f0a02486a544d92f967f45372f7f2|true|audio,video", "MessageType": "PlaybackStart"}
17:55:40 T:13760 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.AttributeError'>
Error Contents: 'NoneType' object has no attribute 'send'
Traceback (most recent call last):
File "C:\Users\I7QUAD\AppData\Roaming\XBMC\addons\plugin.video.xbmb3c\service.py", line 1894, in onPlayBackStarted
newWebSocketThread.playbackStarted(item_id)
File "C:\Users\I7QUAD\AppData\Roaming\XBMC\addons\plugin.video.xbmb3c\service.py", line 72, in playbackStarted
self.client.send(messageString)
File "C:\Users\I7QUAD\AppData\Roaming\XBMC\addons\plugin.video.xbmb3c\resources\lib\websocket.py", line 812, in send
if self.sock.send(data, opcode) == 0:
AttributeError: 'NoneType' object has no attribute 'send'
-->End of Python script error report<--
So the mark as watched called failed due to the fact the web socket caused an exception because it was forcibly disconnected earlier.
All this is probably fixable with some monitoring and reconnection logic, I will throw in some exception handling also to help stop the playback monitoring thread from exploding when the web socked has issues.
Thanks for the testing and logs :-)
RE: [BETA] XBMB3C - Media Browser AddOn for XBMC - xnappo - 2014-03-12
Could [insert something here] be Windows firewall?
xnappo
RE: [BETA] XBMB3C - Media Browser AddOn for XBMC - mbc0 - 2014-03-12
Hi, I really appreciate this guys, if there is anything I can do PLEASE just let me know, its nice to just be down to 2 issues considering how new this all is :-)
RE: [BETA] XBMB3C - Media Browser AddOn for XBMC - xnappo - 2014-03-12
(2014-03-12, 02:04)mbc0 Wrote: Hi, I really appreciate this guys, if there is anything I can do PLEASE just let me know, its nice to just be down to 2 issues considering how new this all is :-)
At some point we will want you to try the Git version - but did you ever figure out the issue with remote access?
xnappo
RE: [BETA] XBMB3C - Media Browser AddOn for XBMC - null_pointer - 2014-03-12
Quote:Could [insert something here] be Windows firewall?
No, it had a connection and then lost it, usually firewalls stop initial connections.
RE: [BETA] XBMB3C - Media Browser AddOn for XBMC - mbc0 - 2014-03-12
(2014-03-12, 04:06)xnappo Wrote: (2014-03-12, 02:04)mbc0 Wrote: Hi, I really appreciate this guys, if there is anything I can do PLEASE just let me know, its nice to just be down to 2 issues considering how new this all is :-)
At some point we will want you to try the Git version - but did you ever figure out the issue with remote access?
xnappo
Hi xnappo
I posted the log for the remote access issue on post #330 :-)
RE: [BETA] XBMB3C - Media Browser AddOn for XBMC - xnappo - 2014-03-12
Sorry - missed that that log was showing both problems.
If this is trying to play from the internet, there is no way it is going to work.
smb://HPSERVER/Video Pool - TV Series/#-B/3rd Rock from The Sun/Season 1/3rd Rock from the Sun - S01E01 - Brains and Eggs.avi
That is almost certainly not a path you can get to from the internet? Are you using Path substitution somehow here?
xnappo
RE: [BETA] XBMB3C - Media Browser AddOn for XBMC - mbc0 - 2014-03-12
Hi,
I haven't done anything other than install 1080++ and the XBMBC3 Add-on I haven't used path substitutions anywhere
I understand that the add-on is trying to play a local file and obviously that is a problem :-(
The Mediabrowser Theater client on their machine plays files perfectly over the internet from my server so was kinda hoping that your add-on would do the same :-)
Thanks
RE: [BETA] XBMB3C - Media Browser AddOn for XBMC - xnappo - 2014-03-12
Right - MBT automatically switched to the equivalent of the 'Play from Stream' setting when it can't play via SMB.
Post a log with that turned on.
xnappo
RE: [BETA] XBMB3C - Media Browser AddOn for XBMC - null_pointer - 2014-03-12
just to be clear, there is a setting in the XBMB3C addon settigs that forces the "Play From Stream" that will force playback over HTTP, that is what you want to turn on.
RE: [BETA] XBMB3C - Media Browser AddOn for XBMC - ryvanzandt - 2014-03-15
Ok. After looking at the log. I removed the last 5 movies I added to that group and it worked. So I re added 1 by 1 and all seems well.
I can't access just one of my movie nodes. Of course its the kids one. All others work fine.
Gotham Beta
Aeon MQ5
XBMB3C Master and 0.8.5
http://pastebin.com/HUrXRCHg
Code: 21:43:09 T:6416 NOTICE: XBMB3C InProgressUpdaterThread -> Log Level:0
21:43:09 T:6416 NOTICE: XBMB3C WebSocketThread -> Log Level:0
21:43:09 T:6416 NOTICE: XBMB3C LoadMenuOptionsThread -> Log Level:0
21:43:09 T:6416 NOTICE: XBMB3C RecentInfoUpdaterThread -> Log Level:0
21:43:09 T:3196 NOTICE: XBMB3C LoadMenuOptionsThread -> LoadMenuOptionsThread -> Error Parsing favourites.xml : [Errno 2] No such file or directory: 'C:\\Users\\Ryan\\AppData\\Roaming\\XBMC\\userdata\\favourites.xml'
21:43:09 T:6416 NOTICE: XBMB3C BackgroundRotationThread -> Log Level:0
21:43:09 T:6416 NOTICE: XBMB3C RandomInfoUpdaterThread -> Log Level:0
21:43:09 T:6416 NOTICE: XBMB3C NextUpUpdaterThread -> Log Level:0
21:43:09 T:6416 NOTICE: XBMB3C InfoUpdaterThread -> Log Level:0
21:43:09 T:4256 NOTICE: XBMB3 -> HTTP Image Proxy Server Starting
21:43:09 T:6416 NOTICE: XBMB3C Service -> starting monitor service
21:43:09 T:4972 ERROR: Exception in thread Thread-1:
Traceback (most recent call last):
File "C:\Program Files (x86)\XBMC\system\python\Lib\threading.py", line 808, in __bootstrap_inner
self.run()
File "C:\Users\Ryan\AppData\Roaming\XBMC\addons\MediaBrowser.XBMC-master\resources\lib\InProgressItems.py", line 38, in run
self.updateInProgress()
File "C:\Users\Ryan\AppData\Roaming\XBMC\addons\MediaBrowser.XBMC-master\resources\lib\InProgressItems.py", line 128, in updateInProgress
percentage = (resume / duration) * 100.0
ZeroDivisionError: float division by zero
21:43:11 T:6156 NOTICE: script.tv.show.next.aired: ### starting data update
21:43:12 T:6212 NOTICE: Thread LanguageInvoker start, auto delete: false
21:43:12 T:6212 NOTICE: -->Python Interpreter Initialized<--
21:43:12 T:6212 NOTICE: ===== XBMB3C START =====
21:43:12 T:6212 NOTICE: XBMB3C -> running Python: sys.version_info(major=2, minor=7, micro=5, releaselevel='final', serial=0)
21:43:12 T:6212 NOTICE: XBMB3C -> running XBMB3C: 0.8.6
21:43:12 T:6212 NOTICE: 13.0-BETA1 Git:20140303-128426f
21:43:12 T:6212 NOTICE: XBMB3C -> Platform: Windows
21:43:12 T:6212 NOTICE: XBMB3C -> LogLevel: 0
21:43:12 T:6212 NOTICE: XBMB3C 0 -> Version : 13.0 - {u'major': 13, u'tag': u'beta', u'minor': 0, u'revision': u'20140303-128426f'}
21:43:12 T:6212 WARNING: CVideoInfoTag::GetDurationFromMinuteString <runtime> should be in minutes. Interpreting '' as 0 minutes
21:43:12 T:6212 WARNING: Previous line repeats 18 times.
21:43:12 T:6212 NOTICE: ===== XBMB3C STOP =====
21:43:12 T:3256 NOTICE: Thread BackgroundLoader start, auto delete: false
21:43:12 T:5896 NOTICE: Thread LanguageInvoker start, auto delete: false
21:43:12 T:5896 NOTICE: -->Python Interpreter Initialized<--
21:43:14 T:3612 NOTICE: Thread LanguageInvoker start, auto delete: false
21:43:14 T:3612 NOTICE: -->Python Interpreter Initialized<--
21:43:14 T:3612 NOTICE: ===== XBMB3C START =====
21:43:14 T:3612 NOTICE: XBMB3C -> running Python: sys.version_info(major=2, minor=7, micro=5, releaselevel='final', serial=0)
21:43:14 T:3612 NOTICE: XBMB3C -> running XBMB3C: 0.8.6
21:43:14 T:3612 NOTICE: 13.0-BETA1 Git:20140303-128426f
21:43:14 T:3612 NOTICE: XBMB3C -> Platform: Windows
21:43:14 T:3612 NOTICE: XBMB3C -> LogLevel: 0
21:43:14 T:3612 NOTICE: XBMB3C 0 -> Version : 13.0 - {u'major': 13, u'tag': u'beta', u'minor': 0, u'revision': u'20140303-128426f'}
21:43:14 T:3612 NOTICE: ===== XBMB3C STOP =====
21:43:14 T:6520 NOTICE: Thread BackgroundLoader start, auto delete: false
21:43:16 T:5204 NOTICE: Previous line repeats 1 times.
21:43:16 T:5204 NOTICE: Thread LanguageInvoker start, auto delete: false
21:43:16 T:5204 NOTICE: -->Python Interpreter Initialized<--
21:43:16 T:5204 NOTICE: ===== XBMB3C START =====
21:43:16 T:5204 NOTICE: XBMB3C -> running Python: sys.version_info(major=2, minor=7, micro=5, releaselevel='final', serial=0)
21:43:16 T:5204 NOTICE: XBMB3C -> running XBMB3C: 0.8.6
21:43:16 T:5204 NOTICE: 13.0-BETA1 Git:20140303-128426f
21:43:16 T:5204 NOTICE: XBMB3C -> Platform: Windows
21:43:16 T:5204 NOTICE: XBMB3C -> LogLevel: 0
21:43:16 T:5204 NOTICE: XBMB3C 0 -> Version : 13.0 - {u'major': 13, u'tag': u'beta', u'minor': 0, u'revision': u'20140303-128426f'}
21:43:16 T:5204 WARNING: CVideoInfoTag::GetDurationFromMinuteString <runtime> should be in minutes. Interpreting '' as 0 minutes
21:43:16 T:5204 WARNING: Previous line repeats 18 times.
21:43:16 T:5204 NOTICE: ===== XBMB3C STOP =====
21:43:16 T:6404 NOTICE: Thread BackgroundLoader start, auto delete: false
21:43:20 T:3784 NOTICE: Thread LanguageInvoker start, auto delete: false
21:43:20 T:3784 NOTICE: -->Python Interpreter Initialized<--
21:43:20 T:3784 NOTICE: ===== XBMB3C START =====
21:43:20 T:3784 NOTICE: XBMB3C -> running Python: sys.version_info(major=2, minor=7, micro=5, releaselevel='final', serial=0)
21:43:20 T:3784 NOTICE: XBMB3C -> running XBMB3C: 0.8.6
21:43:20 T:3784 NOTICE: 13.0-BETA1 Git:20140303-128426f
21:43:20 T:3784 NOTICE: XBMB3C -> Platform: Windows
21:43:20 T:3784 NOTICE: XBMB3C -> LogLevel: 0
21:43:20 T:3784 NOTICE: XBMB3C 0 -> Version : 13.0 - {u'major': 13, u'tag': u'beta', u'minor': 0, u'revision': u'20140303-128426f'}
21:43:20 T:3784 WARNING: CVideoInfoTag::GetDurationFromMinuteString <runtime> should be in minutes. Interpreting '0' as 0 minutes
21:43:20 T:3784 WARNING: Previous line repeats 2 times.
21:43:20 T:3784 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.ZeroDivisionError'>
Error Contents: float division by zero
Traceback (most recent call last):
File "C:\Users\Ryan\AppData\Roaming\XBMC\addons\MediaBrowser.XBMC-master\default.py", line 1807, in <module>
getContent(param_url)
File "C:\Users\Ryan\AppData\Roaming\XBMC\addons\MediaBrowser.XBMC-master\default.py", line 1326, in getContent
dirItems = processDirectory(url, result, progress)
File "C:\Users\Ryan\AppData\Roaming\XBMC\addons\MediaBrowser.XBMC-master\default.py", line 1604, in processDirectory
dirItems.append(addGUIItem(u, details, extraData, folder=False))
File "C:\Users\Ryan\AppData\Roaming\XBMC\addons\MediaBrowser.XBMC-master\default.py", line 697, in addGUIItem
percentage = (resume / duration) * 100.0
ZeroDivisionError: float division by zero
-->End of Python script error report<--
21:43:20 T:6912 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.xbmb3c/?mode=0&url=http%3a%2f%2flocalhost%3a8096%2fmediabrowser%2fUsers%2f365d013f78a04595a1a987728290730d%2fitems%3fParentId%3d54a7acef0bd6ca2700df4d7b70055264%26IsVirtualUnaired%3dfalse%26IsMissing%3dFalse%26Fields%3dPath%2cGenres%2cStudios%2cCumulativeRunTimeTicks%2cMediaStreams%2cPeople%2cOverview%26SortOrder%3dAscending%26SortBy%3dSortName%26Genres%3d%26format%3djson
21:43:20 T:6912 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.xbmb3c/?mode=0&url=http%3a%2f%2flocalhost%3a8096%2fmediabrowser%2fUsers%2f365d013f78a04595a1a987728290730d%2fitems%3fParentId%3d54a7acef0bd6ca2700df4d7b70055264%26IsVirtualUnaired%3dfalse%26IsMissing%3dFalse%26Fields%3dPath%2cGenres%2cStudios%2cCumulativeRunTimeTicks%2cMediaStreams%2cPeople%2cOverview%26SortOrder%3dAscending%26SortBy%3dSortName%26Genres%3d%26format%3djson) failed
21:43:20 T:5460 NOTICE: Thread LanguageInvoker start, auto delete: false
21:43:20 T:5460 NOTICE: -->Python Interpreter Initialized<--
21:43:21 T:5460 NOTICE: ===== XBMB3C START =====
21:43:21 T:5460 NOTICE: XBMB3C -> running Python: sys.version_info(major=2, minor=7, micro=5, releaselevel='final', serial=0)
21:43:21 T:5460 NOTICE: XBMB3C -> running XBMB3C: 0.8.6
21:43:21 T:5460 NOTICE: 13.0-BETA1 Git:20140303-128426f
21:43:21 T:5460 NOTICE: XBMB3C -> Platform: Windows
21:43:21 T:5460 NOTICE: XBMB3C -> LogLevel: 0
21:43:21 T:5460 NOTICE: XBMB3C 0 -> Version : 13.0 - {u'major': 13, u'tag': u'beta', u'minor': 0, u'revision': u'20140303-128426f'}
21:43:21 T:5460 WARNING: CVideoInfoTag::GetDurationFromMinuteString <runtime> should be in minutes. Interpreting '' as 0 minutes
21:43:21 T:5460 WARNING: Previous line repeats 18 times.
21:43:21 T:5460 NOTICE: ===== XBMB3C STOP =====
21:43:21 T:6192 NOTICE: Thread BackgroundLoader start, auto delete: false
21:43:30 T:6012 NOTICE: Thread LanguageInvoker start, auto delete: false
21:43:30 T:6012 NOTICE: -->Python Interpreter Initialized<--
21:43:37 T:6016 NOTICE: Thread LanguageInvoker start, auto delete: false
21:43:37 T:6016 NOTICE: -->Python Interpreter Initialized<--
RE: [BETA] XBMB3C - Media Browser AddOn for XBMC - ijskonijn - 2014-03-15
(2014-03-11, 00:20)xnappo Wrote: (2014-03-10, 21:40)ijskonijn Wrote: What I mean is if I install XBMC (Frodo for Windows) it works on his own. So how can it use the MB3 server?
Through the AddOn.
MB3 replaces the XBMC database so you can have a shared database between multiple machines/devices.
xnappo Do I have to search in XBMC for this addon? Because I can't find an addon called MB3 in XBMC.
RE: [BETA] XBMB3C - Media Browser AddOn for XBMC - Vidman - 2014-03-15
Mb3 isn't an addon is a separate program. ... You use this addon to allow xbmc to interface with mediabrowser 3 server
RE: [BETA] XBMB3C - Media Browser AddOn for XBMC - ijskonijn - 2014-03-15
Sorry, I don't understand it.
I've installed Media Browser Server and also XBMC. If I understand it correctly I must use an addon to use XBMC together with Media Browser Server. What must I do now? Which addon do you mean?
|