Skip to content

Commit

Permalink
Code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
core1024 committed Oct 24, 2024
1 parent 5314618 commit 9d6a435
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/ShellVideo/ShellVideo.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ var ERROR = require('../error');
var SUBS_SCALE_FACTOR = 0.0066;

var stremioToMPVProps = {
'loaded': null,
'stream': null,
'paused': 'pause',
'time': 'time-pos',
Expand All @@ -29,7 +28,7 @@ function ShellVideo(options) {
options = options || {};

var ipc = options.shellTransport;
var observedProps = {loaded: false};
var observedProps = {};
var props = {};
var stremioProps = {};
Object.keys(stremioToMPVProps).forEach(function(key) {
Expand Down Expand Up @@ -351,7 +350,6 @@ function ShellVideo(options) {
}
case 'unload': {
props = {
loaded: false,
pause: false,
mute: false,
speed: 1,
Expand Down Expand Up @@ -431,6 +429,7 @@ ShellVideo.manifest = {
events: [
'propValue',
'propChanged',
'loaded',
'ended',
'error',
'subtitlesTrackLoaded',
Expand Down

0 comments on commit 9d6a435

Please sign in to comment.