Skip to content

Commit

Permalink
Merge branch 'master' into feat/vol_del
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffreyDavidsz authored Aug 3, 2021
2 parents c4143a3 + 472068d commit b915198
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions HELP.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ Action | Description
**Volume** | Adjust VLC playback volume. Can be Absolute (0-320) or Relative (+1, -5)
**Add Item** | Add item to Playlist
**Add and Play** | Add item to Playlist and Play
**Delete ID** | Delete a specific item from the playlist

## Variables available
Variable | Description
Expand Down
5 changes: 5 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1056,6 +1056,7 @@ instance.prototype.actions = function(system) {
type: 'textinput',
label: 'Clip Number',
id: 'clip',
default: 1,
regex: self.REGEX_NUMBER,
},
],
Expand Down Expand Up @@ -1137,6 +1138,10 @@ instance.prototype.action = function(action) {
cmd = '?command=volume&val=' + vol;
break;

case 'deleteID':
cmd = '?command=pl_delete&id=' + theClip;
break;

case 'full':
cmd = '?command=fullscreen';
break;
Expand Down

0 comments on commit b915198

Please sign in to comment.