diff --git a/lib/PiTube/Controller/Stream.pm b/lib/PiTube/Controller/Stream.pm
index 56982b5618492b1f6061b23140e4e6e5240f077e..5e80a69b3047651221a9318d8b9ab12351552441 100644
--- a/lib/PiTube/Controller/Stream.pm
+++ b/lib/PiTube/Controller/Stream.pm
@@ -53,33 +53,8 @@ sub player {
     $c->render();
 }
 
-sub hls {
-    my $c = shift;
-
-    if ( $c->req->url !~ /^\/hls\/([a-z0-9\-]+)(_\w+)?(\/\w+)?\.(m3u8|ts)$/i ) {
-        $c->render( status => 404, text => '');
-        return;
-    }
 
-    my ($key, $type, $file) = ($1, $4, $c->req->url);
-
-    if ( ! -f $file ) {
-        $c->render( status => 404, text => '' );
-        return;
-    }
-
-    if ( $type eq 'ts' ) { # manifesty necheckujeme
-        if ( ! $c->session->{user}{acl}{ $key } ) {
-            $c->render( status => 403, text => '');
-            return;
-        }
-    }
-
-    $c->res->headers->content_type(CONTENT_TYPE->{$type});
-    $c->res->headers->cache_control('max-age=0, no-cache');
-    $c->res->headers->access_control_allow_origin('*');
-    $c->reply->file($file);
+1;
 
-}
+__END__
 
-1;