z-huang / InnerTune

A Material 3 YouTube Music client for Android
GNU General Public License v3.0
4.91k stars 301 forks source link

Cover images for downloaded songs don't load from cache after a day #1479

Open itxnotsaqlain opened 3 months ago

itxnotsaqlain commented 3 months ago

Checklist

Steps to reproduce the bug

  1. Download some songs
  2. Cover images are shown for a day
  3. After that they gone blank
  4. They get redownload into cache when internet is available and if it isn't available then covers don't show at all.

Expected behavior

Covers for downloaded songs should load from cache normally

Actual behavior

Instead they gone blank after a day, and I have to manually scroll through 1100 plus songs for them to redownload into cache. And have to repeat this process every day which is frustrating tbh.

Screenshots/Screen recordings

Today I have already manually scrolled entire playlist to redownload the covers into cache, also updated to the latest version 0.5.9 which came an hour ago from posting of this issue, I will soon share a screen recording of the problem whenever I get that, while below is the recording of current state which is good.

https://github.com/user-attachments/assets/30f37dd6-be07-4c42-a60a-84e2edb6e4ba

Edit: This is the screen recording after almost 8 to 10 hours of manually scrolling of playlist and the covers got blanked again. I don't know why this is happening as I don't even clear the cache or anything.

https://github.com/user-attachments/assets/e2d3d950-dc50-441f-8726-553bc93d8886

Logs

None

InnerTune version

Latest (0.5.9)

Android version

Android 13

Additional information

Some Things I wanna clear; First of all thanks for developing such an amazing app, its simple, responsive and stable. Second, I don't manually clear cache and every battery and storage optimization for the app is off.

Anonuser-code commented 3 months ago

Out of topic but how do you back up all these songs?

itxnotsaqlain commented 3 months ago

Out of topic but how do you back up all these songs?

Well that could be a useful and time saving feature but I don't think there's a method to backup the downloaded songs and that would take so much storage. I just shared my playlist from YouTube music to this app and downloaded the songs.

itxnotsaqlain commented 3 months ago

@z-huang is there any solution for this? Kindly consider this issue in your next release, it is really frustrating please.

z-huang commented 3 months ago

Is anyone experiencing this, too?

Can you observe the image cache size in the app settings? Does it decrease, overflow, or not change?

itxnotsaqlain commented 3 months ago

Is anyone experiencing this, too?

Can you observe the image cache size in the app settings? Does it decrease, overflow, or not change?

Sorry for late reply Yes image cache size decreases when it happens

z-huang commented 3 months ago

That means the image cache is deleted. It's likely that this is done by your OS. InnerTune doesn't clear image cache unless you manually click that button.

itxnotsaqlain commented 3 months ago

All the optimizations for the app are disable, furthermore image cache for other music apps like RiMusic or any other don't get cleared. It only happens with this app