AppleTV Plugin Updates / Download Location

Posted on
Sat Nov 26, 2022 10:49 pm
GlennNZ offline
User avatar
Posts: 1555
Joined: Dec 07, 2014
Location: Central Coast, Australia

AppleTV Plugin Updates / Download Location

Version 0.0.15


https://github.com/Ghawken/appleTV-indi ... /releases/

Changelog


Expose Every current and future remote command. NB: Not all will be available all the time, or on every device.

Image

Image


About to test - but this should allow BlueIris/Camera video feed URLs to be directed straight to appleTV when trigger/on command...

Additional Remote control states - allow arguments to be sent.
Enabling set volume, double tap, hold, play_URL etc.

MenuItem: Add Logging info to show all Commands possible (not available!)
MenuItem: Add Logging info to show Features available for each Device


Remove unrecognised devices from being created. (Tested Sonos devices can't work use Airplay2, and unknown encryption)
Should allow AppleTVs (all) and HomePods (untested)
Restart Device after pairing (avoiding need to restart plugin if connection issues)
Fine tuning some aspects.
More repeated reporting of PowerState

Posted on
Sun Nov 27, 2022 4:01 am
GlennNZ offline
User avatar
Posts: 1555
Joined: Dec 07, 2014
Location: Central Coast, Australia

Re: AppleTV Plugin Updates / Download Location

Version 0.0.16

Add force Discovery to allow discovery of all airplay/appleTV devices. Appears to be needed in the newer 4k model and perhaps for others (?)

( Seems like the command to play URL fails in OS16 unfortunately…. hoping for a fix down the track… )


Sent from my iPad using Tapatalk

Posted on
Mon Nov 28, 2022 2:59 am
GlennNZ offline
User avatar
Posts: 1555
Joined: Dec 07, 2014
Location: Central Coast, Australia

Re: AppleTV Plugin Updates / Download Location

Version 0.0.21

Fix reconnection/device disconnected issues with much! better handling of disconnect/reconnect
Add pyatv verbose logging (Debug checkbox in plugin Config) Only logs to file given volume
Refactor main appleTVListener loop to restart after any issue
Bug fix for connectionlost/close that wasn't leading to correct restart
Hopefully fix menu loading for actions remote commands
Change Indigo LogFileHandler to manage %s that would otherwise appear in file log.
Update some images
Prompt message if attempt to send command to non-connected device.

0.0.17

Sort out reloading of remote commands not displaying until save and reopen
Add error catching around commands - in case some that aren't compatible with various devices
On restart/disconnet reload app_list


Sent from my iPhone using Tapatalk

Posted on
Wed Nov 30, 2022 11:02 pm
GlennNZ offline
User avatar
Posts: 1555
Joined: Dec 07, 2014
Location: Central Coast, Australia

AppleTV Plugin Updates / Download Location

New Release:

Image

0.0.23


Move to unicast connection for those devices that have a IP (may help with intermittent connection issues)
Alternate back to multicast after 3 failures.
Messaging around commands being sent with arguments when they shouldn't
Move back to standard indigo file Logging given issue resolved.

0.0.24
Remove support for MRP disabled in OS16 and causes authentication failures

0.0.25
Re-Add MRP support, IF device supports it - without it PowerState Reporting fails/is not reliable.
It seems that MRP state is being depreciated by apple so may go completely in future.
More debug logging of service setup.

0.0.26
Add pluginConfig option for unicast scanning of a single IP address for device creation.
Useful when multicast fails to find device without power cycle Update images

Image

Posted on
Sat Dec 10, 2022 12:29 am
GlennNZ offline
User avatar
Posts: 1555
Joined: Dec 07, 2014
Location: Central Coast, Australia

Re: AppleTV Plugin Updates / Download Location

Image

0.1.1- 0.1.10
Adds & Extend Homepod support

0.1.9-0.1.10

Add Action Group to Send Text to Speech annoucement to HomePods with current OSX System voice
(Change current voice in OSX settings voices)

Allows Device and Variable subsitution so can read weather forcast etc. depending on setup

NEEDS ffmpeg (included in plugin), likely to need quaranatine command run on new install
Add messaging for this.
Converts text to speech with system say command and then converts to mp3 for playback. Add a slight delay but seems to be under a second in my testing.

Image

0.1.1

Add support for Homepod and potentially other devices...

Notes for HomePods

These devices do not need to be paired - but once created setup the connect in the Device Edit screen

Play_URL for Homepod reports unsupported.

However Stream_File, or the Remote setting:
"Stream local file or remote file to device"

Works

Optional Argumment:
https://www.soundhelix.com/examples/mp3 ... Song-1.mp3
or
Local file: (like)
/Users/Indigo/Desktop/doorbell-1.mp3
Works.

To generate voice file:
In terminal
Code: Select all
say "Person arrived Home" -o personhome.aiff


Homepod Stream File seems to need a mp3 files
ffmpeg commandline tool can convert say generated aiff

Code: Select all
ffmpeg -i Input.aiff -f mp3 -acodec libmp3lame -ab 192000 -ar 44100 Output.mp3


Tempted to add a Action Group to automate all this.. (done in new version 0.1.9 above)

Homepod:
Appears Pause/Play toggle button unsupported.

But volume control and seperate play, and Pause button function fine.

The above Stream file means can use TTS and play your own mp3 files as annoucement action Groups

Posted on
Sat Aug 05, 2023 10:34 pm
GlennNZ offline
User avatar
Posts: 1555
Joined: Dec 07, 2014
Location: Central Coast, Australia

Re: AppleTV Plugin Updates / Download Location

Image

New Version 1.2.0

In Store, updated Readme
Now supports all appleTV devices, Homepods and all Airplay2 compatible speakers/Receivers etc.

Updated main Readme for version 1.2.0

Changes since 1.0.1 Release

Requires pyatv 0.,13.3 -- now released
Please run:
Code: Select all
pip3 install pyatv --upgrade


Support Library updates: Big Ticket Changes

Play URL command
Fixes play URL command for >OS16.4 - can't get BI camera streams working, but https:// mp4 and mu38 play well. (if particularly file doesn't play will relate to compatible file settings)

Airplay2 Speaker Support
Adds Airplay2 Speaker Support - allows playback of file to all Airplay2 devices.
Allows creation of indigo device for Airplay2 Speaker, and then file playback to these devices, including all Sonos Speakers that I have tested. (Note does not allow control of Airplay2 devices, just playback, further control will likely follow)

Expanded Remote Control Commands:

Image
Image



Other Library changes

    Better power state reporting, now seems robust
    Improved audio buffering
    Support for changing output device in tvOS
    Support for activating screensaver
    Listener interface for volume updates
    Text/Keyboard Input API
    Updated Device types, Apple4kGen3, Homepods etc
    Use pure audio frames, rather than ALAC frames improving performance
    Ability to set own artwork when streaming
    Bitarray dependency dropped
    macOS added as Operating System

Plugin Changes
    Few logging changes
    Re Working of Connection lost logic, reuse the same async task
    Add Volume state, with Volume listener - updating device whenever volume changes, as an immediate push update. New states to support as much.
    Delete MRPPort state
    Add CompanionPort State
    Fill the previous blank Port states.
    Fix About URL link in pluginConfig

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest