From 92983db2513219c6e4eaaed7d329436c260ae4e8 Mon Sep 17 00:00:00 2001 From: Fyssion Date: Fri, 18 Oct 2024 13:48:29 -0500 Subject: [PATCH] Fix typo in YTMusic --- playlist_sync/services/ytmusic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playlist_sync/services/ytmusic.py b/playlist_sync/services/ytmusic.py index 541b72d..e10d2ab 100644 --- a/playlist_sync/services/ytmusic.py +++ b/playlist_sync/services/ytmusic.py @@ -58,7 +58,7 @@ def clear_playlist(self, url: str): if status != 'STATUS_SUCCEEDED': log.info(f'Failed to remove, status of removal: {result}') - def search_track(self, track: Track, *, cache_metadata: bool = True) -> str: + def search_track_id(self, track: Track, *, cache_metadata: bool = True) -> str: log.info(f'Searching for id for {track}') results = self.api.search( query=f'{track.title} by {track.artist}', limit=1, filter='songs', ignore_spelling=True