streamd: optional keys, per-stream proxy, auto deps; agent module.yaml sync; RTE AutoPlay; Telegram release announces
- streamd: MPD-only start, proxy field, ffmpeg/NRE/mp4decrypt auto-install - GET/PUT /api/modules for module.yaml sync; agent sync_modules - RTE Live-tab AutoPlay fixes; modules zip named bbc/rte/tg4.zip - Telegram notify scripts wired into Forgejo release workflows
This commit is contained in:
parent
f9c28be3f1
commit
ac8701b5a6
36 changed files with 1460 additions and 143 deletions
|
|
@ -84,7 +84,7 @@ func (a *App) Launch(c *adb.Client) error {
|
|||
}, time.Duration(a.cfg.Timeouts.LaunchWaitUI))
|
||||
}
|
||||
|
||||
// AutoPlay navigates to a live channel and waits for playback.
|
||||
// AutoPlay opens the Live tab (when needed), taps the channel chip, then Play.
|
||||
func (a *App) AutoPlay(c *adb.Client, channel string) error {
|
||||
id, err := a.Resolve(channel)
|
||||
if err != nil {
|
||||
|
|
@ -94,13 +94,9 @@ func (a *App) AutoPlay(c *adb.Client, channel string) error {
|
|||
fmt.Printf("[*] Auto-play %s…\n", a.Label(id))
|
||||
c.DismissShadeIfFocused()
|
||||
|
||||
if err := uiflow.TapUI(c, a.CacheDir(), uiflow.Match{
|
||||
DescRE: a.cfg.UI.LiveTabDescRE,
|
||||
}, time.Duration(a.cfg.Timeouts.LiveTab)); err != nil {
|
||||
return fmt.Errorf("live tab: %w", err)
|
||||
if err := a.openLiveTab(c); err != nil {
|
||||
return err
|
||||
}
|
||||
time.Sleep(time.Duration(a.cfg.Timeouts.AfterLiveTab))
|
||||
|
||||
if err := a.tapChipThenPlay(c, ch); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue