Navigation

    UBports Robot Logo

    UBports Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. digi6622
    D
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 14
    • Best 1
    • Groups 0

    digi6622

    @digi6622

    1
    Reputation
    5
    Profile views
    14
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    digi6622 Unfollow Follow

    Best posts made by digi6622

    • RE: Python should reset PulseAudio

      Just a few basic thoughts from me:
      Many mobile OS have disappeared because there simply wasn't much choice in apps. UT also doesn't have a wide distribution because there aren't many apps available. My wife would never switch from Android to UT for this reason. She simply lacks the little "helpers".
      Therefore, it is important that every app, no matter how small, should be gratefully accepted. Every developer should be encouraged to continue to work for the community in his spare time (thanks to arubislander). His intentions should not be questioned. It doesn't have to be the huge "you-can-do-anything" app. Even the smallest app strengthens the OS. That's the only way UT can become something big.

      posted in App Development
      D
      digi6622

    Latest posts made by digi6622

    • RE: Python should reset PulseAudio

      @klh Yes, you are right.
      Testing on my app revealed that the screen must kept on to activate the sleep timer. This is unacceptable.

      But the WIP of Music Player / Sleep timer shows no activity since 2 years and the trial version with the fix is outdated.

      posted in App Development
      D
      digi6622
    • RE: Python should reset PulseAudio

      Just a few basic thoughts from me:
      Many mobile OS have disappeared because there simply wasn't much choice in apps. UT also doesn't have a wide distribution because there aren't many apps available. My wife would never switch from Android to UT for this reason. She simply lacks the little "helpers".
      Therefore, it is important that every app, no matter how small, should be gratefully accepted. Every developer should be encouraged to continue to work for the community in his spare time (thanks to arubislander). His intentions should not be questioned. It doesn't have to be the huge "you-can-do-anything" app. Even the smallest app strengthens the OS. That's the only way UT can become something big.

      posted in App Development
      D
      digi6622
    • RE: Python should reset PulseAudio

      @klh said in Python should reset PulseAudio:

      @digi6622 I don't see any feature requests about what you describe here: https://gitlab.com/ubports/development/core/mediaplayer-app/-/issues
      Where was the request made if nobody responded to it?

      You can find requests here:

      https://open-store.io/app/com.ubuntu.music
      https://forums.ubports.com/topic/4879/flas-sleep-timer

      posted in App Development
      D
      digi6622
    • RE: Python should reset PulseAudio

      @arubislander
      Thanks again !!!
      It sounds very simple. Actually, I had assumed that the sound outputs (media-hub and playing a wav-file) were on different sound slots and thus did not affect each other. Therefore I did not think in this direction at all. But I give it a try. Thanks a lot.

      I would like to reiterate that, as a proof of concept and by way of exercise, this is all very well. But a proper sleep functionality should be either implemented in the OS somewhere, as a global feature (maybe in settings?), or in the Music app itself as a local feature.

      I understand your concerns. Neverteheless I would like to offer my app in the OpenStore, because some members here in the forum (including me) wish this app. The maintainers of UT and MediaPlayer did not respond to this request.

      posted in App Development
      D
      digi6622
    • RE: Python should reset PulseAudio

      @arubislander
      QML and Javascript are okay.

      posted in App Development
      D
      digi6622
    • RE: Python should reset PulseAudio

      @arubislander said in Python should reset PulseAudio:

      @digi6622 and is using Python a hard requirement?

      It would be nice if possible. I'm not fit in C++ or other codings.

      posted in App Development
      D
      digi6622
    • RE: Python should reset PulseAudio

      @arubislander

      Maybe slide I to my DM's to talk it through?

      That would be really nice !
      In short words what my app should do:

      • Select a certain number of minutes (it already works)

      • Go to sleep for the number of minutes (works too)

      • After this time the app close media-hub or decrease volume of this soundchannel or mute pulseaudio (= my problem)

      posted in App Development
      D
      digi6622
    • RE: Python should reset PulseAudio

      @arubislander
      Thanks again.
      Now, I give up the project. Maybe someday I will start a new and completly different.

      posted in App Development
      D
      digi6622
    • RE: Python should reset PulseAudio

      @arubislander
      Thanks for your kind support and the encouraging words.

      I think I found a solution in

      https://forums.ubports.com/topic/7981/change-volume-from-command-line/10?lang=de

      At least it sounds like a possible solution if UT plays along.๐Ÿคจ ๐Ÿ˜„

      The command "pactl" should do the trick.

      posted in App Development
      D
      digi6622
    • RE: Python should reset PulseAudio

      @arubislander
      Thanks, Arubislander.
      It's a little bit frustrating but I will continue to search for the right solution.

      posted in App Development
      D
      digi6622