Skip to content

Commit

Permalink
move EXT_ALERT to GA_ALERT
Browse files Browse the repository at this point in the history
  • Loading branch information
bugsounet committed Oct 29, 2024
1 parent 6b40e39 commit 4048f26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions EXT-VLCServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@ Module.register("EXT-VLCServer", {
socketNotificationReceived (noti, payload) {
switch (noti) {
case "ERROR":
this.sendNotification("EXT_ALERT", {
this.sendNotification("GA_ALERT", {
type: "error",
message: this.translate(payload.message),
timer: 10000
});
console.error(`[VLC] [ERROR] ${this.translate(payload.message)}`);
break;
case "WARNING":
this.sendNotification("EXT_ALERT", {
this.sendNotification("GA_ALERT", {
type: "warning",
message: this.translate(payload.message, { VALUES: payload.values }),
timer: 10000
Expand Down

0 comments on commit 4048f26

Please sign in to comment.