diff --git a/components/episodesModal.vue b/components/episodesModal.vue index 94df03e..ff38bdb 100644 --- a/components/episodesModal.vue +++ b/components/episodesModal.vue @@ -30,7 +30,7 @@ export default { computed: { values () { - return this.$store.state.videoPlayer.modal + return this.$store.state.streaming.modal }, show () { return this.values.show @@ -66,11 +66,11 @@ }, methods: { close () { - this.$store.commit('videoPlayer/closeModal') + this.$store.commit('streaming/closeModal') }, watch (episode, i) { this.close() - this.$store.commit('videoPlayer/play', { + this.$store.commit('streaming/play', { show: true, link: { name: `${this.values.title} - ${episode}`, @@ -84,4 +84,4 @@ \ No newline at end of file + diff --git a/components/listEntry.vue b/components/listEntry.vue index f85599b..cfae97c 100644 --- a/components/listEntry.vue +++ b/components/listEntry.vue @@ -71,7 +71,7 @@ }) }, watch (name) { - this.$store.dispatch('videoPlayer/watch', { + this.$store.dispatch('streaming/watch', { name }) } diff --git a/components/videoModal.vue b/components/videoModal.vue index ead2334..e5e2dfa 100644 --- a/components/videoModal.vue +++ b/components/videoModal.vue @@ -27,7 +27,7 @@ export default { }, computed: { values () { - return this.$store.state.videoPlayer.player + return this.$store.state.streaming.player }, show () { return this.values.show @@ -35,7 +35,7 @@ export default { }, methods: { close () { - this.$store.commit('videoPlayer/close') + this.$store.commit('streaming/close') }, async toggleFullScreen () { this.fullscreen = !this.fullscreen diff --git a/pages/localPage.vue b/pages/localPage.vue index 72f5e4f..b6fb546 100644 --- a/pages/localPage.vue +++ b/pages/localPage.vue @@ -141,7 +141,7 @@ this.$log(`Requested to play ${item.name} - ${item.ep}. Sending...`) if (this.inside) { - this.$store.commit('videoPlayer/play', { + this.$store.commit('streaming/play', { show: true, link: { link: item.path, diff --git a/pages/releases.vue b/pages/releases.vue index 700fec5..2237517 100644 --- a/pages/releases.vue +++ b/pages/releases.vue @@ -191,7 +191,7 @@ : '' }, watch (item) { - this.$store.commit('videoPlayer/play', { + this.$store.commit('streaming/play', { show: true, link: { link: item.magnetLink,