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
Hi,
I was trying to get a release date of a song but it shows the below error: >>> song_year = song.year Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: 'Song' object has no attribute 'year.'
I saw that 49 Years of Lyrics in your examples used this method. Is this remove in later versions? or just the name of that changed?
If it was available in the previous version, could you please give me the version number?
Many thanks for considering my request.
The text was updated successfully, but these errors were encountered:
Hi. Yes, the Song.year attribute has been removed in version 3.0.0 and replaced by Song.release_date (which has its issue at the moment with a fix waiting to be merged at #182). The aforementioned Song.year is available in all versions below 3.0.0 and I suggest using 2.0.2 until version 3.0.1 or higher is available.
allerter
changed the title
Release Date
AttributeError: 'Song' object has no attribute 'year.'
Apr 17, 2021
Hi,
I was trying to get a release date of a song but it shows the below error:
>>> song_year = song.year Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: 'Song' object has no attribute 'year.'
I saw that 49 Years of Lyrics in your examples used this method. Is this remove in later versions? or just the name of that changed?
If it was available in the previous version, could you please give me the version number?
Many thanks for considering my request.
The text was updated successfully, but these errors were encountered: