Skip to content

Releases: rryam/MusadoraKit

Version 1.9.3

23 Nov 17:53
Compare
Choose a tag to compare

Added more functionality to createPlaylist.

Usage for adding any music item, whether it is a song, library song, music video, or a library music video.

let librarySong = try await MusadoraKit.librarySong(id: "i.zpZeAOdFmZ0kMQo")
let musicVideo = try await MusadoraKit.catalogMusicVideo(id: "1444338558")
let song = try await MusadoraKit.catalogSong(id: "956135760")

let playlist = try await MusadoraKit.createPlaylist(name: "TESTING ANY ITEMS", items: [song, librarySong, musicVideo])

Usage for adding a collection of tracks as MusicItemCollection<Track>.

var album = try await MusadoraKit.catalogAlbum(id: "1363309866").with(.tracks)

var playlist = try await MusadoraKit.createPlaylist(name: "TESTING SEQUENCE", items: album.tracks!)

Enjoy!

Version 1.9.2

22 Nov 07:55
Compare
Choose a tag to compare

Make the package type automatic

Version 1.9.1

22 Nov 04:23
Compare
Choose a tag to compare

Added option to create playlist with songs for iOS 15.

Usage:

let song = try await MusadoraKit.catalogSong(id: "1651994123")
let playlist = try await MusadoraKit.createPlaylist(name: "TESTING SONGS", items: .init(arrayLiteral: song))

Version 1.9.0

06 Oct 17:23
Compare
Choose a tag to compare

Add LibraryPlaylist and libraryPlaylists() method.

You can now directly fetch ALL playlists of a user in a single line:

let playlists = try await MusadoraKit.libraryPlaylists()

This method fetches the playlists from the user library. It is helpful when you are targeting iOS 15, and cannot use MusicLibraryRequest introduced in iOS 16, yet.

Version 1.8.1

29 Aug 21:08
Compare
Choose a tag to compare

Add more support for iOS 16+ methods

Version 1.8.0

29 Aug 16:12
Compare
Choose a tag to compare

Add more methods for working with MusicKit easier and with fewer lines of code.

Full Changelog: v1.7.2...v1.8.0

Version 1.7.2

11 Aug 20:57
Compare
Choose a tag to compare

Add recommendationAlbums and recommendationPlaylists

Version 1.7.1

05 Aug 20:24
Compare
Choose a tag to compare

Add recentlyPlayedAlbums and recentlyPlayedPlaylists

Version 1.7.0

23 Jul 19:58
Compare
Choose a tag to compare

Added methods for easily accessing all additional properties of a music item.

For example,

let song = try await MusadoraKit.catalogSong(id: id)

will also fetch the additional properties - [.albums, .artists, .composers, .genres, .musicVideos, .artistURL, .station, .audioVariants].

This way, you do not have to make two network calls. However, note that this is slower than fetching just the basic properties of a Song.

Make sure you are using the method where there is no with parameter.

Version 1.6.1

23 Jul 02:07
Compare
Choose a tag to compare

New in this version:

  • Remove includeTopResults as it is not annotated with @available(iOS 16) in the latest Xcode 14 beta.