zS1L3NT / ts-npm-ytmusic-api

A type-safe and basic YouTube Music API wrapper
https://npmjs.com/package/ytmusic-api
GNU General Public License v3.0
81 stars 17 forks source link

[BUG]: The `getAlbum` API is broken. Missing album name, artist, and thumbnails. #34

Closed Dajust closed 3 months ago

Dajust commented 4 months ago

Please describe the current behaviour of the code.

The getAlbum API no longer returns the album name, year, artist, and thumbnails.

Example

getting album... MPREb_zkvlkWx0ytJ
{
  type: 'ALBUM',
  albumId: 'MPREb_zkvlkWx0ytJ',
  name: 'Other versions',
  playlistId: '',
  artist: { artistId: null, name: '' },
  year: null,
  thumbnails: [],
  songs: [
    {
      type: 'SONG',
      videoId: 'w8eFZoOcYKc',
      name: 'Dawn FM',
      artist: [Object],
      album: [Object],
      duration: null,
      thumbnails: []
    }
    ...
  ]
} 

Now we have 'Other versions' for the album names instead of the actual album names.

Please describe the expected behaviour of the code.

The API should return the correct album data.

What are the steps to reproduce the error?

Call the getAlbum API and observe the result.

Additional Information

No response

zS1L3NT commented 3 months ago

Version v5.2.2 has been released with this bug fixed