flecs icon indicating copy to clipboard operation
flecs copied to clipboard

Does the "video toggle" plugin save data and/or computation (load on the renderer/GPU) when "Song" mode is selected?

Open real-Sandip-Das opened this issue 7 months ago • 4 comments

Basically the title. A question.

real-Sandip-Das avatar May 30 '25 08:05 real-Sandip-Das

I am not the one who made the plugin, so the extent of my knowledge is limited, but from looking at the code, I think it directly uses the built-in behavior of YTM, so it depends on YTM if it saves data or not.

ArjixWasTaken avatar May 30 '25 10:05 ArjixWasTaken

I'm not sure, but I think the toggle just hides/shows the video with css.

If you want to get just the audio it would probably be easier to write a new app from scratch.

P.S.: You can also ask questions in the Q&A https://github.com/th-ch/youtube-music/discussions/categories/q-a

h-banii avatar May 31 '25 01:05 h-banii

I'm experiencing the same issue. My battery is draining quickly even though I'm only listening to audio and not watching video. would it possible to create other plugin for toggle video?

srinadhkesineni avatar May 31 '25 15:05 srinadhkesineni

would it possible to create other plugin for toggle video?

I think it's unlikely to happen, see #3220

h-banii avatar May 31 '25 16:05 h-banii

See #3220

JellyBrick avatar Jul 13 '25 06:07 JellyBrick

Separately from this, due to Electron's architecture, the video element is not rendered when the app is in the background, which helps save GPU resources.

JellyBrick avatar Jul 13 '25 06:07 JellyBrick