Skip to content

Commit

Permalink
Fix typo in YTMusic
Browse files Browse the repository at this point in the history
  • Loading branch information
Fyssion committed Oct 18, 2024
1 parent a2c6f02 commit 92983db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion playlist_sync/services/ytmusic.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 92983db

Please sign in to comment.