home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Talk
XBMC Python Script
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Bigs" data-source="post: 521754" data-attributes="member: 97995"><p>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.</p><p></p><p>Here's a snip of my xbmc logfile:</p><p>[CODE]23:11:50 T:4728 M:457424896 NOTICE: Traceback (most recent call last):</p><p>23:11:50 T:4728 M:457424896 NOTICE: File "C:\Users\Lasse\AppData\Roaming\XBMC\plugins\video\TVServer\default.py", line 19, in ?</p><p>23:11:50 T:4728 M:457424896 NOTICE: plugin.Main()</p><p>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__</p><p>23:11:50 T:4728 M:457383936 NOTICE: self._conn.connect(server_host, server_port)</p><p>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</p><p>23:11:50 T:4728 M:457375744 NOTICE: self.sock.connect((host, port))</p><p>23:11:50 T:4728 M:457375744 NOTICE: File "<string>", line 1, in connect</p><p>23:11:50 T:4728 M:457375744 NOTICE: TypeError</p><p>23:11:50 T:4728 M:457375744 NOTICE: :</p><p>23:11:50 T:4728 M:457375744 NOTICE: an integer is required</p><p>23:11:50 T:4728 M:457375744 ERROR: Scriptresult: Error</p><p>23:11:51 T:4728 M:457334784 NOTICE: Exception</p><p>23:11:51 T:4728 M:457334784 NOTICE: socket.error</p><p>23:11:51 T:4728 M:457334784 NOTICE: :</p><p>23:11:51 T:4728 M:457334784 NOTICE: (10057, 'Socket is not connected')</p><p>23:11:51 T:4728 M:457334784 NOTICE: in</p><p>23:11:51 T:4728 M:457334784 NOTICE: <bound method MpTVConnector.__del__ of <MpTv.MpTVConnector.MpTVConnector instance at 0x0F28A9B8>></p><p>23:11:51 T:4728 M:457334784 NOTICE: ignored</p><p>23:11:52 T:4036 M:458637312 ERROR: DIRECTORY::CDirectory::GetDirectory - Error getting plugin://video/TVServer/</p><p>23:11:52 T:4036 M:458637312 ERROR: CGUIDialogFileBrowser::GetDirectory(plugin://video/TVServer/) failed[/CODE]</p><p></p><p>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.</p><p></p><p>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. </p><p></p><p>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...</p><p></p><p>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 <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite2" alt=";)" title="Wink ;)" loading="lazy" data-shortname=";)" /> ) 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... </p><p></p><p>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. <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite8" alt=":D" title="Big Grin :D" loading="lazy" data-shortname=":D" /></p></blockquote><p></p>
[QUOTE="Bigs, post: 521754, member: 97995"] 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. :D [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Talk
XBMC Python Script
Contact us
RSS
Top
Bottom