Socket
Socket
Sign inDemoInstall

castv2-player

Package Overview
Dependencies
89
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.3 to 1.1.4

5

lib/mediaPlayer.js

@@ -195,2 +195,7 @@ "use strict"

}
//set repeatMode - REPEAT_OFF, REPEAT_ALL, REPEAT_SINGLE, REPEAT_ALL_AND_SHUFFLE
setRepeatModePromise(repeatMode) {
return this._player.setRepeatModePromise(repeatMode);
}

@@ -197,0 +202,0 @@ //playAnnouncementPromise

10

lib/persistentPlayer.js

@@ -221,3 +221,3 @@ "use strict"

return that._getConnectedPlayerPromise()
.then (function (player) {return that._playerActionPromise ("queueReorder", player.queueRemove.bind(player, itemIds, options));})
.then (function (player) {return that._playerActionPromise ("queueReorder", player.queueReorder.bind(player, itemIds, options));})
.then(function () {return that.getStatusPromise(); });

@@ -233,2 +233,10 @@ }

}
//set repeatMode - REPEAT_OFF, REPEAT_ALL, REPEAT_SINGLE, REPEAT_ALL_AND_SHUFFLE
setRepeatModePromise(repeatMode) {
let that = this;
//let item = that.getItem(that.getCurrentItemId());
return that.updatePlaylistPromise([],{repeatMode:repeatMode})
.then(function () {return Promise.resolve(repeatMode)});
}

@@ -235,0 +243,0 @@ //playAnnouncement

2

package.json
{
"name": "castv2-player",
"version": "1.1.3",
"version": "1.1.4",
"description": "A Chromecast client based on the new (CASTV2) protocol",

@@ -5,0 +5,0 @@ "author": "angelnu",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc