custom-media: implement queueing and playback changes
This commit is contained in:
parent
a6de8731b3
commit
04c9d48779
10 changed files with 93 additions and 21 deletions
|
|
@ -386,7 +386,7 @@ PlaylistModule.prototype.handleQueue = function (user, data) {
|
|||
id: id
|
||||
});
|
||||
return;
|
||||
} else if (type === "fi" && !perms.canAddRawFile(user)) {
|
||||
} else if ((type === "fi" || type === "cm") && !perms.canAddRawFile(user)) {
|
||||
user.socket.emit("queueFail", {
|
||||
msg: "You don't have permission to add raw video files",
|
||||
link: link,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue