diff --git a/babel.config.js b/babel.config.js index 757ff9b1..4621fa59 100644 --- a/babel.config.js +++ b/babel.config.js @@ -2,4 +2,11 @@ module.exports = { presets: [ '@vue/cli-plugin-babel/preset', ], + + // https://github.com/webpack/webpack/issues/10227 + // TODO: remove these plugins when we get webpack 5 + plugins: [ + '@babel/plugin-proposal-optional-chaining', + '@babel/plugin-proposal-nullish-coalescing-operator', + ], }; diff --git a/package.json b/package.json index 21f71d1d..b0c7b24b 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,8 @@ "vuex": "^3.5.1" }, "devDependencies": { + "@babel/plugin-proposal-nullish-coalescing-operator": "^7.10.4", + "@babel/plugin-proposal-optional-chaining": "^7.11.0", "@vue/cli-plugin-babel": "^4.4.6", "@vue/cli-plugin-eslint": "^4.4.6", "@vue/cli-plugin-router": "^4.4.6", diff --git a/src/store/modules/plexservers/actions.js b/src/store/modules/plexservers/actions.js index 55a58d98..85990f24 100644 --- a/src/store/modules/plexservers/actions.js +++ b/src/store/modules/plexservers/actions.js @@ -299,9 +299,12 @@ export default { type: 'video', continuous: 1, uri: `server://${machineIdentifier}/com.plexapp.plugins.library/library/metadata/${ratingKey}`, + repeat: 0, own: 1, - includeExternalMedia: 1, includeChapters: 1, + includeMarkers: 1, + includeGeolocation: 1, + includeExternalMedia: 1, }, signal, });