1a558bf5c2 made osc-*list script messages aliases to show-texting the relative properties, so use show-text directly in the menu. Also increase the duration to be the same as the OSC buttons because the default of 1 second is too short.
Unified · Split
| @@ -199,9 +199,9 @@ class MenuBar: NSObject { · 198 unmodified lines | |||
| 199 | Config(name: "Decrease Speed", action: #selector(command(_:)), target: self, command: "add speed -0.1"), | 199 | Config(name: "Decrease Speed", action: #selector(command(_:)), target: self, command: "add speed -0.1"), |
| 200 | Config(name: "Reset Speed", action: #selector(command(_:)), target: self, command: "set speed 1.0"), | 200 | Config(name: "Reset Speed", action: #selector(command(_:)), target: self, command: "set speed 1.0"), |
| 201 | Config(type: .separator), | 201 | Config(type: .separator), |
| 202 | Config(name: "Show Playlist", action: #selector(command(_:)), target: self, command: "script-message osc-playlist"), | 202 | Config(name: "Show Playlist", action: #selector(command(_:)), target: self, command: "show-text ${playlist} 3000"), |
| 203 | Config(name: "Show Chapters", action: #selector(command(_:)), target: self, command: "script-message osc-chapterlist"), | 203 | Config(name: "Show Chapters", action: #selector(command(_:)), target: self, command: "show-text ${chapter-list} 3000"), |
| 204 | Config(name: "Show Tracks", action: #selector(command(_:)), target: self, command: "script-message osc-tracklist"), | 204 | Config(name: "Show Tracks", action: #selector(command(_:)), target: self, command: "show-text ${track-list} 3000"), |
| 205 | Config(type: .separator), | 205 | Config(type: .separator), |
| 206 | Config(name: "Next File", action: #selector(command(_:)), target: self, command: "playlist-next"), | 206 | Config(name: "Next File", action: #selector(command(_:)), target: self, command: "playlist-next"), |
| 207 | Config(name: "Previous File", action: #selector(command(_:)), target: self, command: "playlist-prev"), | 207 | Config(name: "Previous File", action: #selector(command(_:)), target: self, command: "playlist-prev"), |