appletv-indigoplugin's People
appletv-indigoplugin's Issues
Scan first with IP unicast, if fails move onto Multicast
To help fix scanning issues:
Scan first with IP unicast (presume fixed IP address) if this fails move onto Multicast
Update connect system to attempt connection with IP address via unicast, if/when this fails then use multicast and wait for appropriate device response (current system)
Will need to save IP address in device.props - probably editable.
& factor in the restart across the async functions, perhaps with a counter
assigned
Error playing diff to HomePod
Here is the debugging info from the plugin...
`5 Feb 2023 at 11:27:57
appleTV Plugin Debug (plugin.py:closedPrefsConfigUi:764): logLevel = 5
appleTV Plugin Debug (plugin.py:closedPrefsConfigUi:765): User prefs saved.
appleTV Plugin Debug (plugin.py:closedPrefsConfigUi:766): Debugging on (Level: 5)
Action Group AppleTV Nescafe
appleTV Plugin Debug (plugin.py:sendRemoteCommand:1282): sendRemoteCommand Called configured : True
delayAmount : 900
description : send command to apple tv
deviceId : 0
pluginId : com.GlennNZ.indigoplugin.appleTV
pluginTypeId : sendCommand
props : com.GlennNZ.indigoplugin.appleTV : (dict)
appleTV : 1330741460 (string)
args : /Users/rdp/Music/nescafe.aiff (string)
command : stream_file (string)
replaceExisting : True
textToSpeak : & None
appleTV Plugin Debug (plugin.py:sendRemoteCommand:1284): Props equal: com.GlennNZ.indigoplugin.appleTV : (dict)
appleTV : 1330741460 (string)
args : /Users/rdp/Music/nescafe.aiff (string)
command : stream_file (string)
appleTV Plugin Sending Command stream_file=/Users/rdp/Music/nescafe.aiff to appleTV Device ID 1330741460
appleTV Plugin Debug (plugin.py:sendRemoteCommand:1303): Found correct AppleTV listener/manager. <main.appleTVListener object at 0x1030f8b20> and id 1330741460
appleTV Plugin Debug (plugin.py:send_command:506): Within send_command and command & args - stream_file=/Users/rdp/Music/nescafe.aiff and args /Users/rdp/Music/nescafe.aiff
appleTV Plugin Debug (plugin.py:_handle_device_command:403): _handle_device_command called - Args: /Users/rdp/Music/nescafe.aiff Cmd:stream_file=/Users/rdp/Music/nescafe.aiff
appleTV Plugin Debug (plugin.py:_handle_device_command:419): cmd and cmd_args extracted and Cmd stream_file and cmd_args ['/Users/rdp/Music/nescafe.aiff']
appleTV Plugin Debug (plugin.py: Function: _exec_command line: 489): Exception : Message : General Exception Caught:
appleTV Plugin Debug Traceback:
File "plugin.py", line 468, in _exec_command
value = await tmp(*args)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pyatv/core/facade.py", line 392, in stream_file
await self.relay("stream_file")(file, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pyatv/protocols/raop/init.py", line 371, in stream_file
audio_file = await open_source(
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pyatv/protocols/raop/audio_source.py", line 484, in open_source
return await FileSource.open(source, sample_rate, channels, sample_size)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pyatv/protocols/raop/audio_source.py", line 428, in open
src = await loop.run_in_executor(
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/miniaudio.py", line 949, in decode_file
raise DecodeError("failed to decode file", result)
appleTV Plugin Debug Error in plugin execution:
Traceback (most recent call last):
File "plugin.py", line 468, in _exec_command
value = await tmp(*args)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pyatv/core/facade.py", line 392, in stream_file
await self.relay("stream_file")(file, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pyatv/protocols/raop/init.py", line 371, in stream_file
audio_file = await open_source(
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pyatv/protocols/raop/audio_source.py", line 484, in open_source
return await FileSource.open(source, sample_rate, channels, sample_size)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pyatv/protocols/raop/audio_source.py", line 428, in open
src = await loop.run_in_executor(
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/miniaudio.py", line 949, in decode_file
raise DecodeError("failed to decode file", result)
miniaudio.DecodeError: ('failed to decode file', -1)
appleTV Plugin Debug
Exc_info: (<class 'miniaudio.DecodeError'>, DecodeError('failed to decode file', -1), <traceback object at 0x108ef7740>)
Exc_Text: Traceback (most recent call last):
File "plugin.py", line 468, in _exec_command
value = await tmp(*args)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pyatv/core/facade.py", line 392, in stream_file
await self.relay("stream_file")(file, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pyatv/protocols/raop/init.py", line 371, in stream_file
audio_file = await open_source(
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pyatv/protocols/raop/audio_source.py", line 484, in open_source
return await FileSource.open(source, sample_rate, channels, sample_size)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pyatv/protocols/raop/audio_source.py", line 428, in open
src = await loop.run_in_executor(
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/miniaudio.py", line 949, in decode_file
raise DecodeError("failed to decode file", result)
miniaudio.DecodeError: ('failed to decode file', -1)
Stack_info: None
appleTV Plugin Could not run this command at this time.`
Incorrect URL in 'About appleTV Plugin' menu option
Very very minor issue, but I just noticed that the plugin's About menu option directs to https://forums.indigodomo.com/viewforum.php?f=366 which is for HomeBridge-Siri, not the AppleTV plugin. ๐
Play command fails in 0.0.22 worked in 0.0.15
Check handling of play, given above report
Refactor FileHandler logging code now that issue found
Fix Indigofilehandler now that issue know.
Probably remove all together
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.