Cached not playing offline

App version

Beta

Issue description

While offline (not connected to server) attempting to play a playlist or album or track that is cached will not play, and artist/album views show “media provider is currently offline” where the playback options usually appear even though the media has been cached.

Device type

Phone

Media provider

Navidrome

Steps to reproduce

  1. turn off wifi
  2. open any playlist/artist/album that has been cached
  3. choose any play option (play all/shuffle/play track)
  4. watch play/pause button spin and eventually skip to next track and spin, skip, etc

I searched existing issues first

on

I understand that logs are mandatory

on

Log upload name / description

triclops_cached not playing offline

Please update to 16.0.0 Beta 3 and retry. Your logs are from Beta 1. If Google Play doesn’t offer Beta 3, read its announcement under release notes and APK instructions for how to get the official APK.

The failed tracks aren’t marked as available offline in these logs. I can’t yet tell why that differs from the downloads you expected to have.

If it still happens, please capture fresh debug logs. Enable debug mode while connected to your server, download one track for offline use and wait for it to finish, then turn off Wi-Fi and play that same track. Disable debug mode and upload the logs promptly. Reply here with the upload description and the time the problem occurred.

I updated and still have the issue. I’m noticing the songs in cached playlists show cached symbol but if I select details it says not cached or navigate to the album view those same songs do not show as cached. I can also find them in offline files in manage storage settings but again if i locate them in the library they say not cached. Newly added tracks that fall into auto cache rules are cashed and will play offline.

Not sure if this is related but every time I open a playlist it says “sync in progress” for several seconds, even when offline.

You probably have moved the file and the cache no more match things. Remove the playlist and import it again then offline cache what’s missing and cleanup.

It seems to be working now. I deleted all offline cache rules, full sync, cleanup, added offline cache rules, full sync. Now it seems to locate the offline files for playback in offline mode. Maybe just needed to re-establish file links or something