Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Library search songs have missing properties #669

Open
MarkhorDev opened this issue Nov 1, 2024 · 0 comments
Open

Library search songs have missing properties #669

MarkhorDev opened this issue Nov 1, 2024 · 0 comments

Comments

@MarkhorDev
Copy link

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:

  1. Search with scope as library and filter as songs
  2. Check first result for duration or year properties

Additional 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}]}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant