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.
      • KenedaK Offline
        Keneda @lduboeuf
        last edited by

        @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

          @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!šŸ™‚

          lduboeufL 1 Reply Last reply Reply Quote 0
          • U uwahl has marked this topic as solved on
          • lduboeufL Offline
            lduboeuf @uwahl
            last edited by

            @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 Reply Quote 0
            • D Offline
              domubpkm @lduboeuf
              last edited by

              @lduboeuf Hello ! To summarize:

              sudo ubports-qa install PR_content-hub_18
              and after
              sudo ubports-qa install PR_music-app_68

              Is this correct before testing ?

              Do you think or know if the PR_music-app_68 be persistent after a reboot of the smartphone because there is currently a problem of non persistence of the playback feature of one title in loop after a reboot (see inside a comment of issue 85 music app), but maybe not related to music-app.

              lduboeufL 2 Replies Last reply Reply Quote 0
              • lduboeufL Offline
                lduboeuf @domubpkm
                last edited by

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

                sudo ubports-qa install PR_music-app_68

                Unfortunately we can't install a PR like this for music-app, you can checkout the PR and run clickable, but i admit more painful...

                1 Reply Last reply Reply Quote 1
                • lduboeufL Offline
                  lduboeuf @domubpkm
                  last edited by lduboeuf

                  @domubpkm Found a link to the music-app that CI has built: https://gitlab.com/lduboeuf/music-app/-/jobs/2215802697/artifacts/download?file_type=archive

                  EDIT: humm i'm afraid that way will not work because of the same version of the app.
                  I propose you to wait some weeks... šŸ™‚

                  D 1 Reply Last reply Reply Quote 1
                  • D Offline
                    domubpkm @lduboeuf
                    last edited by

                    @lduboeuf are you sure the page exist yet ?

                    lduboeufL 1 Reply Last reply Reply Quote 0
                    • lduboeufL Offline
                      lduboeuf @domubpkm
                      last edited by

                      @domubpkm yes, but as it is on my repo, that is maybe why...

                      D 1 Reply Last reply Reply Quote 0
                      • D Offline
                        domubpkm @lduboeuf
                        last edited by

                        @lduboeuf can you put the click test somewhere ?

                        lduboeufL 2 Replies Last reply Reply Quote 0
                        • lduboeufL Offline
                          lduboeuf @domubpkm
                          last edited by lduboeuf

                          @domubpkm here it is https://drive.google.com/file/d/1kdN967dB1eg_JGyJ8aqZKcM4WTj73U2N/view?usp=sharing

                          1 Reply Last reply Reply Quote 1
                          • lduboeufL Offline
                            lduboeuf @domubpkm
                            last edited by lduboeuf

                            @domubpkm i'm not sure if it will work well as there could be a conflict between the default music-app and that one ( content-hub ). I've just updates the link above as the version from my click was prior to the last music app

                            D 2 Replies Last reply Reply Quote 0
                            • D Offline
                              domubpkm @lduboeuf
                              last edited by

                              @lduboeuf Thanks. I desinstalled the first and after i installed yours. I must check how that works now.

                              1 Reply Last reply Reply Quote 0
                              • D Offline
                                domubpkm @lduboeuf
                                last edited by

                                @lduboeuf Is there only your .click to install or the pr content-hub 18 too with the .click ? Because only the .click doesn't seem to do what is expected for me.
                                But to be sure, what is expected exactly ? The dekko wav file should open directly in music-app and play directly ?

                                lduboeufL 1 Reply Last reply Reply Quote 0
                                • lduboeufL Offline
                                  lduboeuf @domubpkm
                                  last edited by

                                  @domubpkm yes, first install content-hub MR ( reboot) then that click.

                                  D 1 Reply Last reply Reply Quote 0
                                  • D Offline
                                    domubpkm @lduboeuf
                                    last edited by

                                    @lduboeuf There is a great progress: the dekko wav file is indeed read by the music app, but the file must be opened twice by the music app to be read.
                                    Another positive point is that the mechanism for playing one track in loop is still present after rebooting with your .click ! @danfro @CiberSheep

                                    KenedaK lduboeufL 2 Replies Last reply Reply Quote 0
                                    • KenedaK Offline
                                      Keneda @domubpkm
                                      last edited by

                                      @domubpkm
                                      Same behavior than this : https://forums.ubports.com/topic/7561/dekko2-how-to-open-attached-wav-files/19?_=1647926384437 ?

                                      2015-2023 : Meizu MX4 ā˜ ļøāš°ļøāœļø
                                      2023-2024 : Nexus 5 ā˜ ļøāš°ļøāœļø
                                      2024-***** : FPOS Fairphone 5 waiting UT for freedom šŸ˜‰
                                      šŸ‡²šŸ‡«šŸ‡¬šŸ‡§

                                      1 Reply Last reply Reply Quote 0
                                      • KenedaK Keneda referenced this topic on
                                      • lduboeufL Offline
                                        lduboeuf @domubpkm
                                        last edited by

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

                                        @lduboeuf There is a great progress: the dekko wav file is indeed read by the music app, but the file must be opened twice by the music app to be read.

                                        That should work without having to do it twice, at least on my tests here it plays well. But as i said, it could be there is a conflict with the existing music-app.

                                        lduboeufL 1 Reply Last reply Reply Quote 0
                                        • lduboeufL Offline
                                          lduboeuf @lduboeuf
                                          last edited by

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

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

                                          @lduboeuf There is a great progress: the dekko wav file is indeed read by the music app,  but the file must be opened twice by the music app  to be read.
                                          

                                          That should work without having to do it twice, at least on my tests here it plays well. But as i said, it could be there is a conflict with the existing music-app.

                                          I see, when the app is already opened it plays, when it needs to be opened it doesn't play but we should see the files at least.

                                          D 1 Reply Last reply Reply Quote 0
                                          • D Offline
                                            domubpkm @lduboeuf
                                            last edited by

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

                                            when the app is already opened it plays

                                            That's right.
                                            I did another test by opening music-app beforehand.
                                            In this case, the dekko wav file is read directly when opening it with music-app.

                                            lduboeufL 1 Reply Last reply Reply Quote 0
                                            • lduboeufL Offline
                                              lduboeuf @domubpkm
                                              last edited by

                                              @domubpkm i've just updated the click here : https://drive.google.com/file/d/1kdN967dB1eg_JGyJ8aqZKcM4WTj73U2N/view?usp=sharing

                                              that should fix the "does not autoplay file when not already opened"

                                              D stanwoodS 2 Replies Last reply Reply Quote 2
                                              • First post
                                                Last post