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

Next revision
Previous revision
webapi:examples:playback_timestamp [2021/09/17 12:53] – created 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               here +^ published               https://www.avosupport.de/downloads/icke_siegen/PB%20Timestamp/ 
-^ prog. lang./ framework  | 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}}
 +
 +----
  
 ===== Screenshots ===== ===== Screenshots =====
Line 18: 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.1631883198.txt.gz · Last modified: 2021/09/17 12:53 by icke_siegen

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki