1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update live tv image

This commit is contained in:
Luke Pulverenti 2015-08-28 00:19:08 -04:00
parent 9599bbbd35
commit 06b74be1fd
16 changed files with 122 additions and 168 deletions

View file

@ -1197,53 +1197,9 @@
}, false);
};
self.getInstantMixFromSong = function (itemId, options) {
self.getInstantMixFromItem = function (itemId, options) {
var url = self.getUrl("Songs/" + itemId + "/InstantMix", options);
return self.ajax({
type: "GET",
url: url,
dataType: "json"
});
};
self.getInstantMixFromAlbum = function (itemId, options) {
var url = self.getUrl("Albums/" + itemId + "/InstantMix", options);
return self.ajax({
type: "GET",
url: url,
dataType: "json"
});
};
self.getInstantMixFromArtist = function (options) {
var url = self.getUrl("Artists/InstantMix", options);
return self.ajax({
type: "GET",
url: url,
dataType: "json"
});
};
self.getInstantMixFromMusicGenre = function (options) {
var url = self.getUrl("MusicGenres/InstantMix", options);
return self.ajax({
type: "GET",
url: url,
dataType: "json"
});
};
self.getInstantMixFromPlaylist = function (itemId, options) {
var url = self.getUrl("Playlists/" + itemId + "/InstantMix", options);
var url = self.getUrl("Items/" + itemId + "/InstantMix", options);
return self.ajax({
type: "GET",