diff --git a/src/client/music_history.rs b/src/client/music_history.rs index 432fdc6..0ef3bea 100644 --- a/src/client/music_history.rs +++ b/src/client/music_history.rs @@ -68,6 +68,8 @@ impl RustyPipeQuery { /// Get a list of YouTube Music tracks which the current user has added to their collection /// + /// Contains both liked tracks and tracks from saved albums. + /// /// Requires authentication cookies. #[tracing::instrument(skip(self), level = "error")] pub async fn music_saved_tracks(&self) -> Result, Error> { diff --git a/src/client/music_playlist.rs b/src/client/music_playlist.rs index a85acf3..efe4859 100644 --- a/src/client/music_playlist.rs +++ b/src/client/music_playlist.rs @@ -123,7 +123,10 @@ impl RustyPipeQuery { Ok(album) } - /// Get all liked tracks of the logged-in user + /// Get all liked YouTube Music tracks of the logged-in user + /// + /// The difference to [`RustyPipeQuery::music_saved_tracks`] is that this function only returns + /// tracks that were explicitly liked by the user. /// /// Requires authentication cookies. pub async fn music_liked_tracks(&self) -> Result {