Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[kaleidescape] Add movie end time and music title channels #17423

Merged
merged 3 commits into from
Sep 17, 2024

Conversation

mlobstein
Copy link
Contributor

This PR adds the following channels to the binding:

  • Title End Time: The date/time when the currently playing movie will end.
  • Music Title: The raw output from the MUSIC_TITLE api response for use in rules that require track, artist and album changes in one update.

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
@mlobstein mlobstein added the enhancement An enhancement or new feature for an existing add-on label Sep 16, 2024
Comment on lines 388 to 390
<tags>
<tag>Timestamp</tag>
</tags>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can't set only a property, you have to combine it with a Point property.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. There are many examples of this without Point in the shelly binding.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was not defined as expected in the Shelly binding !

Rather use a more specific value. I hesitate between "Status" and "Measurement".

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
Copy link
Contributor

@lolodomo lolodomo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you

@lolodomo lolodomo merged commit 6c77b16 into openhab:main Sep 17, 2024
5 checks passed
@lolodomo lolodomo added this to the 4.3 milestone Sep 17, 2024
@mlobstein mlobstein deleted the kaleidescape_endtime branch September 17, 2024 18:29
digitaldan pushed a commit to digitaldan/openhab-addons that referenced this pull request Sep 24, 2024
…7423)

* Add movie end time and music end title channels

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
joni1993 pushed a commit to joni1993/openhab-addons that referenced this pull request Oct 15, 2024
…7423)

* Add movie end time and music end title channels

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
matchews pushed a commit to matchews/openhab-addons that referenced this pull request Oct 18, 2024
…7423)

* Add movie end time and music end title channels

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
cipianpascu pushed a commit to cipianpascu/openhab-addons that referenced this pull request Jan 2, 2025
…7423)

* Add movie end time and music end title channels

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement or new feature for an existing add-on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants