johnymarek / media-translate

Automatically exported from code.google.com/p/media-translate
0 stars 0 forks source link

Syntax error on translate.cgi:609 #32

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
was
protocol=`echo "$arg_url" | sed -e 's/:\/\/.*$//`

will be
protocol=`echo "$arg_url" | sed -e 's/:\/\/.*$//'`

Original issue reported on code.google.com by ilgi...@gmail.com on 14 Feb 2011 at 10:54

GoogleCodeExporter commented 9 years ago
./france.ivi.ru.plg:    protocol=`echo "$stream_url" | sed -e 's/:\/\/.*$//`
./ivi.ru.plg:      protocol=`echo "$stream_url" | sed -e 's/:\/\/.*$//`
./mults.spb.ru.plg:    protocol=`echo "$stream_url" | sed -e 's/:\/\/.*$//`
./music.ivi.ru.plg:      protocol=`echo "$stream_url" | sed -e 's/:\/\/.*$//`
./rutube.ru.plg:            protocol=`echo "$stream_url" | sed -e 's/:\/\/.*$//`
./rutube.ru.plg:    protocol=`echo "$stream_url" | sed -e 's/:\/\/.*$//`
./video.google.com.plg:    protocol=`echo "$stream_url" | sed -e 's/:\/\/.*$//`

Original comment by ilgi...@gmail.com on 14 Feb 2011 at 11:07

GoogleCodeExporter commented 9 years ago
./france.ivi.ru.plg:  local video_id=`echo "$arg_url" | sed -e 
's/.*[?&]id=//;s/&.*//`
./rutube.ru.plg:  video_id=`echo "$arg_url" | sed -e 's/.*\///;s/&.*//`
./rutube.ru.plg:  video_id=`echo "$arg_url" | sed -e 's/.*[?&]v=//;s/&.*//`
./tvigle.ru.plg:  local video_id=`echo "$arg_url" | sed -e 
's/.*[?&]video=//;s/&.*//`
./video.google.com.plg:  local video_id=`echo "$arg_url" | sed -e 
's/.*[?&]docid=//;s/[&#].*//g`
./yp.shoutcast.com.plg:  local station_id=`echo "$arg_url" | sed -e 
's/.*[?&]id=//;s/&.*//`

Original comment by ilgi...@gmail.com on 14 Feb 2011 at 11:12

GoogleCodeExporter commented 9 years ago
Thanx

Original comment by Serge.A.Timchenko@gmail.com on 15 Feb 2011 at 3:36