Buildout
This commit is contained in:
@ -178373,6 +178373,7 @@ function getPlaylistTracks(uri) {
|
||||
forceRefetch = _ref8.forceRefetch,
|
||||
callbackAction = _ref8.callbackAction;
|
||||
|
||||
var playlist = arguments.length > 2 ? arguments[2] : undefined;
|
||||
return function (dispatch, getState) {
|
||||
var initialEndpoint = "playlists/".concat(Object(_util_helpers__WEBPACK_IMPORTED_MODULE_2__["getFromUri"])('playlistid', uri), "/tracks");
|
||||
initialEndpoint += "?market=".concat(getState().spotify.country);
|
||||
@ -178404,20 +178405,14 @@ function getPlaylistTracks(uri) {
|
||||
case 'enqueue':
|
||||
dispatch(mopidyActions.enqueueURIs(_objectSpread({
|
||||
uris: Object(_util_arrays__WEBPACK_IMPORTED_MODULE_1__["arrayOf"])('uri', tracks),
|
||||
from: {
|
||||
uri: uri,
|
||||
type: 'playlist'
|
||||
}
|
||||
from: Object(_util_format__WEBPACK_IMPORTED_MODULE_3__["formatContext"])(playlist)
|
||||
}, callbackAction)));
|
||||
break;
|
||||
|
||||
case 'play':
|
||||
dispatch(mopidyActions.playURIs(_objectSpread({
|
||||
uris: Object(_util_arrays__WEBPACK_IMPORTED_MODULE_1__["arrayOf"])('uri', tracks),
|
||||
from: {
|
||||
uri: uri,
|
||||
type: 'playlist'
|
||||
}
|
||||
from: Object(_util_format__WEBPACK_IMPORTED_MODULE_3__["formatContext"])(playlist)
|
||||
}, callbackAction)));
|
||||
break;
|
||||
|
||||
@ -178460,7 +178455,7 @@ function getPlaylist(uri) {
|
||||
description = description.split('<a href="spotify:user:').join('<a href="#' + '/user/spotify:user:');
|
||||
}
|
||||
|
||||
dispatch(coreActions.itemLoaded(_objectSpread(_objectSpread({}, Object(_util_format__WEBPACK_IMPORTED_MODULE_3__["formatPlaylist"])(response)), {}, {
|
||||
var playlist = _objectSpread(_objectSpread({}, Object(_util_format__WEBPACK_IMPORTED_MODULE_3__["formatPlaylist"])(response)), {}, {
|
||||
can_edit: meId === response.owner.id,
|
||||
description: description,
|
||||
// Remove tracks. They're handed by another query which allows our detector
|
||||
@ -178468,10 +178463,12 @@ function getPlaylist(uri) {
|
||||
// doesn't know if we've loaded all tracks, or just the first page.
|
||||
tracks: null,
|
||||
loading: full ? 'tracks' : null
|
||||
})));
|
||||
});
|
||||
|
||||
dispatch(coreActions.itemLoaded(playlist));
|
||||
|
||||
if (full) {
|
||||
dispatch(getPlaylistTracks(uri, options));
|
||||
dispatch(getPlaylistTracks(uri, options, playlist));
|
||||
}
|
||||
}, function (error) {
|
||||
dispatch(coreActions.handleException('Could not load playlist', error));
|
||||
|
||||
File diff suppressed because one or more lines are too long
16
mopidy_iris/static/app.min.js
vendored
16
mopidy_iris/static/app.min.js
vendored
File diff suppressed because one or more lines are too long
@ -140,7 +140,7 @@
|
||||
|
||||
// Release details
|
||||
// These are automatically injected to built HTML
|
||||
var build = "1643703121";
|
||||
var build = "1643777120";
|
||||
var version = "3.60.1";
|
||||
|
||||
// Construct the script tag
|
||||
|
||||
Reference in New Issue
Block a user