Offline cached files sometimes show as unavailable offline

Issue description:

Sometimes (I haven’t noticed a pattern), certain songs – which I can verify on the “Manage offline files” page are available offline – appear as offline in playlists. If I add a new copy of that song to the playlist, it does appear available offline, as if it’s somehow a different copy. However, the triple-dot => details panel for both tracks appear identical, both give the same filepath, both give the same media provider, and both say “Offline cached: Yes”.

Logs:

Upload description: entle

Additional information:

 

 

Reproduction steps:

 

  • Add songs to playlists over time
  • (??? - I’m sure there’s some other action or interaction here but I don’t know what it is)
  • Turn on “Hide media not available offline” filter
  • Disable cell & wifi connection (or take media provider offline)
  • Navigate to previously created playlists
     

Media provider:

Plex

Screenshots:

 

    

The logs should (based on when I recorded them) include navigating to the playlist and attempting to play the supposedly-not-available-offline tracks. I’d try and include detailed logs for a sync step, but I’m not certain I know how to reproduce whatever state I’ve gotten into, and not sure when I’d need to enable debug mode & trigger log submission to capture something useful.

The issue is most probably about how / when you offline cache the media and when / how you sync the playlist from the server.

The app probably loose the offline status during one of those, would be nice if you could find the repro steps.

I’ll keep checking to see if I can reproduce it over time, but I have no idea what the trigger was so it could take a while. The playlist was created locally in Symfonium. I offline-cached the media in bulk by checking the “Automatic media offline cached" for all libraries in provider options, and periodically hit the sync icon in “Manage offline files => Auto offline rules” to force it to be up-to-date.

You never pull the playlist from the server ?

The auto offline rules never needs to be forced they are run after each sync with the server. Seems there’s something else here.

I think I’ve figured this out.

At some point in the past year, I moved my Plex server from one machine to another. The library filepaths are slightly different on the new system than they were on the old. Following these steps, I migrated the libraries in Plex itself such that it re-discovered the new files, associated them with the same tracks, and play counts, etc. were maintained.

However, if I export the playlist from Symfonium, I still see the full filepath of the track from my old Plex install.

Some further debugging shows:

  • When I turn on the “Hide media not available offline” filter, these tracks are greyed out, and they’re auto-skipped (if I try to play them, Symfonium instead advances to the next non-greyed-out track).
  • However, if I turn that filter off, then the tracks are no longer greyed-out, and I can play them even while completely offline (airplane mode / wifi off).

It seems like I have two problems here: my playlists contain a “version” of the track with an out-of-date Plex filepath, and Symfonium’s “Hide media not available offline” filter doesn’t use the same logic as whatever is allowing it to otherwise successfully find matching tracks while I’m offline.

So yes it’s “normal” Symfonium offline cache is based on the filename/path to work between multiple providers to support multiple instances for tests or migrating between 2 providers and other cases.

Playlists are static and not tied to the db changes to avoid loosing their content when moving stuff around like you did. But now the files can’t be matched.

There’s no easy fix here to keep the order of the playlists, but you can fix the content with a smart playlist with in playlist targetting the current broken playlist. Then export as normal playlist to have a fixed playlist.