mirror of
https://github.com/yattee/yattee.git
synced 2025-12-07 08:38:14 +00:00
Simplify stream description by removing instance info
Removed instance description from stream description string to simplify the display and avoid showing redundant backend information.
This commit is contained in:
@@ -291,8 +291,7 @@ class Stream: Equatable, Hashable, Identifiable {
|
|||||||
|
|
||||||
var description: String {
|
var description: String {
|
||||||
guard localURL.isNil else { return resolutionAndFormat }
|
guard localURL.isNil else { return resolutionAndFormat }
|
||||||
let instanceString = instance.isNil ? "" : " - (\(instance!.description))"
|
return format != .hls ? "\(resolutionAndFormat)" : "adaptive (HLS)"
|
||||||
return format != .hls ? "\(resolutionAndFormat)\(instanceString)" : "adaptive (HLS)\(instanceString)"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var resolutionAndFormat: String {
|
var resolutionAndFormat: String {
|
||||||
|
|||||||
Reference in New Issue
Block a user