Normal
I've been scratching my head at this script for weeks now and since I'm not in any way a python programmer I really can't find out what is going wrong. Been searching and googling on all possible aspects of this without getting anywhere really.Here's a snip of my xbmc logfile:[CODE]23:11:50 T:4728 M:457424896 NOTICE: Traceback (most recent call last):23:11:50 T:4728 M:457424896 NOTICE: File "C:\Users\Lasse\AppData\Roaming\XBMC\plugins\video\TVServer\default.py", line 19, in ?23:11:50 T:4728 M:457424896 NOTICE: plugin.Main()23:11:50 T:4728 M:457424896 NOTICE: File "C:\Users\Lasse\AppData\Roaming\XBMC\plugins\video\TVServer\MpTv\xbmcplugin_list.py", line 41, in __init__23:11:50 T:4728 M:457383936 NOTICE: self._conn.connect(server_host, server_port)23:11:50 T:4728 M:457383936 NOTICE: File "C:\Users\Lasse\AppData\Roaming\XBMC\plugins\video\TVServer\MpTv\MpTVConnector.py", line 33, in connect23:11:50 T:4728 M:457375744 NOTICE: self.sock.connect((host, port))23:11:50 T:4728 M:457375744 NOTICE: File "<string>", line 1, in connect23:11:50 T:4728 M:457375744 NOTICE: TypeError23:11:50 T:4728 M:457375744 NOTICE: :23:11:50 T:4728 M:457375744 NOTICE: an integer is required23:11:50 T:4728 M:457375744 ERROR: Scriptresult: Error23:11:51 T:4728 M:457334784 NOTICE: Exception23:11:51 T:4728 M:457334784 NOTICE: socket.error23:11:51 T:4728 M:457334784 NOTICE: :23:11:51 T:4728 M:457334784 NOTICE: (10057, 'Socket is not connected')23:11:51 T:4728 M:457334784 NOTICE: in23:11:51 T:4728 M:457334784 NOTICE: <bound method MpTVConnector.__del__ of <MpTv.MpTVConnector.MpTVConnector instance at 0x0F28A9B8>>23:11:51 T:4728 M:457334784 NOTICE: ignored23:11:52 T:4036 M:458637312 ERROR: DIRECTORY::CDirectory::GetDirectory - Error getting plugin://video/TVServer/23:11:52 T:4036 M:458637312 ERROR: CGUIDialogFileBrowser::GetDirectory(plugin://video/TVServer/) failed[/CODE]For the record I live in quite a large family with many computers and many tv-sets in the house. What I would like to achieve is a client/server solution where I can use one or more dvb-t cards in one computer, preferrably the one in the livingroom where I have all my music and videos stored, to host a tv-server solution (ofcourse with a local client installed for the livingroom TV) to wich I can connect clients throughout the house. I have a complete wired network to all rooms in the house aswell as a WLAN for the roaming laptops the family uses as school, work, and internet surfing-in-the-kitchen-while-eating-a-sandwich.Our current setup is a Vista MCE running on the htpc in the livingroom, wich shares the music and the movies to various xboxes connected to the tv's in the bedrooms. I'm currently running TV server on another computer for testing media portal as a client/server solution. But I would also like to test XBMC as a client to the TV server.The server part of the project mentioned in this thread doesnt give me any problems so far, tho I havent really been able to test it since the XBMC-script doesnt even load...So I'm trying here, kind of as a last resort to solve this problem. To my fairly experienced (as in experienced in reading log files looking for errors ) it really doesnt look like a very complicated error. Though looking back at my efforts to solve this during these last few weeks I guess it might be...I sincerely hope someone out there have the time and interest to perhaps look into this. In the mean time I would like to thank those who came up with the idea and did the work.
I've been scratching my head at this script for weeks now and since I'm not in any way a python programmer I really can't find out what is going wrong. Been searching and googling on all possible aspects of this without getting anywhere really.
Here's a snip of my xbmc logfile:
[CODE]23:11:50 T:4728 M:457424896 NOTICE: Traceback (most recent call last):
23:11:50 T:4728 M:457424896 NOTICE: File "C:\Users\Lasse\AppData\Roaming\XBMC\plugins\video\TVServer\default.py", line 19, in ?
23:11:50 T:4728 M:457424896 NOTICE: plugin.Main()
23:11:50 T:4728 M:457424896 NOTICE: File "C:\Users\Lasse\AppData\Roaming\XBMC\plugins\video\TVServer\MpTv\xbmcplugin_list.py", line 41, in __init__
23:11:50 T:4728 M:457383936 NOTICE: self._conn.connect(server_host, server_port)
23:11:50 T:4728 M:457383936 NOTICE: File "C:\Users\Lasse\AppData\Roaming\XBMC\plugins\video\TVServer\MpTv\MpTVConnector.py", line 33, in connect
23:11:50 T:4728 M:457375744 NOTICE: self.sock.connect((host, port))
23:11:50 T:4728 M:457375744 NOTICE: File "<string>", line 1, in connect
23:11:50 T:4728 M:457375744 NOTICE: TypeError
23:11:50 T:4728 M:457375744 NOTICE: :
23:11:50 T:4728 M:457375744 NOTICE: an integer is required
23:11:50 T:4728 M:457375744 ERROR: Scriptresult: Error
23:11:51 T:4728 M:457334784 NOTICE: Exception
23:11:51 T:4728 M:457334784 NOTICE: socket.error
23:11:51 T:4728 M:457334784 NOTICE: :
23:11:51 T:4728 M:457334784 NOTICE: (10057, 'Socket is not connected')
23:11:51 T:4728 M:457334784 NOTICE: in
23:11:51 T:4728 M:457334784 NOTICE: <bound method MpTVConnector.__del__ of <MpTv.MpTVConnector.MpTVConnector instance at 0x0F28A9B8>>
23:11:51 T:4728 M:457334784 NOTICE: ignored
23:11:52 T:4036 M:458637312 ERROR: DIRECTORY::CDirectory::GetDirectory - Error getting plugin://video/TVServer/
23:11:52 T:4036 M:458637312 ERROR: CGUIDialogFileBrowser::GetDirectory(plugin://video/TVServer/) failed[/CODE]
For the record I live in quite a large family with many computers and many tv-sets in the house. What I would like to achieve is a client/server solution where I can use one or more dvb-t cards in one computer, preferrably the one in the livingroom where I have all my music and videos stored, to host a tv-server solution (ofcourse with a local client installed for the livingroom TV) to wich I can connect clients throughout the house. I have a complete wired network to all rooms in the house aswell as a WLAN for the roaming laptops the family uses as school, work, and internet surfing-in-the-kitchen-while-eating-a-sandwich.
Our current setup is a Vista MCE running on the htpc in the livingroom, wich shares the music and the movies to various xboxes connected to the tv's in the bedrooms. I'm currently running TV server on another computer for testing media portal as a client/server solution. But I would also like to test XBMC as a client to the TV server.
The server part of the project mentioned in this thread doesnt give me any problems so far, tho I havent really been able to test it since the XBMC-script doesnt even load...
So I'm trying here, kind of as a last resort to solve this problem. To my fairly experienced (as in experienced in reading log files looking for errors ) it really doesnt look like a very complicated error. Though looking back at my efforts to solve this during these last few weeks I guess it might be...
I sincerely hope someone out there have the time and interest to perhaps look into this. In the mean time I would like to thank those who came up with the idea and did the work.