User Tools

Site Tools


webapi:examples:playback_timestamp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
webapi:examples:playback_timestamp [2021/09/17 13:02] icke_siegenwebapi:examples:playback_timestamp [2024/08/24 08:59] (current) icke_siegen
Line 6: Line 6:
  
 ^ author, date            | Sebastian Beutel, September 2021 | ^ author, date            | Sebastian Beutel, September 2021 |
-^ published               | https://www.avolites.de/downloads/icke_siegen/PB%20Timestamp/ |+^ published               | https://www.avosupport.de/downloads/icke_siegen/PB%20Timestamp/ |
 ^ prog. lang./ framework  | HTML, JS, CSS; none (wrote everything with a text editor | ^ prog. lang./ framework  | HTML, JS, CSS; none (wrote everything with a text editor |
 ^ description             | Automatically sets legends of new playbacks to the current timestamp.\\ Idea from https://www.facebook.com/groups/Avolites/posts/2303543733111181/ | ^ description             | Automatically sets legends of new playbacks to the current timestamp.\\ Idea from https://www.facebook.com/groups/Avolites/posts/2303543733111181/ |
 ^ other requirements      | e.g. a web browser is required | ^ other requirements      | e.g. a web browser is required |
 +
 +
 +----
 +
 +===== Video=====
  
 {{youtube>d9_W5-m15J8?medium}} {{youtube>d9_W5-m15J8?medium}}
 +
 +----
  
 ===== Screenshots ===== ===== Screenshots =====
Line 20: Line 27:
 ---- ----
  
 +===== How it works =====
 +
 +''Initialize'' reads all the current playbacks and puts them into an array.
 +
 +''Show Playbacksarray'' shows the current contents of this array.
 +
 +''Start Legend Rewrite'' starts the real process: every second the playbacks are requested and compared to the playback array. If a playback is not in the array - which means it is new - its legend is set to the current time.
 +
 +----
  
 ===== API Requests ===== ===== API Requests =====
webapi/examples/playback_timestamp.1631883771.txt.gz · Last modified: 2021/09/17 13:02 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki