Improved services
·
207 commits
to main
since this release
Added Features
- Dissolve rate_track service call, you can now directly call this function as shown below. This increases the user friendliness as direct calls have examples and are easier to select. (This not a breaking change, old function call still works)
service: ytube_music_player.rate_track
data:
entity_id: media_player.ytube_music_player
rating: thumb_up
- Added limit_count function. This can be used e.g. to auto stop playback after 3 tracks
service: ytube_music_player.limit_count
data:
entity_id: media_player.ytube_music_player
limit: 3
This was also enhanced from 20210719.02 to 20210720.01.
There are basically two limits: 1. in the config_flow (when you install or configure the integration) you set the request limit (how many tracks are requested at Ytube_music). This 2nd limit will reduce the amount of tracks that'll be loaded into the playlist. This is in particular important for the shuffle mode: If your playlist has 50 items but you only want to listen to 3 random ones you need to set the request limit high enough (50+) and the limit_count to 3.
Bugfix
Fixes the VID_CHANNEL mode, thanks to @sdrapha