diff options
Diffstat (limited to 'model')
-rw-r--r-- | model/Stream.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/model/Stream.php b/model/Stream.php index 718ed98..d577df6 100644 --- a/model/Stream.php +++ b/model/Stream.php @@ -264,4 +264,7 @@ class Stream 'opus' => 'Opus', ); } + public function getPoster() { + return joinpath(['/', 'thumbs', rawurlencode($this->getRoom()->getStream()).'-poster.png']); + } } |