mirror of
https://github.com/glomatico/gamdl.git
synced 2026-06-13 04:05:14 +03:00
Add include param to library endpoints
This commit is contained in:
@@ -478,6 +478,7 @@ class AppleMusicApi:
|
|||||||
self,
|
self,
|
||||||
limit: int = 100,
|
limit: int = 100,
|
||||||
offset: int = 0,
|
offset: int = 0,
|
||||||
|
include: str = "catalog",
|
||||||
extend: str = "extendedAssetUrls",
|
extend: str = "extendedAssetUrls",
|
||||||
) -> dict:
|
) -> dict:
|
||||||
log = logger.bind(action="get_library_songs")
|
log = logger.bind(action="get_library_songs")
|
||||||
@@ -487,6 +488,7 @@ class AppleMusicApi:
|
|||||||
{
|
{
|
||||||
"limit": limit,
|
"limit": limit,
|
||||||
"offset": offset,
|
"offset": offset,
|
||||||
|
"include": include,
|
||||||
"extend": extend,
|
"extend": extend,
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
@@ -499,6 +501,7 @@ class AppleMusicApi:
|
|||||||
self,
|
self,
|
||||||
limit: int = 100,
|
limit: int = 100,
|
||||||
offset: int = 0,
|
offset: int = 0,
|
||||||
|
include: str = "catalog",
|
||||||
) -> dict:
|
) -> dict:
|
||||||
log = logger.bind(action="get_library_music_videos")
|
log = logger.bind(action="get_library_music_videos")
|
||||||
|
|
||||||
@@ -507,6 +510,7 @@ class AppleMusicApi:
|
|||||||
{
|
{
|
||||||
"limit": limit,
|
"limit": limit,
|
||||||
"offset": offset,
|
"offset": offset,
|
||||||
|
"include": include,
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -518,6 +522,7 @@ class AppleMusicApi:
|
|||||||
self,
|
self,
|
||||||
limit: int = 100,
|
limit: int = 100,
|
||||||
offset: int = 0,
|
offset: int = 0,
|
||||||
|
include: str = "catalog",
|
||||||
) -> dict:
|
) -> dict:
|
||||||
log = logger.bind(action="get_library_albums")
|
log = logger.bind(action="get_library_albums")
|
||||||
|
|
||||||
@@ -526,6 +531,7 @@ class AppleMusicApi:
|
|||||||
{
|
{
|
||||||
"limit": limit,
|
"limit": limit,
|
||||||
"offset": offset,
|
"offset": offset,
|
||||||
|
"include": include,
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -537,6 +543,7 @@ class AppleMusicApi:
|
|||||||
self,
|
self,
|
||||||
limit: int = 100,
|
limit: int = 100,
|
||||||
offset: int = 0,
|
offset: int = 0,
|
||||||
|
include: str = "catalog",
|
||||||
) -> dict:
|
) -> dict:
|
||||||
log = logger.bind(action="get_library_playlists")
|
log = logger.bind(action="get_library_playlists")
|
||||||
|
|
||||||
@@ -545,6 +552,7 @@ class AppleMusicApi:
|
|||||||
{
|
{
|
||||||
"limit": limit,
|
"limit": limit,
|
||||||
"offset": offset,
|
"offset": offset,
|
||||||
|
"include": include,
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user