FreeTubeApp / FreeTube

An Open Source YouTube app for privacy
https://freetubeapp.io/
GNU Affero General Public License v3.0
13.51k stars 840 forks source link

[Bug]: Playback reset #5992

Open Flashwalker opened 1 week ago

Flashwalker commented 1 week ago

Guidelines

Describe the bug

  1. Use tor proxy on v.0.22.0 Beta
  2. Play the video for the 10+ min

I'm runing Freetube Appimage (the .deb package is also affected) via tor proxy. Playback is interrupted every few minutes and the playback progress returns to the beginning and stops. As far as I know, tor rebuilds the proxy chain every 10 minutes.

I didn't have this problem in v.0.21.2.

Expected Behavior

Continuous playback
Keep playback position

Issue Labels

content not loading

FreeTube Version

v.0.22.0 Beta

Operating System Version

Ubuntu 24.04

Installation Method

.AppImage

Primary API used

Local API

Last Known Working FreeTube Version (If Any)

v.0.21.2

Additional Information

Error: ENOENT: no such file or directory, open '/home/user/.config/FreeTube/player_cache/576f07ca'
    at async open (node:internal/fs/promises:639:25)
    at async Object.readFile (node:internal/fs/promises:1242:14)
    at async /run/firejail/appimage/resources/app.asar/dist/main.js:2:105760
    at async WebContents.<anonymous> (node:electron/js2c/browser_init:2:86160) {
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '/home/user/.config/FreeTube/player_cache/576f07ca'
}

Nightly Build

absidue commented 1 week ago

Could you please provide screenshots or screen recordings of what is happening? Please also provide logs from the devtools inside the app (CTRL+SHIFT+I), FreeTube doesn't log to the command line.