Summary: | Sending m4a file to phone via KDE Connect changes extension to mp3. | ||
---|---|---|---|
Product: | [Applications] kdeconnect | Reporter: | Lucas Henderson <LucasHenderson> |
Component: | android-application | Assignee: | Albert Vaca Cintora <albertvaka> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | nicolas.fella, odin.vex, wael.ch21, willteam35 |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Lucas Henderson
2022-09-24 15:14:20 UTC
With further testing, I've found that .qt files get changed to .mov, and .jpeg files get changed to .jpg. I suspect something is mapping the extension to a mime type, then back to an extension. Why the extension is being modified at all, no idea. I've debugged this a long time ago, and IIRC the problem is this: When "saving" the file Android automatically appends an extension, so if we just passed the full filename to Android we'd end up with foo.bar.bar. To work around this we pass only foo and have Android append the extension based on the file type. Some types have more than one possible extension (e.g. jpg vs jpeg) so sometimes we end up with a different one than we started with. I'm not saying there's no way to fix that, but if there is one I didn't find it back then I can confirm. In my case .ai (Adobe Illustrator files) got changed to .ps as extension. *** Bug 468924 has been marked as a duplicate of this bug. *** My .opus files got renamed to .oga and my Android music player can't play it. I hope it is possible to fix this bug, with that said, KDE Connect is still the best! |