Re:Play audio only on YouTube and save bandwidth
by thunderarea on Friday February 04, 2022 @05:49AM
(#30205191)
If you have a slow connection, or you want to hide NSFW content on YouTube there is Music Mode for YouTube™ a Chrome extension that blocks the video and plays only the audio on YouTube and YouTube Music. Additionally, it skips the ads and hides the thumbnails (optional). So, you can convert YouTube into a music player. It helps you a lot to save bandwidth while you work or play games listening to music on the background and also reduce the use of RAM, CPU and GPU since there is no video. Finally, it helps you focus on your work and spend less time on YouTube clicking on clickbait thumbnails. Give it a try!
[ Parent
| on HN ]
Re:Play audio only on YouTube and save bandwidth
by rjsw on Friday February 04, 2022 @06:29AM
(#30205470)
The Android API for YouTube provides access to audio only streams, you can see this if you use yt-dlp with the -F option to list all the available formats for a video.
Re:Play audio only on YouTube and save bandwidth
by thunderarea on Friday February 04, 2022 @07:08AM
(#30205769)
https://developers.google.com/youtube/terms/developer-polici...
You and your API Clients must not, and must not encourage, enable, or require others to: ... separate, isolate, or modify the audio or video components of any YouTube audiovisual content made available as part of, or in connection with, YouTube API Services. For example, you must not apply alternate audio tracks to videos;
Re:Play audio only on YouTube and save bandwidth
by hansel_der on Friday February 04, 2022 @07:56AM
(#30206202)
yea, if wishes were horses ...
we are talking about files on a public webserver, it's absolutely fair game to download and modify/recombine the bit's in those files however i please.
Re:Play audio only on YouTube and save bandwidth
by thunderarea on Friday February 04, 2022 @08:38AM
(#30206606)
Yes. But they give you the API. This is the policy for the API. You can modify the files as you say but not using their API. You must find the way...
Re:Play audio only on YouTube and save bandwidth
by hansel_der on Saturday February 05, 2022 @01:12PM
(#30223875)
sry, all i can see is
API ... API ... API.
this is the way!
Re:Play audio only on YouTube and save bandwidth
by thunderarea on Friday February 04, 2022 @07:09AM
(#30205778)
This extension uses the ability that Chrome Extension API gives to block some URLs. So it blocks the video and keeps only the audio since the YouTube serves them in separate files
Re:Play audio only on YouTube and save bandwidth
by thunderarea on Friday February 04, 2022 @07:07AM
(#30205763)
Yes of course. But it is not permitted by the API policy