+ public function getCurrentEpisode() {
+ return $this->episodes()
+ ->where('start', '<', now()->subMinutes(10))
+ ->orderBy('start', 'DESC')
+ ->first();
+ }
+
+ public function episodes() {
+ return $this->belongsToMany(Episode::class)
+ ->using(Restream::class)
+ ->withPivot('accept_comms', 'accept_tracker');
+ }
+