Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- # Dune HD onlinetv2 plugin
- cd ../../path;chmod +x ./bin/* ./lib*
- echo -e "Content-type: video/mpeg\n\n"
- export LD_LIBRARY_PATH=./lib:$LD_LIBRARY_PATH
- URL=`echo "$QUERY_STRING" | sed "s/%20/ /g" | grep m3u9 | sed "s/m3u9/m3u8/g"`
- URL="./bin/ffmpeg -user_agent 'smartlabs' $URL -vcodec copy -acodec copy -bsf dump_extra -y -f mpegts pipe:1"
- eval $URL
- exit 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement