Closed motatuc closed 7 years ago
Wow, did Lineage already got build servers working? Seems like I have missed a lot.
Will take a look at weekend.
Not so far. There's a need to compile for yourself. :)
About the crash: The music files are on the external SD card. Maybe this makes a difference.
Ok, I'll build up Nougat emu in a day or two and see what's happening
Same issue on 6.0.1 also writing to SD Card, my feeling is it's to do with storage access framework.
@GaloisGhost , you're right, I'm researching it
The SAF makes it simple for users to browse and open documents, images, and other files across all of their their preferred document storage providers. A standard, easy-to-use UI lets users browse files and access recents in a consistent way across apps and providers.
Oh the irony
Looks like SAF does not express needed interfaces for us to be able to write file tag. It can only provide file descriptor, while we need seek-based file access.
I've tried some hacky ways to workaround this, but unfortunately all my attempts failed. I stored my observations and initial work in saf-struggles branch, so if anyone has more deep knowledge of Android framework, I'd gladly accept related PR.
For now I'll be showing a toast with explanation why file write failed. Sorry.
@GaloisGhost , @motatuc , 1.1.1 version is now on F-Droid, try it
Hello
I am using vanilla-music 1.0.47, lyrics-plugin 1.0.1 and music-tag-editor built yesterday from source. Playing a song and loading the according lyrics works fine. However, pressing the write button throws an exception. Running this on Android N (Lineage 14.1)