Git Product home page Git Product logo

Comments (8)

ryanheise avatar ryanheise commented on June 3, 2024

This plugin doesn't have anything to do with the audio stream anyway, so there is nothing to do here.

from audio_service.

devjamescockfield avatar devjamescockfield commented on June 3, 2024

This plugin doesn't have anything to do with the audio stream anyway, so there is nothing to do here.

My intention is to have a live audio stream. There is no way of changing the data for the notfication unless it uses a playlist. This is a plucgin issue and if you re-read my cause its to be able to dynamically change the information shown on the notification.

If this is not possible, can you let me know how to disable the notification so I can implement my own notification for the use I want.

Cheers

from audio_service.

devjamescockfield avatar devjamescockfield commented on June 3, 2024

For context I have an api that has the current playing song and I want to display this in a notification where the user can see the current song and be able to control the play/pause of the audio.

from audio_service.

ryanheise avatar ryanheise commented on June 3, 2024

There is still nothing to do here.

The audio playback is a completely separate thing from the notification, and this plugin only provides APIs to manage the latter. It's entirely up to your own app logic how you coordinate the two, and this plugin does not know or care how you do that. The plugin will merely update what's on the notification to whatever you want whenever you want, which surely suffices, and which is why there is nothing to do here.

from audio_service.

devjamescockfield avatar devjamescockfield commented on June 3, 2024

Your plugin creates the notification so it is still related to this plugin unless just_audio creates the notification however from my reserch this is not the case. I understand what you are pointing out however I do no think you are understanding where I am comming from.

from audio_service.

ryanheise avatar ryanheise commented on June 3, 2024

If you understand what I am pointing out, is there any reason to keep this feature request open? Just because your app uses this plugin, and does other stuff, does not mean that the other stuff is the responsibility of this plugin. This plugin is only responsible for displaying the notification when you want with the data you want, and I can't imagine your feature request could need anything more than that.

If you disagree, please edit your feature request to clarify how the ability to update the notification to whatever you want, whenever you want is not sufficient for your use case. I'm baffled. Or if you understand exactly what I have pointed out, then please close the feature request.

from audio_service.

ryanheise avatar ryanheise commented on June 3, 2024

Just to prevent this going on for longer than it should, I'll go ahead and close the issue. audio_service clearly doesn't suffer from the limitation you describe. This plugin provides the API to update the notification with whatever data you want whenever you want, and any limitation preventing you from doing that must be external to this plugin and hence should not be raised here. There is literally nothing to be done here.

from audio_service.

github-actions avatar github-actions commented on June 3, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs, or use StackOverflow if you need help with audio_service.

from audio_service.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.