Version bump; playlist URI needs better handling for other chars, #601
This commit is contained in:
@ -1 +1 @@
|
||||
3.52.4
|
||||
3.53.0
|
||||
@ -3,7 +3,7 @@ import pathlib
|
||||
|
||||
from mopidy import config, ext
|
||||
|
||||
__version__ = "3.52.4"
|
||||
__version__ = "3.53.0"
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
@ -121323,10 +121323,7 @@ var MopidyMiddleware = function () {
|
||||
type: requestType
|
||||
}), {
|
||||
remaining: queue.length
|
||||
}));
|
||||
/**
|
||||
* Process our results. Each type has a different method of formatting and destructuring.
|
||||
*/
|
||||
})); // Each type has a different method of formatting and destructuring.
|
||||
|
||||
var processResults = {
|
||||
albums: function albums(response) {
|
||||
@ -121382,7 +121379,11 @@ var MopidyMiddleware = function () {
|
||||
if (!item.uri.includes(uri_scheme)) return false;
|
||||
return item.name.toLowerCase().includes(term.toLowerCase());
|
||||
});
|
||||
return Object(_util_format__WEBPACK_IMPORTED_MODULE_6__["formatPlaylists"])(playlists);
|
||||
return playlists.map(function (playlist) {
|
||||
return _objectSpread(_objectSpread({}, Object(_util_format__WEBPACK_IMPORTED_MODULE_6__["formatPlaylist"])(playlist)), {}, {
|
||||
uri: Object(_util_helpers__WEBPACK_IMPORTED_MODULE_5__["encodeMopidyUri"])(playlist.uri)
|
||||
});
|
||||
});
|
||||
},
|
||||
tracks: function tracks(response) {
|
||||
var _response$0$tracks = response[0].tracks,
|
||||
|
||||
File diff suppressed because one or more lines are too long
14
mopidy_iris/static/app.min.js
vendored
14
mopidy_iris/static/app.min.js
vendored
File diff suppressed because one or more lines are too long
@ -106,8 +106,8 @@
|
||||
|
||||
// Release details
|
||||
// These are automatically injected to built HTML
|
||||
var build = "1602610023";
|
||||
var version = "3.52.4";
|
||||
var build = "1602614727";
|
||||
var version = "3.53.0";
|
||||
|
||||
// Construct the script tag
|
||||
var js = document.createElement("script");
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
{
|
||||
"manifest_version": "3.52.4",
|
||||
"manifest_version": "3.53.0",
|
||||
"short_name": "Iris",
|
||||
"name": "Iris",
|
||||
"icons": [
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "mopidy-iris",
|
||||
"version": "3.52.4",
|
||||
"version": "3.53.0",
|
||||
"description": "Mopidy HTTP interface",
|
||||
"repository": "https://github.com/jaedb/iris",
|
||||
"author": "James Barnsley <james@barnsley.nz>",
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
[metadata]
|
||||
name = Mopidy-Iris
|
||||
version = 3.52.4
|
||||
version = 3.53.0
|
||||
url = https://github.com/jaedb/iris
|
||||
author = James Barnsley
|
||||
author_email = james@barnsley.nz
|
||||
|
||||
@ -9,6 +9,7 @@ import {
|
||||
uriSource,
|
||||
setFavicon,
|
||||
titleCase,
|
||||
encodeMopidyUri,
|
||||
} from '../../util/helpers';
|
||||
import {
|
||||
digestMopidyImages,
|
||||
@ -277,9 +278,7 @@ const MopidyMiddleware = (function () {
|
||||
},
|
||||
));
|
||||
|
||||
/**
|
||||
* Process our results. Each type has a different method of formatting and destructuring.
|
||||
*/
|
||||
// Each type has a different method of formatting and destructuring.
|
||||
const processResults = {
|
||||
albums: (response) => {
|
||||
const result = response[0];
|
||||
@ -342,7 +341,10 @@ const MopidyMiddleware = (function () {
|
||||
return item.name.toLowerCase().includes(term.toLowerCase());
|
||||
},
|
||||
);
|
||||
return formatPlaylists(playlists);
|
||||
return playlists.map((playlist) => ({
|
||||
...formatPlaylist(playlist),
|
||||
uri: encodeMopidyUri(playlist.uri),
|
||||
}));
|
||||
},
|
||||
tracks: (response) => {
|
||||
const { tracks = [] } = response[0];
|
||||
|
||||
Reference in New Issue
Block a user