Pre-cache .opus songs not working on Dropbox

App version

Production

Issue description

I recently migrated all my files from GDrive to Dropbox and while doing it I restored the settings few times trying to get my favorites work on Dropbox. After realizing it won’t work I found all my .opus songs have 2 seconds gap between each song even though having the working pre-cache settings. I initially thought it was the backup file causing the trouble but it turns out it was .opus files on Dropbox provider. (edited)

Device type

Phone

Media provider

Dropbox

Steps to reproduce

  1. Add .opus albums with Dropbox.
  2. Play any random song to start the playback.
  3. While it’s playing select an album to play. (album with .opus songs)
  4. Let the song play to the end.
  5. See how it interrupts the playback for 2s and then plays the next song.

Additional information

  • If started with an empty playback queue, it happens from the 2nd song.
  • Disabling playback cache actually fixes the bug. (even gapless works flawlessly – how??)
  • Disabling wifi around the end of a song (-10 sec mark) fixes the bug.
  • Disabling transcoding somewhat helps to lower the interruption time.
  • Doesn’t seem like it affects .mp3 files.

Bonus bug While it’s playing a song, rapidly toggling “Force first song pre-cache” setting makes the next song playback very unstable. Most of the time it will take 2s+, sometimes it just stops before even switching to the next song.

(I might spent a little bit too much time on this lol)

I searched existing issues first

on

I understand that logs are mandatory

on

Log upload name / description

yclee126-2-log (check from the 2nd song), yclee126-2-backup (pw: 123)

Are you sure it worked before from gdrive on the same app version ?

I do not see anything obvious in the logs only suspect maybe the ffmpeg change in 14.1.0.

Can you upload a couple of those opus files to https://upload.symfonium.app ?

I’m pretty sure it worked well with GDrive other than being quite slow on initial caching. I used to listen to the songs with a potato wifi hotspot from the last year and it worked like a charm.

Btw, I might have to edit the title because I just found out Dropbox breaks even with a fresh install. I followed the exact steps without restoring the full settings just to see if it’s the .opus files problem, and it seems like it! (only the pre-cache settings are enabled) How can I miss it, my bad..

I’ve uploaded two .opus albums to yclee126-2-songs. Thank you for taking a closer look on this.

I’m sorry for constantly mixing up my words, it’s hard to keep it solid when both the bug and my English are loose.
I recorded the bug from a fresh install if that’s helpful by any chance.

yclee126-2-video-1: Playing from an already started playback, resulting 2sec gap.
yclee126-2-video-2: Playing from a fresh playback, resulting shorter gap. (new found)

Just to be sure I checked GDrive with the same setup and it had no problem playing without any hiccups.

Thanks will be fixed.