mirror of
https://github.com/yattee/yattee.git
synced 2025-11-16 06:58:43 +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 {
|
||||
guard localURL.isNil else { return resolutionAndFormat }
|
||||
let instanceString = instance.isNil ? "" : " - (\(instance!.description))"
|
||||
return format != .hls ? "\(resolutionAndFormat)\(instanceString)" : "adaptive (HLS)\(instanceString)"
|
||||
return format != .hls ? "\(resolutionAndFormat)" : "adaptive (HLS)"
|
||||
}
|
||||
|
||||
var resolutionAndFormat: String {
|
||||
|
||||
Reference in New Issue
Block a user