added recentlyadded to todo.js, moved some less stuff, working on collection-list
This commit is contained in:
parent
a88f8aa6f9
commit
d11a152814
4 changed files with 62 additions and 12 deletions
|
@ -66,6 +66,24 @@ await app.mk.api.recentRadioStations("",
|
|||
"platform": "web",
|
||||
"art[url]": "f"});
|
||||
|
||||
// Recently Added
|
||||
await app.mk.api.library.recentlyAdded({
|
||||
"platform": "web",
|
||||
include: {
|
||||
"library-albums": ["artists"],
|
||||
"library-artists": ["catalog"]
|
||||
},
|
||||
fields: {
|
||||
artists: ["url"],
|
||||
albums: "artistName,artistUrl,artwork,contentRating,editorialArtwork,name,playParams,releaseDate,url"
|
||||
},
|
||||
includeOnly: ["catalog", "artists"],
|
||||
limit: 25
|
||||
}, {
|
||||
reload: !0,
|
||||
includePagination: !0
|
||||
})
|
||||
|
||||
// Songs
|
||||
await app.mk.api.library.songs({limit: 100}).then((data)=>{
|
||||
console.log(data)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue