diff --git a/backend/models/callSchema.js b/backend/models/callSchema.js
index c0e6559..4c845bf 100644
--- a/backend/models/callSchema.js
+++ b/backend/models/callSchema.js
@@ -1,6 +1,6 @@
var mongoose = require('mongoose');
-var srcSchema = mongoose.Schema({ pos: Number, src: String });
+var srcSchema = mongoose.Schema({ pos: Number, src: String, tag: String });
const callSchema = mongoose.Schema({
talkgroupNum: Number,
diff --git a/frontend/src/Call/CallInfo.js b/frontend/src/Call/CallInfo.js
index 7ba5b48..f8fb960 100644
--- a/frontend/src/Call/CallInfo.js
+++ b/frontend/src/Call/CallInfo.js
@@ -33,7 +33,7 @@ function CallInfo(props) {
callFreq = Math.round(freq * 1000) / 1000;
}
- srcList = currentCall.srcList.map((source, index) => {source.src}[{source.pos}]);
+ srcList = currentCall.srcList.map((source, index) => {source.src}[{source.pos}] {source.tag ? "(" + source.tag + ")" : ""});
callLength = currentCall.len;
talkgroupNum = currentCall.talkgroupNum;
callDownload = currentCall.url;
diff --git a/frontend/src/Call/components/CallInfo.js b/frontend/src/Call/components/CallInfo.js
index ec677f5..fcb5348 100644
--- a/frontend/src/Call/components/CallInfo.js
+++ b/frontend/src/Call/components/CallInfo.js
@@ -44,7 +44,7 @@ function CallInfo(props) {
}
- srcList = currentCall.srcList.map((source, index) => {source.src}[{source.pos}]);
+ srcList = currentCall.srcList.map((source, index) => {source.src}[{source.pos}] {source.tag ? "(" + source.tag + ")" : ""});
callLength = currentCall.len;
talkgroupNum = currentCall.talkgroupNum;
diff --git a/frontend/src/Call/components/CallInfoPane.js b/frontend/src/Call/components/CallInfoPane.js
index e8b08aa..450ccc8 100644
--- a/frontend/src/Call/components/CallInfoPane.js
+++ b/frontend/src/Call/components/CallInfoPane.js
@@ -51,7 +51,7 @@ function CallInfoPane(props) {
const freq = currentCall.freq / 1000000;
callFreq = Math.round(freq * 1000) / 1000;
}
- srcList = currentCall.srcList.map((source, index) => {source.src}[{source.pos}]);
+ srcList = currentCall.srcList.map((source, index) => {source.src}[{source.pos}] {source.tag ? "(" + source.tag + ")" : ""});
callLength = currentCall.len;
talkgroupNum = currentCall.talkgroupNum;
patches = currentCall.patches;
diff --git a/frontend/src/Call/components/MediaPlayer.js b/frontend/src/Call/components/MediaPlayer.js
index 5250e9b..7c9f861 100644
--- a/frontend/src/Call/components/MediaPlayer.js
+++ b/frontend/src/Call/components/MediaPlayer.js
@@ -136,10 +136,14 @@ const MediaPlayer = (props) => {
let playEnabled = { "disabled": true }
let sourceId = "-";
+ let sourceTag = "";
if (call) {
if (call.srcList.length > sourceIndex) {
sourceId = call.srcList[sourceIndex].src;
+ if (call.srcList[sourceIndex].tag !== undefined && call.srcList[sourceIndex].tag !== null && call.srcList[sourceIndex].tag !== "") {
+ sourceTag = "(" + call.srcList[sourceIndex].tag + ")";
+ }
}
playEnabled = {};
}