• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
UBports Robot Logo UBports Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Dekko2 how to open attached .wav files?

Scheduled Pinned Locked Moved Solved Support
44 Posts 6 Posters 6.4k Views 3 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • U Offline
      uwahl
      last edited by 12 Mar 2022, 20:41

      How can I open attached wav files directly by clicking on them?
      When clicking I get possible programs (seabass etc.) which are NOT useful for opening. I should get something like media preview. How can I change this behaviour? I there a central mime-list where I can connect special programs with special files?
      I remember wav files to be opened automatically about one year ago...
      Thanks for your help!

      A 1 Reply Last reply 13 Mar 2022, 10:57 Reply Quote 0
      • A Offline
        AppLee @uwahl
        last edited by 13 Mar 2022, 10:57

        Hi @uwahl

        This is the expected behavior.
        Preview is not implemented in Dekko2 (never checked but according to your experience), so an attachment is opened as it should via the media hub. The media hub give the user the possibility to share a specific data from one app to another.

        The proposed apps are based on what each app declares it is capable of handling.
        If you don't find a suitable app you should head to the open-store to find one and check if it supports the media hub as data/file input. If the selected app do not use the media hub, then try reaching for its developer/maintainer and open a change request.

        1 Reply Last reply Reply Quote 0
        • U Offline
          uwahl
          last edited by 15 Mar 2022, 20:51

          Hi @AppLee and thanks for the answer.
          Tried various apps like Music...but didn't work due to a problem with mediascanner (?).
          What a pity... Some other posibilities? In former times the direct opening of dekko2-attatched .wav files worked with the Music app.
          Other suggestions?
          On Nexus5 stable

          L 1 Reply Last reply 15 Mar 2022, 22:17 Reply Quote 0
          • L Offline
            lduboeuf @uwahl
            last edited by lduboeuf 15 Mar 2022, 22:17

            @uwahl yes, there is an issue with content-hub and music-app. I have a fix for that but we will need to wait 20.04 ( according to Ubpprts team )

            https://gitlab.com/ubports/core/content-hub/-/merge_requests/10

            Meanwhile you can play .wav files with dj turntable 🙂

            1 Reply Last reply Reply Quote 0
            • D Offline
              domubpkm
              last edited by domubpkm 16 Mar 2022, 03:30

              This post is deleted!
              L 1 Reply Last reply 16 Mar 2022, 07:57 Reply Quote 0
              • L Offline
                lduboeuf @domubpkm
                last edited by 16 Mar 2022, 07:57

                @domubpkm interesting, i thought it was a general issue. But if not, it may be harder to spot it.
                https://github.com/ubports/ubuntu-touch/issues/1766

                So you are able to export to music app and be able to read them ?

                D K 2 Replies Last reply 16 Mar 2022, 08:15 Reply Quote 0
                • D Offline
                  domubpkm @lduboeuf
                  last edited by 16 Mar 2022, 08:15

                  @lduboeuf As i said, i can open a wav attached dekko file with music and read it (not read directly as a preview, but by pressing the play button).

                  L 1 Reply Last reply 16 Mar 2022, 08:29 Reply Quote 0
                  • L Offline
                    lduboeuf @domubpkm
                    last edited by 16 Mar 2022, 08:29

                    @domubpkm
                    Doesn't work for me (xperiax arm64).
                    Wonder what can be the difference.
                    When looked into the issue, i've noticed a content-hub issue due to an apparmor policy. would it mean that Volla have a different layer of security ?

                    If i look at mediascanner logs, i see :
                    something like that:
                    New File was created:...
                    Extracting metadata:...
                    Added song to backing store:...
                    File was deleted: ....
                    New File was created
                    Error when adding new file

                    Do you have that workflow ?

                    D 1 Reply Last reply 16 Mar 2022, 09:01 Reply Quote 0
                    • D Offline
                      domubpkm @lduboeuf
                      last edited by 16 Mar 2022, 09:01

                      @lduboeuf You are right : in fact it doesn't work on the Volla too ! I really thought it worked but no : music app open on the previously read wav file that's why i thought it worked. So forget everything i said, sorry !

                      1 Reply Last reply Reply Quote 1
                      • U Offline
                        uwahl
                        last edited by 16 Mar 2022, 09:02

                        @domubpkm said in Dekko2 how to open attached .wav files?:

                        (not read directly as a preview, but by pressing the play button)

                        Music app doesn't "see"/find the .wav file when clicking on the .wav attachment. Music app tells: "no music found...", while the "spinning wheel" continues.
                        However I can read the file when storing it somewhere with the filemanager and open it then...But that's not the intended behaviour.

                        1 Reply Last reply Reply Quote 0
                        • K Offline
                          Keneda @lduboeuf
                          last edited by Keneda 16 Mar 2022, 09:56

                          @lduboeuf
                          Don't know if it's related to the gitlab content hub issue, but i noticed some time ago that if i try to open a video file (created by camera) from file manager with multimedia player app, then multimedia app launch and it spins forever.

                          Opening same video file directly from multimedia player app works.

                          2015-2023 : Meizu MX4 ☠️⚰️✝️
                          2023-2024 : Nexus 5 ☠️⚰️✝️
                          2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
                          🇲🇫🇬🇧

                          L 1 Reply Last reply 16 Mar 2022, 10:21 Reply Quote 0
                          • L Offline
                            lduboeuf @Keneda
                            last edited by 16 Mar 2022, 10:21

                            @keneda that could be related yes.
                            Content-Hub use a method to move a file, that method fails due to an apparmor restriction and makes media-scanner fails.

                            Now we need to wait for 20.04...

                            Meanwhile for the .wav, playing them with dj-turntable works...

                            K 1 Reply Last reply 16 Mar 2022, 11:20 Reply Quote 0
                            • K Offline
                              Keneda @lduboeuf
                              last edited by 16 Mar 2022, 11:20

                              @lduboeuf said in Dekko2 how to open attached .wav files?:

                              Now we need to wait for 20.04...

                              Well, i think my MX4 will wait forever...

                              2015-2023 : Meizu MX4 ☠️⚰️✝️
                              2023-2024 : Nexus 5 ☠️⚰️✝️
                              2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
                              🇲🇫🇬🇧

                              L 1 Reply Last reply 16 Mar 2022, 13:22 Reply Quote 0
                              • L Offline
                                lduboeuf @Keneda
                                last edited by lduboeuf 16 Mar 2022, 13:22

                                @keneda oh, true, i need to tell that to the team

                                So hotfix could be "sudo ubports-qa install PR_content-hub_10" ( RC or devel only )

                                K 1 Reply Last reply 16 Mar 2022, 15:04 Reply Quote 0
                                • K Offline
                                  Keneda @lduboeuf
                                  last edited by 16 Mar 2022, 15:04

                                  @lduboeuf
                                  I'm on stable, and maybe go RC if needed when support dropped for MX4, but thanks.

                                  2015-2023 : Meizu MX4 ☠️⚰️✝️
                                  2023-2024 : Nexus 5 ☠️⚰️✝️
                                  2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
                                  🇲🇫🇬🇧

                                  L 2 Replies Last reply 16 Mar 2022, 21:27 Reply Quote 0
                                  • L Offline
                                    lduboeuf @Keneda
                                    last edited by 16 Mar 2022, 21:27

                                    @keneda i will try with a c++ xenial compatible code if it work i will report it here if successfull

                                    1 Reply Last reply Reply Quote 0
                                    • L Offline
                                      lduboeuf @Keneda
                                      last edited by 17 Mar 2022, 13:06

                                      @keneda i've done something that should be ok with xenial. I will try to push it to the Team for OTA-24
                                      That would need an update of music app too.
                                      finger cross

                                      K 1 Reply Last reply 17 Mar 2022, 15:05 Reply Quote 3
                                      • K Offline
                                        Keneda @lduboeuf
                                        last edited by 17 Mar 2022, 15:05

                                        @lduboeuf
                                        You're awesome 😄
                                        I cross too 😅

                                        2015-2023 : Meizu MX4 ☠️⚰️✝️
                                        2023-2024 : Nexus 5 ☠️⚰️✝️
                                        2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
                                        🇲🇫🇬🇧

                                        1 Reply Last reply Reply Quote 1
                                        • U Offline
                                          uwahl
                                          last edited by 21 Mar 2022, 16:37

                                          @lduboeuf said in Dekko2 how to open attached .wav files?:

                                          "sudo ubports-qa install PR_content-hub_10" ( RC or devel only )

                                          Works for me! Thank you for the solution!
                                          The attached .wav files are copied into the "phablet/home/music/imported folder" correctly and then can be played by the Music-app. The first time when I tap on the attachment, the .wav file isn't opened. The spinning wheel continues (possibly, the first tapping does the copy into the "music"-folder?) then I have to close dekko. When re-opening dekko and repeat tapping, the wav file is flawlessly played, leaving two identic files inside the music folder etc.
                                          In the future, maybe, Music-app will allow directly deleting these files from inside the app...
                                          But I am happy with this solution in the moment.
                                          Thanks again!🙂

                                          L 1 Reply Last reply 21 Mar 2022, 16:58 Reply Quote 0
                                          • U uwahl has marked this topic as solved on 21 Mar 2022, 16:39
                                          • L Offline
                                            lduboeuf @uwahl
                                            last edited by 21 Mar 2022, 16:58

                                            @uwahl i've changes a bit things, now it is harder because you would have to install MR 18 from content-hub and #68 from music app...
                                            Tested yesterday, it seems to work

                                            D 1 Reply Last reply 21 Mar 2022, 19:35 Reply Quote 0
                                            3 out of 44
                                            • First post
                                              3/44
                                              Last post