diff --git a/client/components/modals/ListeningSessionModal.vue b/client/components/modals/ListeningSessionModal.vue index daa16f70..20753234 100644 --- a/client/components/modals/ListeningSessionModal.vue +++ b/client/components/modals/ListeningSessionModal.vue @@ -88,10 +88,11 @@
{{ _session.mediaPlayer }}
{{ $strings.LabelDevice }}
+{{ clientDisplayName }}
{{ deviceInfo.ipAddress }}
{{ osDisplayName }}
{{ deviceInfo.browserName }}
-{{ clientDisplayName }}
+{{ deviceDisplayName }}
SDK {{ $strings.LabelVersion }}: {{ deviceInfo.sdkVersion }}
{{ $strings.LabelType }}: {{ deviceInfo.deviceType }}
@@ -141,10 +142,14 @@ export default { if (!this.deviceInfo.osName) return null return `${this.deviceInfo.osName} ${this.deviceInfo.osVersion}` }, - clientDisplayName() { + deviceDisplayName() { if (!this.deviceInfo.manufacturer || !this.deviceInfo.model) return null return `${this.deviceInfo.manufacturer} ${this.deviceInfo.model}` }, + clientDisplayName() { + if (!this.deviceInfo.clientName) return null + return `${this.deviceInfo.clientName} ${this.deviceInfo.clientVersion || ''}` + }, playMethodName() { const playMethod = this._session.playMethod if (playMethod === this.$constants.PlayMethod.DIRECTPLAY) return 'Direct Play' diff --git a/client/pages/config/sessions.vue b/client/pages/config/sessions.vue index 162c7747..e9f0914b 100644 --- a/client/pages/config/sessions.vue +++ b/client/pages/config/sessions.vue @@ -64,8 +64,8 @@{{ getPlayMethodName(session.playMethod) }}
{{ $elapsedPretty(session.timeListening) }}
@@ -127,8 +127,8 @@{{ getPlayMethodName(session.playMethod) }}
{{ $elapsedPretty(session.timeListening) }}
@@ -394,6 +394,7 @@ export default { getDeviceInfoString(deviceInfo) { if (!deviceInfo) return '' var lines = [] + if (deviceInfo.clientName) lines.push(`${deviceInfo.clientName} ${deviceInfo.clientVersion || ''}`) if (deviceInfo.osName) lines.push(`${deviceInfo.osName} ${deviceInfo.osVersion}`) if (deviceInfo.browserName) lines.push(deviceInfo.browserName) diff --git a/client/pages/config/users/_id/sessions.vue b/client/pages/config/users/_id/sessions.vue index 4dd4e643..a8c92d0b 100644 --- a/client/pages/config/users/_id/sessions.vue +++ b/client/pages/config/users/_id/sessions.vue @@ -36,8 +36,8 @@{{ getPlayMethodName(session.playMethod) }}
{{ $elapsedPretty(session.timeListening) }}
@@ -193,6 +193,7 @@ export default { getDeviceInfoString(deviceInfo) { if (!deviceInfo) return '' var lines = [] + if (deviceInfo.clientName) lines.push(`${deviceInfo.clientName} ${deviceInfo.clientVersion || ''}`) if (deviceInfo.osName) lines.push(`${deviceInfo.osName} ${deviceInfo.osVersion}`) if (deviceInfo.browserName) lines.push(deviceInfo.browserName)