ACTION is the operation to perform on the speaker.Partial matches must be unambiguous, or an error is returned. Partial, case-insensitive speaker names will be matched, e.g., kit will match Kitchen. SPEAKER identifies the speaker to operate on, and can be the speaker's Sonos Room (Zone) name or its IPv4 address in dotted decimal format.If the sonos command is not found, make sure your PATH is set up correctly for the Python installation you want to use. The installer adds the sonos command to the PATH. Please see the CHANGELOG.txt file for a list of the user-facing changes in each release. Soco-CLI can also be easily installed as a self-contained application with pipx using pipx install soco-cli. Install the latest version from PyPI using pip install -U soco-cli. Works with Sonos 'S1' and 'S2' systems, as well as split S1/S2 systems.Tested on various versions of Linux, macOS and Windows. Should run on all platforms supported by Python.The HTTP API Server functionality requires Python 3.7 or above.Python 3.6 and above supports the latest version of the SoCo library. For Python 3.5, the latest compatible version of the underlying SoCo library is v0.27.1.(Requires Python 3.7 or above.) Supported Environments SoCo-CLI can also run as a simple HTTP API server, providing access to a huge range of actions via simple HTTP requests. SoCo-CLI can be imported as a streamlined, high-level API library by other Python programs, and acts as an intermediate abstraction layer between the client program and the underlying SoCo library, simplifying the use of SoCo. SoCo-CLI has an orderly command structure and consistent return values, making it suitable for use in automated scripts, cron jobs, etc.įor interactive command line use, SoCo-CLI provides a powerful Interactive Shell Mode that improves speed of operation and reduces typing. Audio files from the local filesystem can be played directly on Sonos. Multiple commands can be run in sequence, including the ability to insert delays between commands, to wait for speakers to stop or start playing, and to create repeated action sequences using loops. SoCo-CLI is written entirely in Python and is portable across platforms.Ī simple sonos command provides easy control over a huge range of speaker functions, including playback, volume, groups, EQ settings, sleep timers, alarms, speaker settings, the playback queue, etc. SoCo-CLI is a powerful command line wrapper for the popular Python SoCo library, for controlling Sonos systems. Macros: Defining Custom HTTP API Server Actions.Waiting Until Playback has Started/Stopped: wait_start, wait_stop and wait_end_track.Chaining Commands Using the : Separator.Spotify, Tidal, Deezer, and Apple Music Share Links.SoCo-CLI: Control Sonos from the Command Line.With the same name as one huge album, after all you could haveġ0 Greatest Hits albums.SoCo-CLI: Control Sonos from the Command Line Surprising how simple things are wrong, such collating albums When comparing to other UPnP servers, it is Instances, each with different audio libraries Asset Collections: create add additional asset.Runs efficiently in the background detecting new & changed tracks,.ReplayGain can be applied to Wave, LPCM and mp3 stream, volume matching across tracks for devices which have no support,.Capture the PC sound output and stream to a UPnP player (Windows Vista or newer),.DSD and DFF compatibility, decode, send untouched or DSD DoP.Configurable Wave, LPCM or mp3 decoding (no quality loss) for devices which cannot play specific audio types,.Customizable browse tree with advanced search facilities (Album by Release, Style, Composer, Conductor.),.Dynamic Browsing, include / Exclude Genres, or Years with ease.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |