Comments (2)
I couldn't reproduce it just by opening the app after unpacking these files. After manual rescanning of media, those files indeed lost their covers. I could also reproduce it by clearing all app data. What's interesting, I don't have this problem with covers saved in FLAC files.
from music-player.
I have a temporary fix working but it's not perfect. I'm at a dead end. I found that if I set coverArt to "" (blank string) it works, but is a little glitchy on loading them, like takes a half second or so, and the track list in the activity sometimes loads the wrong one.
SimpleMediaScanner.kt
app/src/main/kotlin/org/fossify/musicplayer/helpers/SimpleMediaScanner.kt
line 248
//val coverUri = ContentUris.withAppendedId(artworkUri, albumId)
line 249
//val coverArt = coverUri.toString()
line 250
val coverArt = ""
The problem I'm facing now is the difference between how getTracksSync()
and getAlbumsSync()
differ in their MediaStore. getTracksSync()
uses Android.Media while getAlbumsSync()
uses Android.Albums for the cursor query. It seems that the album sync is able to set the artwork fine but the tracks sync does not. I have no idea what exactly is going on but this is a temporary fix for me.
If you want to test this build I uploaded it. It's a debug build, couldn't figure out how to build a release apk.
https://drive.google.com/file/d/1p5_Y5k47GdsNqWovdH3x0Z_0d29OkWf5/view?usp=sharing
from music-player.
Related Issues (20)
- Track number displays 0 despite metadata not set HOT 3
- Single Title Mode HOT 5
- Add 'Album Artists' to managed tabs HOT 4
- Skip Uses Wrong Button Icon HOT 5
- Cannot play music without granting notification permission HOT 3
- Update metadata in app HOT 1
- Add configurable root directory for scanning for music. HOT 3
- Add a separate icon for the shuffle button when in the "shuffled" state. HOT 3
- Option for browsing folders as a tree structure
- Customizable fade in/fade out time when pausing
- App unable to open after prolonged period of inactivity
- Allow queueing the same song multiple times HOT 4
- Context dependent menu options only visible after first tab change HOT 1
- Jump to time option
- Artist tab not working for albums with multiple artists HOT 1
- Filenames get persisted to disk
- Removing track from one playlist removes it from all playlists HOT 1
- Album-Shuffle Mode
- Shuffle All HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from music-player.