String replace in .m3u8 file

Discussion in 'Nginx' started by rfocus, May 15, 2015.

  1. #2
    Hello, how to replace some string from proxy_pass but from remote file ?!

    proxy_pass http://domen.com/test/playlist.m3u8;
    sub_filter 'EXTM3U' 'newstring';
    sub_filter_once off;
    subs_filter 'EXTM3U' 'newstring' i;

    I can replace string if is not .m3u8 but if is on .m3u8 then I have a problem

    Thanks
     
    Last edited by a moderator: May 15, 2015
    rfocus, May 15, 2015 IP
  2. rfocus

    rfocus Peon

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #3
    Hello, how to replace some string from proxy_pass but from remote file ?!

    proxy_pass http://domen.com/test/playlist.m3u8;
    sub_filter 'EXTM3U' 'newstring';
    sub_filter_once off;
    subs_filter 'EXTM3U' 'newstring' i;
    Code (markup):
    I can replace string if is not .m3u8 but if is on .m3u8 then I have a problem

    Thanks
     
    rfocus, May 15, 2015 IP