wetfish / sync

Synchronize audio and video between friends! Supports HTML5 video, YouTube, and Vimeo
27 stars 8 forks source link

added iterate 3 times and then quit #50

Closed Meleeman01 closed 4 years ago

Meleeman01 commented 4 years ago

this fixes https://github.com/wetfish/sync/issues/13 this adds a count variable and optional .env variable to specify whether you want the server to repeat N times or not at all, this would be the first attempt at it, and the behavior is it will stop sending information to the client after it reaches a certain count of going through the list, the client won't see this until they hit the refresh button or notice that that the sync button doesn't work. so it might be a good idea to add something that will stop the client when it reaches the beginning of the set of mediafiles once again.