With a sleep timer and the ability to add episodes to the playback queue.

In the latest version of YouTube Music, released on Google Play, lines of code related to the upcoming support for podcasts in the app have been discovered. There are currently no interface examples, but the code indicates what features to expect.

Podcasts will appear in YouTube Music for Android

Similar to songs, YouTube Music will allow users to add podcast episodes to the playback queue or play them next when the current file finishes.

The settings will include an option to switch podcasts from video to audio playback mode. This feature will complement the existing "Do not play clips" slider for music.

Saved podcasts will be available in the "Library" under a separate tab, while the downloads section will alternate between songs and podcast episodes. Users will be able to search for new shows or individual episodes in the search bar for songs, albums, and artists.

The code analysis also revealed that the app will feature a sleep timer - with a countdown to turn off the podcast.

Podcasts on YouTube Music are expected to launch in the coming weeks - first in the USA, and then worldwide.