Skip to content

Commit

Permalink
1.2.20
Browse files Browse the repository at this point in the history
Indigo 2023.2 API 3.4 Only
Move all dependencies to requirements.txt
No need for xattr commands
Move ffmpeg to homekitlink_ffmpeg library for automatic install

1.2.8
Api 3.4 required
Libraries install everything needed
Test Version

1.2.7
Add homekitlink_ffmpeg dependencies which downloads ffmpeg versions.  Allowing 1. Updates, 2. Testing removing need for xattr

1.2.5
Add auto installer for installing dependencies, including pyatv.
API 3.4

1.2.4
Replace ffmpeg with latest version, include seperate x86 and ARM files (combined to big for github)
Programmatically choose at startup what Silicon being run on to use

NB:
This version of ffmpeg is supported on Sonoma and Ventura.  I've tested on Monterey and works fine, so unsure as to lowest version supported.

1.2.3
Add ffmpeg Logging Menu options to check last command error

1.2.2
Increase timeout for Start Connection to 90secs

1.2.1
Bump library to 0.13.4

1.2.0
Updated Readme
Add new commands support to plugin when supported
Fix about URL link
Check Power State on first connection
Remove PowerState testing for playstatus updates, was leading to unknown for non-appleTV devices
(Rely on powerstate push updating alone - hopefully now robust)
import pyatv with pass exception so if updated version that causes import error requirements.py hopefully still provides upgrade messagin

1.1.6

Requires pyatv 0.13.3 (Joe)
Following plugin messaging to update

Adds:
Fixes play URL for OS16.4 - can't get BI camera streams working, but https:// mp4 play well

Adds Airplay2 Support - allows playback of file to all Airplay2 devices
(I have tested with Sonos - works well and following playback Sonos has usual list of items)
(Note does not allow control of Airplay2 devices)

See pyatv notes - many thanks (!) for all other improvements

2/
1.1.6
(Discovered can restart HomePod from Home app to test)
Reworking Connection Lost - restarts main atv loop rather than creating new task, which appears to lead to asyncio issues for some.

g
  • Loading branch information
Ghawken committed Jan 17, 2024
1 parent 2c6384e commit 959f8c1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 28 deletions.
29 changes: 2 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,40 +39,15 @@ Enables:
4. Playback mp3 files to Airplay2 speakers eg. Sonos and cheaper equivalents...

###Installation
But before anything:

In a terminal window enter:
(OS16.4 Fix for a couple of library based issues - waiting update at library end)
Download and double click Plugin Bundle

#### `pip3 install pyatv --upgrade`

Double click the release indigoplugin File and install.

All going well - nothing will happen...

Return to the terminal window and copy and paste the below:
_This removes the apple quarantine bit for downloaded files and is needed for full function, used in this plugin for ffmpeg and conversion of audio files.
Very annoyingly unlike the pip3 command it is needed everytime you upgrade!_

Arghh.. Apple...

#### `sudo xattr -rd com.apple.quarantine /Library/Application\ Support/Perceptive\ Automation/Indigo\ 2022.1/Plugins`

If you get a ton of red/errors. See Below, other skip ahead to PluginConfig
Potential issue:
You may need to install Command line tools for Xcode. It is because of the dependencies of pyatv is miniaudio which requires Clang to be installed to compile.
**See FAQ at bottom of this page if ongoing issues**
Can try: The below terminal command - if also fails see FAQ for manual method.
`xcode-select —install`

Common issue is your pip3 install command does not point to the Indigo Python3 install.
Check forums, can try with pip3.10 command (only works whilst Indigo is using Python3.10)
pip3 debug and check output given:

`pip version: pip 23.0.1 from /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pip (python 3.10)`

Directory given with pip version should look like list to be the proper Indigo one



### Steps:

Expand Down
2 changes: 1 addition & 1 deletion appleTV.indigoPlugin/Contents/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>PluginVersion</key>
<string>1.2.8</string>
<string>1.2.20</string>
<key>ServerApiVersion</key>
<string>3.4</string>
<key>IwsApiVersion</key>
Expand Down

0 comments on commit 959f8c1

Please sign in to comment.