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

no album/year attributes for Song #233

Open
C-Gian opened this issue Dec 31, 2021 · 2 comments · May be fixed by #276
Open

no album/year attributes for Song #233

C-Gian opened this issue Dec 31, 2021 · 2 comments · May be fixed by #276

Comments

@C-Gian
Copy link

C-Gian commented Dec 31, 2021

Describe the bug
The Git example show how to retrieve info like album of release date but it's not working giving AttributeError: 'Song' object has no attribute 'year', same for album, I tried to get them from the dict but they are not there neither.

Expected behavior
get the release date and album about a song

To Reproduce
use the api search_song(a, t) and then use .year, .album

Command raised an exception: AttributeError: 'Song' object has no attribute 'year'

Version info

  • 3.0.1
  • windows

Additional context
I read that the attributes works with the previous version of the package, but which one? I tried 2.00 but I got another error (object not subscribtable).

@aneesh3397
Copy link

@C-Gian I was having the same issue with the latest version, 1.8.6 seems to return year and album info.

@RazyRo
Copy link

RazyRo commented Sep 27, 2023

AttributeError: 'Track' object has no attribute 'title'

@allerter allerter linked a pull request Oct 27, 2024 that will close this issue
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 a pull request may close this issue.

3 participants