podverse / podverse-rn

Podverse mobile app written in React Native for iOS, Android, and F-Droid
https://podverse.fm/about
GNU Affero General Public License v3.0
219 stars 36 forks source link

Album art for podcast episode fails to download completely #1693

Open DocDoo opened 1 year ago

DocDoo commented 1 year ago

Describe the bug On the playback control screen for an episode, the album art image is displayed as only partly downloaded.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'a podcast episode'
  2. Click on 'the start playback icon'
  3. In the next screen (playback control) see error.

Expected behavior Album art images are always completely download or pending download

Screenshots Screenshot_20230215-084059_Podverse

Smartphone (please complete the following information):

Additional context I live in a place with very good WiFi and 4G coverage, so I would generally never say that my phone always has good connectivity.

Please feel free to join our Discord and chat with us in the #dev channel if you'd like to work on this.

illumiN8i commented 1 year ago

I encountered this issue also. It seemed to happen shortly after I rebooted my Pixel 5 and launched podverse immediately. The phone seemed to be lagging due to being freshly booted and background processes were likely still starting up, so maybe the device lag contributed to the bug occurring. Swiping the app away and relaunching it seemed to fix the half missing album art.

mitchdowney commented 1 year ago

@illumiN8i I've run into this more lately as well, and I think you're right about "lagging due to freshly booted".

At the moment, I'm not sure how we even determine within our code that an image is only partially downloaded. That's my main blocker. The component doesn't throw an error afaik...it just downloads a little then stops. Anyway, it's a really ugly bug I hope to fix. Not sure how yet though.