Skip to content

Conversation

@GabbasovDinar
Copy link
Member

@GabbasovDinar GabbasovDinar commented Aug 28, 2024

These changes allow you to send notifications with an audible alarm.

@GabbasovDinar GabbasovDinar changed the title [IMP] web_notify:t3894 Allow notify with sound [16.0][IMP] web_notify:t3894 Allow notify with sound Aug 28, 2024
@GabbasovDinar GabbasovDinar force-pushed the 16.0-t3894-web_notify-sound-on-notification branch from e1ca00d to d8630d6 Compare October 8, 2024 12:11
Copy link
Member

@ivs-cetmix ivs-cetmix left a comment

Choose a reason for hiding this comment

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

Functional review LGTM

* specified settings like volume and looping. It also provides the ability
* to trigger actions when the audio playback ends.
*/
export class AudioPlayer extends Component {
Copy link
Member

Choose a reason for hiding this comment

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

Why not using a service like SoundEffects

Copy link
Member Author

Choose a reason for hiding this comment

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

@chienandalu

this service is limited to predefined sound effect settings and does not allow you to specify a link to any sound. In my case, only the sound effect link is passed for playback, which allows any sound to be dynamically played back

Copy link
Member

Choose a reason for hiding this comment

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

Yes, I mean, you can take inspiration in that code to implement your own sound service, resulting in a simpler impletation

Copy link
Member Author

Choose a reason for hiding this comment

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

@chienandalu I was already inspired by this effect to write the current solution :-)

Copy link
Member

Choose a reason for hiding this comment

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

Yes, I mean, you can take inspiration in that code to implement your own sound service, resulting in a simpler impletation

Hi @chienandalu, hope you are doing well! Would appreciate your review in order to proceed further.

@GabbasovDinar GabbasovDinar force-pushed the 16.0-t3894-web_notify-sound-on-notification branch from d8630d6 to 77e3a53 Compare October 15, 2024 07:40
@GabbasovDinar GabbasovDinar force-pushed the 16.0-t3894-web_notify-sound-on-notification branch 2 times, most recently from 0a1ad0d to 50e7956 Compare November 4, 2024 05:38
@ivs-cetmix
Copy link
Member

Hi @chienandalu could you please review the code again? Thank you in advance!

@ivs-cetmix
Copy link
Member

Hi @rvalyi , would appreciate you finding some time to review this. Really would be great to have it merged.

@GabbasovDinar GabbasovDinar force-pushed the 16.0-t3894-web_notify-sound-on-notification branch from 50e7956 to 802b34a Compare April 15, 2025 04:58
@ivs-cetmix
Copy link
Member

Hi @chienandalu @rvalyi would appreciate your review! We are using this module in several project already, I think community would definitely benefit from it too.

Copy link
Member

@chienandalu chienandalu left a comment

Choose a reason for hiding this comment

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

Just code review 👍

@OCA-git-bot
Copy link
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

@ivs-cetmix
Copy link
Member

Just code review 👍

thank you @chienandalu !

Copy link

@Bearnard21 Bearnard21 left a comment

Choose a reason for hiding this comment

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

LGTM

@Bearnard21
Copy link

@CarlosRoca13 Could you please merge the PR? Thank you.

Copy link
Contributor

@CarlosRoca13 CarlosRoca13 left a comment

Choose a reason for hiding this comment

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

/ocabot merge minor

@OCA-git-bot
Copy link
Contributor

On my way to merge this fine PR!
Prepared branch 16.0-ocabot-merge-pr-2923-by-CarlosRoca13-bump-minor, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 3f586a0 into OCA:16.0 May 5, 2025
7 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 06ef262. Thanks a lot for contributing to OCA. ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants