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

Fixed single albums sometimes not being recognized as albums #486

Conversation

polvallverdu
Copy link

Related to #483

@theyak was right. The issue was related to not recognizing albums being albums

if not result_type and video_type:
result_type = 'song' if video_type == 'MUSIC_VIDEO_TYPE_ATV' else 'video'
if not result_type:
if search_result["category"] == "Albums":
Copy link
Owner

@sigma67 sigma67 Dec 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @polvallverdu , thanks for your contribution. However, this will not work without localization. Note that "category" is not used anywhere else for code flow for this reason. Only result_type is localization independent (after delocalization in l.59)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ahh, I'll try to investigate it later today.

@polvallverdu polvallverdu marked this pull request as draft December 27, 2023 21:51
@sigma67 sigma67 deleted the branch sigma67:master January 21, 2024 17:50
@sigma67 sigma67 closed this Jan 21, 2024
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

Successfully merging this pull request may close these issues.

2 participants