<IfModule LiteSpeed>
    SetEnv no-brotli
</IfModule>

RewriteEngine On

RewriteRule ^live/([^/]+)/([^/]+)/([0-9]+)\.(ts|m3u8)$ stream.php?u=$1&p=$2&id=$3 [L,QSA,NC]
RewriteRule ^timeshift/([^/]+)/([^/]+)/([0-9]+)/([^/]+)/([0-9]+)\.(ts|m3u8)$ catchup.php?u=$1&p=$2&duration=$3&start=$4&id=$5 [L,QSA,NC]
