You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When using search with a library scope, duration and year are always None, and duration_seconds is not present. The documentation does not mention this anywhere, so I am assuming it is a bug. However, the information is also not visible on ytm when searching the library, so I am not sure if it is even possible for this information to be given. If the latter, I think this should be added to the docs.
To Reproduce
Steps to reproduce the behavior:
Search with scope as library and filter as songs
Check first result for duration or year properties
Describe the bug
When using search with a library scope,
duration
andyear
are always None, andduration_seconds
is not present. The documentation does not mention this anywhere, so I am assuming it is a bug. However, the information is also not visible on ytm when searching the library, so I am not sure if it is even possible for this information to be given. If the latter, I think this should be added to the docs.To Reproduce
Steps to reproduce the behavior:
scope
aslibrary
andfilter
assongs
duration
oryear
propertiesAdditional Information
ytmusicapi version: 1.8.2
Request response:
{'category': None, 'resultType': 'song', 'title': 'Thinking About You', 'album': {'name': 'Pablo Honey', 'id': 'MPREb_DciERiuADkS'}, 'videoId': '2jsPEOiMNaA', 'videoType': 'MUSIC_VIDEO_TYPE_ATV', 'duration': None, 'year': None, 'artists': [{'name': 'Radiohead', 'id': 'UCr_iyUANcn9OX_yy9piYoLw'}], 'isExplicit': True, 'thumbnails': [{'url': 'https://lh3.googleusercontent.com/U7k2oSmy45dhhj8ACdsUr1hQAvoY1IcOlHI_ZwU2rckJte1UEcTyrBUPUGr6Q-HT9-zeY0BwJ05xlOOJ=w60-h60-l90-rj', 'width': 60, 'height': 60}, {'url': 'https://lh3.googleusercontent.com/U7k2oSmy45dhhj8ACdsUr1hQAvoY1IcOlHI_ZwU2rckJte1UEcTyrBUPUGr6Q-HT9-zeY0BwJ05xlOOJ=w120-h120-l90-rj', 'width': 120, 'height': 120}]}
The text was updated successfully, but these errors were encountered: