Version bump; playlist URI needs better handling for other chars, #601

This commit is contained in:
James Barnsley
2020-10-14 07:49:23 +13:00
parent 2ef016a351
commit 73d24270a8
10 changed files with 27 additions and 24 deletions

View File

@ -1 +1 @@
3.52.4
3.53.0

View File

@ -3,7 +3,7 @@ import pathlib
from mopidy import config, ext
__version__ = "3.52.4"
__version__ = "3.53.0"
logger = logging.getLogger(__name__)

View File

@ -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

File diff suppressed because one or more lines are too long

View File

@ -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");

View File

@ -1,5 +1,5 @@
{
"manifest_version": "3.52.4",
"manifest_version": "3.53.0",
"short_name": "Iris",
"name": "Iris",
"icons": [

View File

@ -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>",

View File

@ -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

View File

@ -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];