mirror of
https://github.com/sigma67/ytmusicapi.git
synced 2026-04-25 15:26:01 +03:00
[GH-ISSUE #669] Library search songs have missing properties #444
Labels
No labels
a/b
bug
documentation
enhancement
good first issue
help wanted
invalid
pull-request
question
wontfix
yt-error
yt-update
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ytmusicapi#444
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @MarkhorDev on GitHub (Nov 1, 2024).
Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/669
Describe the bug
When using search with a library scope,
durationandyearare always None, andduration_secondsis 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:
scopeaslibraryandfilterassongsdurationoryearpropertiesAdditional 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}]}@sigma67 commented on GitHub (Dec 17, 2024):
The info is simply missing, not much else to say. Try searching on the web in your library, there is no such info on the titles.