project-management-only/home-tv-station#13: API call to skip to next video



Issue Information

Issue Type: issue
Status: closed
Reported By: btasker
Assigned To: btasker

Milestone: v0.2
Created: 04-Aug-24 16:03



Description

It'd be useful to be able to tell the container to skip onto the next presentation - if the video's lagging (or the show's crap).

With the current setup we can't do previous, because we don't keep previous state.



Toggle State Changes

Activity


assigned to @btasker

The following call can be used to skip:

curl -d 'app=benstv&name=one' http://127.0.0.1:8080/api/next

What happens under the hood is that we kill ffmpeg allowing the loop to proceed.

If this is used while the test-card is up, it'll stop display of the testcard but won't set videos running again

verified

mentioned in commit github-mirror/Home-TV-Station@8cea17806fd9afe2afe958e108a3ba0aaf85c66b

Commit: github-mirror/Home-TV-Station@8cea17806fd9afe2afe958e108a3ba0aaf85c66b 
Author: B Tasker                            
                            
Date: 2024-08-04T17:05:11.000+01:00 

Message

feat: expose API call to advance to next video (project-management-only/home-tv-station#13)

+22 -1 (23 lines changed)