The original goal for YouTube Music was for the app to offer the same exact features as Google Play Music before migrating users from the latter to the former. But before that could happen, Google shut down Google Play Music. But one particularly well-received feature from the now defunct Play Music app is apparently going to make its way to YouTube Music.
After looking through the latest version of the YouTube Music app, which supports the media player that will be found in the upcoming Android 13 update,
9to5Google came across the following code: “
res/layout/timer_status_bottom_sheet.xml” which hints that a sleep timer is coming to the YouTube Music app.
In Google Play Music, setting the sleep timer meant going into the main settings list to set the feature. Hopefully, the sleep timer will be quicker to enable/disable in YouTube Music. The strings of code found do reveal that a countdown timer will be visible to the user who will also have an option to add five additional minutes to the timer or cancel. The report says that the timer could be similar to the sleep timer found on the Android version of the
Apple Music app (seen in the screenshot embedded in this article).
The sleep timer on the YouTube Music app could look like the feature on the Android version of Apple Music
A sleep timer is useful if you don’t want your phone or tablet to run all night after you fall asleep. At the most, if you’re running your device using its battery, you can prevent the battery from draining while you are sleeping. You also might not awaken in the middle of the night because a particular song interrupted your dreams.
When YouTube Music might add a sleep timer is anyone’s guess and there is always the possibility that
Google doesn’t add one at all despite the discovery of the code.
Source: phonearena.com