Dekko2 how to open attached .wav files?
-
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! -
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. -
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 -
@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
-
This post is deleted! -
@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/1766So you are able to export to music app and be able to read them ?
-
@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).
-
@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 fileDo you have that workflow ?
-
@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 !
-
@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. -
@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.
-
@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...
-
@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...
-
@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 )
-
@lduboeuf
I'm on stable, and maybe go RC if needed when support dropped for MX4, but thanks. -
@keneda i will try with a c++ xenial compatible code if it work i will report it here if successfull
-
@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 -
@lduboeuf
You're awesome
I cross too -
@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! -
-
@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