From c3f4af58b3f1cb9db2db0cae2bd29d56674a2c67 Mon Sep 17 00:00:00 2001
From: David Trattnig <david.trattnig@o94.at>
Date: Thu, 7 May 2020 10:11:34 +0200
Subject: [PATCH] Cleanup.

---
 errormessages/communicator_error.js |   2 -
 errormessages/controller_error.js   | 207 ----------------------------
 errormessages/scheduler_error.js    |  66 ---------
 3 files changed, 275 deletions(-)
 delete mode 100644 errormessages/communicator_error.js
 delete mode 100644 errormessages/controller_error.js
 delete mode 100644 errormessages/scheduler_error.js

diff --git a/errormessages/communicator_error.js b/errormessages/communicator_error.js
deleted file mode 100644
index 7a73a41b..00000000
--- a/errormessages/communicator_error.js
+++ /dev/null
@@ -1,2 +0,0 @@
-{
-}
\ No newline at end of file
diff --git a/errormessages/controller_error.js b/errormessages/controller_error.js
deleted file mode 100644
index d29f2d48..00000000
--- a/errormessages/controller_error.js
+++ /dev/null
@@ -1,207 +0,0 @@
-{
-  "allData": {
-    "id": "01",
-    "00": "Global Metadata delivered",
-    "01": "Could not get Data from Sound Engine"
-  },
-  "channel_insert": {
-    "id": "02",
-    "00": "On Channel ::channel:: insert ::uri:: at position ::pos::",
-    "02": "On Channel ::channel:: could not insert ::uri:: at position ::pos::"
-  },
-  "channel_move": {
-    "id": "03",
-    "00": "On Channel ::channel:: moved Item from ::fromPos:: to position ::toPos::",
-    "01": "Warning: Position ::fromPos:: out of range",
-    "02": "Warning: Cannot move to same position",
-    "03": "On Channel ::channel:: could not move from position ::fromPos:: to  position ::toPos::"
-  },
-  "channel_off": {
-    "id": "04",
-    "00": "Channel ::channel:: off",
-    "01": "Could not activate Channel ::channel::"
-  },
-  "channel_on": {
-    "id": "05",
-    "00": "Channel ::channel:: on",
-    "01": "Could not deactivate Channel ::channel::"
-  },
-  "channel_queue": {
-    "id": "06",
-    "00": "Channel Queue for ::channel:: delivered",
-    "01": "Could not get channel queue from channel ::channel::",
-    "02": "Could not get channel queue from channel ::channel::",
-    "03": "Could not get channel queue from channel ::channel::"
-  },
-  "channel_remove": {
-    "id": "07",
-    "00": "Removed item on position ::pos:: from channel ::channel::",
-    "01": "Could not remove item on position ::pos:: from channel ::channel::",
-    "02": "Warning: position ::pos:: out of range'"
-  },
-  "channel_seek": {
-    "id": "08",
-    "00": "Seeked channel ::channel:: ::duration:: seconds",
-    "01": "Could not seek channel ::channel:: ::duration:: seconds"
-  },
-  "channel_skip": {
-    "id": "09",
-    "00": "Skipped channel ::channel::",
-    "01": "0 Channels listed",
-    "02": "Could not get channels from sound engine",
-    "03": "Could not skip ::channel::"
-  },
-  "channel_volume": {
-    "id": "10",
-    "00": "Volume ::volume::% set on channel ::channel::",
-    "01": "Could not set volume to ::volume::% on channel ::channel::",
-    "02": "0 Channels listed",
-    "03": "Could not get channels from sound engine"
-  },
-  "currentData": {
-    "id": "11",
-    "00": "Current track metadata delivered",
-    "01": "Nothing seems to be on air",
-    "02": "Could not detect metadata"
-  },
-  "help": {
-    "id": "12",
-    "00": "none",
-    "01": "Could not open help file"
-  },
-  "listChannels": {
-    "id": "13",
-    "00": "Listed Channels",
-    "01": "0 Channels listed",
-    "02": "Could not get channels from sound engine"
-  },
-  "message": {
-    "id": "14",
-    "00": "none"
-  },
-  "playlist_data": {
-    "id": "15",
-    "00": "Playlist data delivered"
-  },
-  "playlist_flush": {
-    "id": "16",
-    "00": "Flushed playlist",
-    "01": "Could not flush playlist"
-  },
-  "playlist_insert": {
-    "id": "17",
-    "00": "Insert track ::uri:: on position ::pos::"
-  },
-  "playlist_load": {
-    "id": "18",
-    "00": "Load Playlist ::uri::",
-    "01": "Could not load Playlist ::uri::",
-    "02": "Playlist is not well formed XML"
-  },
-  "playlist_move": {
-    "id": "19",
-    "00": "Moved playlist track from position ::fromPos:: to ::toPos::"
-  },
-  "playlist_pause": {
-    "id": "20",
-    "00": "Playlist paused",
-    "01": "Playlist already paused"
-  },
-  "playlist_stop": {
-    "id": "21",
-    "00": "Playlist stopped",
-    "01": "Playlist already stopped"
-  },
-  "playlist_play": {
-    "id": "22",
-    "00": "Playlist started",
-    "01": "Playlist already playing",
-    "02": "0 Channels listed",
-    "03": "Could not get channels from sound engine"
-  },
-  "playlist_push": {
-    "id": "23",
-    "00": "Playlist: pushed ::uri::",
-    "01": "Could not push ::uri::"
-  },
-  "playlist_remove": {
-    "id": "24",
-    "00": "Removed track on position ::pos:: from playlist",
-    "01": "Could not remove track on position ::pos:: from playlist"
-  },
-  "playlist_seek": {
-    "id": "25",
-    "00": "Seeked playlist ::duration:: seconds",
-    "01": "Could not seek playlist ::duration:: seconds"
-  },
-  "playlist_skip": {
-    "id": "26",
-    "00": "Could not skip playlist"
-  },
-  "recorder_data": {
-    "id": "27",
-    "00": "Delivered recorder data",
-    "01": "Could not deliver recorder data"
-  },
-  "recorder_start": {
-    "id": "28",
-    "00": "Recorder started",
-    "01": "Could not start recorder"
-  },
-  "recorder_stop": {
-    "id": "29",
-    "00": "Recorder stopped",
-    "01": "Could not stop recorder"
-  },
-  "scheduler_reload": {
-    "id": "30",
-    "00": "Reload signal was sent to scheduler",
-    "01": "Could not find the scheduler process"
-  },
-  "sendLqcCommand": {
-    "id": "31",
-    "01": "Soundengine not running",
-    "02": "Recorder not running"
-  },
-  "get_channel_state": {
-    "id": "32",
-    "00": "Channels ::channel:: state",
-    "01": "Could not get channel state from channel ::channel::"
-  },
-  "setPassword": {
-    "id": "33",
-    "00": "Successfull set password",
-    "01": "Not enough access rights for this operation"
-  },
-  "addUser": {
-    "id": "34",
-    "00": "Successfull add user ::username::",
-    "01": "Not enough access rights for this operation"
-  },
-  "delUser": {
-    "id": "35",
-    "00": "Successfull removed user ::username::",
-    "01": "Not enough access rights for this operation"
-  },
-  "scheduler_data": {
-    "id": "36",
-    "00": "Successfull delivered scheduler config",
-    "01": "Scheduler config seems to be broken"
-  },
-  "scheduler_store": {
-    "id": "37",
-    "00": "Successfull stored scheduler config",
-    "01": "Not enough access rights for this operation",
-    "02": "Could not store a valid scheduler XML"
-  },
-  "getUserlist": {
-    "id": "38",
-    "00": "Userlist was successfully delivered",
-    "01": "Not enough access rights for this operation"
-  },
-  "get_act_programme": {
-    "id": "39",
-    "00": "Successfully fetched the program",
-    "01": "Cannot fetch actual program"
-  }
-}
\ No newline at end of file
diff --git a/errormessages/scheduler_error.js b/errormessages/scheduler_error.js
deleted file mode 100644
index aad84bf2..00000000
--- a/errormessages/scheduler_error.js
+++ /dev/null
@@ -1,66 +0,0 @@
-{
-  "exec_job": {
-    "id": "01",
-    "00": "Execute job ::job::",
-    "01": "Fatal: Could not execute job ::job::. Command ::exec:: results in Exception ::Exception::. Stopped watcher"
-  },
-  "schedule_job": {
-    "id": "02",
-    "00": "Scheduled job ::job:: for ::scheduled_for:: at ::scheduled_at::",
-    "01": "Could not execute job"
-  },
-  "load_playlist": {
-    "id": "03",
-    "00": "Load playlist ::uri::",
-    "01": "Could not load playlist ::uri::. File does not exist!",
-    "02": "Controller failed to load playlist ::uri::. Message was '::message::'"
-  },
-  "play_playlist": {
-    "id": "04",
-    "00": "Started playlist",
-    "01": "Controller failed to start playlist. Message was '::message::'"
-  },
-  "stop_playlist": {
-    "id": "05",
-    "00": "Started playlist",
-    "01": "Controller failed to start playlist. Message was '::message::'"
-  },
-  "start_recording": {
-    "id": "06",
-    "00": "Started recording",
-    "01": "Controller failed to start recording. Message was '::message::'"
-  },
-  "stop_recording": {
-    "id": "07",
-    "00": "Stopped recording",
-    "01": "Controller failed to stop recording. Message was '::message::'"
-  },
-  "precache": {
-    "id": "08",
-    "00": "Precached playlists",
-    "01": "Could not precache playlist."
-  },
-  "clean_cached": {
-    "id": "09",
-    "00": "Cleaned cache",
-    "01": "Could not clean cache"
-  },
-  "on_start": {
-    "id": "10",
-    "00": "Do initial jobs",
-    "01": "Could not do initial jobs"
-  },
-  "lookup_prearranged": {
-    "id": "11",
-    "00": "Lookup for prearranged tracks",
-    "01": "No system channel available"
-  },
-  "start_prearranged": {
-    "id": "12",
-    "00": "Started preaarranged tracks"
-  },
-  "end_prearranged": {
-    "id": "13",
-    "00": "Stopped preaarranged tracks"
-  }
-}
\ No newline at end of file
-- 
GitLab