File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -143,14 +143,9 @@ def album_for_id(self, album_id: str) -> AlbumInfo | None:
143
143
)
144
144
145
145
def track_for_id (self , track_id : str ) -> None | TrackInfo :
146
- """Fetch a track by its Deezer ID or URL and return a
147
- TrackInfo object or None if the track is not found.
146
+ """Fetch a track by its Deezer ID or URL.
148
147
149
- :param track_id: (Optional) Deezer ID or URL for the track. Either
150
- ``track_id`` or ``track_data`` must be provided.
151
- :param track_data: (Optional) Simplified track object dict. May be
152
- provided instead of ``track_id`` to avoid unnecessary API calls.
153
- :return: TrackInfo object for track
148
+ Returns a TrackInfo object or None if the track is not found.
154
149
"""
155
150
if not (deezer_id := self ._get_id (track_id )):
156
151
self ._log .debug ("Invalid Deezer track_id: {}" , track_id )
You can’t perform that action at this time.
0 commit comments