Add ITVX module, transparent mitm_hosts, and DM Telegram announces.
All checks were successful
release / build-and-upload (push) Successful in 6m21s
All checks were successful
release / build-and-upload (push) Successful in 6m21s
Wire module mitm_hosts into StartTransparent for ITVX capture, ship the itv provider stub with Live-list autoplay, refresh the README, and send Forgejo release announces to private chat 7314901602.
This commit is contained in:
parent
3cb259c9b6
commit
2e43e6c3fa
23 changed files with 996 additions and 84 deletions
|
|
@ -82,6 +82,17 @@ func (r *RemoteApp) MPDRewriter() mpd.Rewriter {
|
|||
|
||||
func (r *RemoteApp) UseTransparentMITM() bool { return r.Desc.TransparentMITM }
|
||||
|
||||
func (r *RemoteApp) MitmHosts() []string {
|
||||
out := make([]string, 0, len(r.Desc.MitmHosts))
|
||||
for _, h := range r.Desc.MitmHosts {
|
||||
h = strings.TrimSpace(strings.ToLower(h))
|
||||
if h != "" {
|
||||
out = append(out, h)
|
||||
}
|
||||
}
|
||||
return out
|
||||
}
|
||||
|
||||
func (r *RemoteApp) RewriterName() string {
|
||||
if r.Desc.Rewriter == "" {
|
||||
return "none"
|
||||
|
|
@ -117,6 +128,7 @@ func (r *RemoteApp) ValuesPath() string {
|
|||
var (
|
||||
_ app.App = (*RemoteApp)(nil)
|
||||
_ app.TransparentMITM = (*RemoteApp)(nil)
|
||||
_ app.MitmHostList = (*RemoteApp)(nil)
|
||||
_ app.StreamDefaults = (*RemoteApp)(nil)
|
||||
_ app.Catalog = (*RemoteApp)(nil)
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue