d8ahazard / Cast.bundle

A Plex Channel To Interact With Local Cast Devices, Via Plex Media Server
59 stars 11 forks source link

windows 10 This extension does not respond. ... #22

Closed angelz07 closed 5 years ago

angelz07 commented 5 years ago

hello,

Flex Tv is host on a debian Jessie docker, Flex is host on a windows 10

I can see some chrome cast in device but not all connected. when I force scan I have This extension does not respond. ... and in the log somes error ...

here a part of log

`2018-11-18 11:46:35,595 (326c) : INFO (core:349) - Starting framework core - Version: 2.6.3, Build: ecd6004 (Tue Oct 30 09:36:00 UTC 2018) 2018-11-18 11:46:35,596 (326c) : DEBUG (core:361) - Using the elevated policy 2018-11-18 11:46:35,596 (326c) : DEBUG (core:450) - Starting runtime component. 2018-11-18 11:46:35,599 (326c) : DEBUG (core:450) - Starting caching component. 2018-11-18 11:46:35,599 (326c) : DEBUG (core:450) - Starting data component. 2018-11-18 11:46:35,599 (326c) : DEBUG (core:450) - Starting networking component. 2018-11-18 11:46:35,601 (326c) : DEBUG (networking:284) - Loaded HTTP cookies 2018-11-18 11:46:35,601 (326c) : DEBUG (networking:452) - Setting the default network timeout to 20.0 2018-11-18 11:46:35,601 (326c) : DEBUG (core:450) - Starting localization component. 2018-11-18 11:46:35,601 (326c) : INFO (localization:409) - Setting the default locale to en-us 2018-11-18 11:46:35,602 (326c) : DEBUG (core:450) - Starting messaging component. 2018-11-18 11:46:35,602 (326c) : DEBUG (core:450) - Starting debugging component. 2018-11-18 11:46:35,602 (326c) : DEBUG (core:450) - Starting services component. 2018-11-18 11:46:35,604 (1504) : DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/system/messaging/clear_events/com.plexapp.plugins.Cast' 2018-11-18 11:46:35,604 (326c) : DEBUG (core:450) - Starting myplex component. 2018-11-18 11:46:35,605 (326c) : DEBUG (core:450) - Starting notifications component. 2018-11-18 11:46:35,706 (326c) : DEBUG (accessor:68) - Creating a new model access point for provider com.plexapp.plugins.Cast in namespace 'metadata' 2018-11-18 11:46:35,710 (326c) : DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/resourceHashes' 2018-11-18 11:46:35,747 (135c) : DEBUG (services:265) - Plug-in is not daemonized - loading services from system 2018-11-18 11:46:35,747 (326c) : DEBUG (runtime:1117) - Created a thread named 'load_allservices' 2018-11-18 11:46:35,749 (135c) : DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X0J1bmRsZVNlcnZpY2U6QWxsU2VydmljZXM/Y2VyZWFsMQoxCmxpc3QKMApyMAo/Y2VyZWFsMQoxCmRpY3QKMApyMAo' 2018-11-18 11:46:35,749 (326c) : DEBUG (runtime:1117) - Created a thread named 'get_server_info' 2018-11-18 11:46:35,750 (290c) : DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400' 2018-11-18 11:46:35,750 (326c) : DEBUG (core:150) - Finished starting framework core 2018-11-18 11:46:35,750 (326c) : DEBUG (core:560) - Loading plug-in code 2018-11-18 11:46:35,773 (290c) : DEBUG (core:538) - Machine identifier is 5c2621548bcbb5f8a1f2845548867861b5be0575 2018-11-18 11:46:35,773 (290c) : DEBUG (core:539) - Server version is 1.13.9.5456-ecd600442 2018-11-18 11:46:36,033 (135c) : DEBUG (services:362) - Loaded services 2018-11-18 11:46:36,042 (1e6c) : DEBUG (services:438) - No shared code to load 2018-11-18 11:46:36,089 (326c) : DEBUG (core:566) - Finished loading plug-in code 2018-11-18 11:46:36,601 (326c) : DEBUG (runtime:640) - Adding a prefix handler for 'Cast' ('/chromecast') 2018-11-18 11:46:36,604 (326c) : DEBUG (runtime:640) - Adding a prefix handler for 'Cast' ('/applications/Cast') 2018-11-18 11:46:36,605 (326c) : DEBUG (logkit:13) - Registering LoggerHandler for dependency: pychromecast 2018-11-18 11:46:36,607 (326c) : DEBUG (logkit:13) - Registering LoggerHandler for dependency: zeroconf 2018-11-18 11:46:36,607 (326c) : DEBUG (logkit:13) - Cache timer started, updating in 60 minutes 2018-11-18 11:46:36,607 (326c) : DEBUG (logkit:13) - UpdateCache called 2018-11-18 11:46:36,608 (326c) : DEBUG (logkit:13) - Re-fetching devices 2018-11-18 11:46:36,611 (326c) : DEBUG (logkit:13) - zeroconf: zeroconf:Adding u'0.0.0.0' to multicast group 2018-11-18 11:46:36,611 (326c) : DEBUG (logkit:13) - zeroconf: zeroconf:Adding '192.168.1.2' to multicast group 2018-11-18 11:46:36,615 (326c) : CRITICAL (core:574) - Exception when calling function 'Start' (most recent call last): File "C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-ecd600442\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\code\sandbox.py", line 294, in call_named_function result = f(*args, kwargs) File "C:\Users\jarvi\AppData\Local\Plex Media Server\Plug-ins\Cast.bundle\Contents\Codeinit.py", line 64, in Start CacheTimer() File "C:\Users\jarvi\AppData\Local\Plex Media Server\Plug-ins\Cast.bundle\Contents\Codeinit.py", line 73, in CacheTimer UpdateCache() File "C:\Users\jarvi\AppData\Local\Plex Media Server\Plug-ins\Cast.bundle\Contents\Codeinit.py", line 85, in UpdateCache scan_devices() File "C:\Users\jarvi\AppData\Local\Plex Media Server\Plug-ins\Cast.bundle\Contents\Codeinit.py", line 703, in scan_devices casts = pychromecast.get_chromecasts(1, None, None, True) File "C:\Users\jarvi\AppData\Local\Plex Media Server\Plug-ins\Cast.bundle\Contents\Libraries\Shared\pychromecastinit.py", line 74, in get_chromecasts hosts = discover_chromecasts() File "C:\Users\jarvi\AppData\Local\Plex Media Server\Plug-ins\Cast.bundle\Contents\Libraries\Shared\pychromecast\discovery.py", line 121, in discover_chromecasts listener, browser = start_discovery(callback) File "C:\Users\jarvi\AppData\Local\Plex Media Server\Plug-ins\Cast.bundle\Contents\Libraries\Shared\pychromecast\discovery.py", line 91, in start_discovery service_browser = zeroconf.ServiceBrowser(zeroconf.Zeroconf(interfaces=zeroconf.InterfaceChoice.All), File "C:\Users\jarvi\AppData\Local\Plex Media Server\Plug-ins\Cast.bundle\Contents\Libraries\Shared\zeroconf.py", line 1704, in init log.info("Error %s", e) File "C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\logginginit.py", line 1167, in info self.log(INFO, msg, args, kwargs) File "C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\logging_init.py", line 1286, in log self.handle(record) File "C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\logging_init.py", line 1296, in handle self.callHandlers(record) File "C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\logginginit.py", line 1336, in callHandlers hdlr.handle(record) File "C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\logginginit.py", line 759, in handle self.emit(record) File "C:\Users\jarvi\AppData\Local\Plex Media Server\Plug-ins\Cast.bundle\Contents\Code\log_helper.py", line 38, in emit Log.Exception(self.getFormattedString(record)) File "C:\Users\jarvi\AppData\Local\Plex Media Server\Plug-ins\Cast.bundle\Contents\Code\log_helper.py", line 24, in getFormattedString return record.name + ": " + record.getMessage() File "C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\logginginit.py", line 329, in getMessage msg = msg % self.args UnicodeDecodeError: 'utf8' codec can't decode byte 0xe9 in position 39: invalid continuation byte

2018-11-18 11:46:36,615 (326c) : INFO (core:611) - Started plug-in 2018-11-18 11:46:36,617 (326c) : DEBUG (socketinterface:160) - Starting socket server 2018-11-18 11:46:36,618 (326c) : DEBUG (runtime:1117) - Created a thread named 'start' 2018-11-18 11:46:36,618 (326c) : INFO (socketinterface:184) - Socket server started on port 58388 2018-11-18 11:46:36,618 (326c) : INFO (pipeinterface:25) - Entering run loop 2018-11-18 11:46:36,618 (326c) : DEBUG (runtime:717) - Handling request GET /:/prefixes 2018-11-18 11:46:36,621 (326c) : DEBUG (runtime:814) - Found route matching /:/prefixes 2018-11-18 11:46:36,621 (326c) : DEBUG (runtime:924) - Response: [200] MediaContainer, 697 bytes 2018-11-18 11:46:47,216 (1e1c) : DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.plugins.Cast/resources/icon-default.png?t=1542537993 2018-11-18 11:46:47,233 (1e1c) : DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.plugins.Cast/resources/icon-default.png 2018-11-18 11:46:49,628 (365c) : DEBUG (runtime:717) - Handling request GET /applications/Cast 2018-11-18 11:46:49,630 (365c) : DEBUG (runtime:49) - Received packed state data (80 bytes) 2018-11-18 11:46:49,634 (365c) : DEBUG (runtime:814) - Found route matching /applications/Cast 2018-11-18 11:46:49,634 (365c) : DEBUG (logkit:13) - ** Starting MainMenu ** 2018-11-18 11:46:49,638 (365c) : DEBUG (base:117) - Checking if com.plexapp.plugins.Cast is broken`

thanks for you help :-)

d8ahazard commented 5 years ago

Please check out https://github.com/FlexTV.bundle for the latest iteration of the plugin.

Also, there's an experimental stand-alone app for homes without a PMS server, but you want to control cast devices at https://github.com/d8ahazard/FlexConnect - and docker - https://github.com/d8ahazard/docker-FlexConnect

If you have issues, feel free to report them there!