Changeset 41304
- Timestamp:
- 11/27/17 01:11:06 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/mediathek/localparser_secret/sportsondemand.sh
r41301 r41304 811 811 PIC="http://atemio.dyndns.tv/mediathek/menu/default.jpg" 812 812 813 if [ $(echo "$TITLE" | grep ^"WEB STREAM" | wc -l) -eq 1 ];then814 HOST= $(echo "$TITLE" | cut -d"(" -f1)813 if [ $(echo "$TITLE" | grep ^"WEB STREAM" | wc -l) -eq 1 ];then 814 HOST=`echo "$TITLE" | sed -nr 's/.*[http|https]:\/\/([^\/]+)\/.*/\1/p'` 815 815 else 816 HOST= `echo "$TITLE" | sed -nr 's/.*[http|https]:\/\/([^\/]+)\/.*/\1/p'`816 HOST=$(echo "$TITLE" | cut -d"(" -f1 | sed -e 's/.\{1\}$//') 817 817 fi 818 818 PIC="http://atemio.dyndns.tv/mediathek/menu/"$HOST".jpg"
Note: See TracChangeset
for help on using the changeset viewer.