mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
support custom ordering of user views
This commit is contained in:
parent
4685d0f254
commit
46f50bae6a
11 changed files with 203 additions and 206 deletions
|
@ -847,19 +847,21 @@
|
|||
|
||||
if (item.Type == "MusicArtist") {
|
||||
|
||||
promise = ApiClient.getInstantMixFromArtist(name, {
|
||||
promise = ApiClient.getInstantMixFromArtist({
|
||||
UserId: Dashboard.getCurrentUserId(),
|
||||
Fields: getItemFields,
|
||||
Limit: 50
|
||||
Limit: 50,
|
||||
Id: id
|
||||
});
|
||||
|
||||
}
|
||||
else if (item.Type == "MusicGenre") {
|
||||
|
||||
promise = ApiClient.getInstantMixFromMusicGenre(name, {
|
||||
promise = ApiClient.getInstantMixFromMusicGenre({
|
||||
UserId: Dashboard.getCurrentUserId(),
|
||||
Fields: getItemFields,
|
||||
Limit: 50
|
||||
Limit: 50,
|
||||
Id: id
|
||||
});
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue