Skip to content

Comments

fixed getTracks bug error and rearranged PyLyrics Class#23

Open
birozuru wants to merge 1 commit intogeekpradd:masterfrom
birozuru:master
Open

fixed getTracks bug error and rearranged PyLyrics Class#23
birozuru wants to merge 1 commit intogeekpradd:masterfrom
birozuru:master

Conversation

@birozuru
Copy link

Hi, I noticed that "from PyLyrics import *

albums = PyLyrics.getAlbums(singer='Eminem')
myalbum = albums[4] #Select your album based on Index

tracks = myalbum.tracks() #or PyLyrics.getTracks(myalbum)
for track in tracks:
print (track) #Each track is a track object
print (track.getLyrics()) #Get the lyrics" throws an error which is not right for the PyLyrics library.
So i tried fixing it and it worked.
Kindly go through the code and confirm it works.

Best wishes
Mark

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.

1 participant