Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add cd number to album model #286
@jodal: Tracks in libspotify have a disc number associated with them which can be retrieved by sp_track_disc(track) in libspotify or track.disc() in pyspotify. However this number doesn't seem to be initialized until you do an albumbrowse on the album the disc is in.
I did this test:
It also doesn't seem to be possible to get the number of discs an album consist of, other than by traversing all the tracks and checking the highest disc number.
The example album I used was spotify:album:3LymDdEISKszJqeN2z9DBI.