svrooij / node-sonos-ts

:speaker: Sonos control library, use this library in your own appliction.
https://sonos-ts.svrooij.io/
MIT License
84 stars 18 forks source link

PlayMode splited in Repeat and Shuffle #170

Closed svrooij closed 2 years ago

svrooij commented 2 years ago

PlayMode splited in Repeat and Shuffle

Description

Sonos saves the PlayMode in one ENUM with 6 states, but actually it's Shuffle Yes/No and Repeat Off/RepeatOne/RepeatAll. The library now has thse splitted into two. And you're able to set either and the PlayMode is computed automatically.

Your checklist for this pull request

🚨 Please review the guidelines for contributing to this repository.

💔 Thank you!

coveralls commented 2 years ago

Pull Request Test Coverage Report for Build 2942447240


Changes Missing Coverage Covered Lines Changed/Added Lines %
src/helpers/playmode-helper.ts 10 11 90.91%
<!-- Total: 30 31 96.77% -->
Totals Coverage Status
Change from base Build 2731068019: 0.2%
Covered Lines: 1684
Relevant Lines: 2019

💛 - Coveralls
github-actions[bot] commented 2 years ago

:tada: This PR is included in version 2.6.0-beta.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: