Ticket #11180: v025_v026_master_mkv_downloads_and_streaming.patch

File v025_v026_master_mkv_downloads_and_streaming.patch, 839 bytes (added by r.d.vaughan@…, 8 years ago)

MythWeb v0.25, v0.26 and master patch

  • modules/stream/stream_raw.pl

    From 44ec2b8327f7ceb3dee2aa75f90eca533fd290f4 Mon Sep 17 00:00:00 2001
    From: "R.D. Vaughan" <r.d.vaughan@rogers.com>
    Date: Tue, 16 Oct 2012 06:00:31 -0400
    Subject: [PATCH 2/2] Log:    Added recognition of mkv containers to MythWeb
     download    links and streaming.
    
    ---
     modules/stream/stream_raw.pl |    4 ++++
     1 file changed, 4 insertions(+)
    
    diff --git a/modules/stream/stream_raw.pl b/modules/stream/stream_raw.pl
    index 31f6854..bdb92a5 100755
    a b  
    3030        $type   = 'video/nuppelvideo';
    3131        $suffix = '.nuv';
    3232    }
     33    elsif ($basename =~ /\.mkv$/) {
     34            $type   = 'video/x-matroska';
     35            $suffix = '.mkv';
     36    }
    3337    else {
    3438        print header(),
    3539              "Unknown video type requested:  $basename\n";