Changeset 45994
- Timestamp:
- 04/04/22 19:21:52 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/mediathek/localhoster/hoster.sh
r45986 r45994 55 55 if [ -e /etc/.oebuild ];then 56 56 youtubebin="/usr/bin/youtube-dl --no-check-certificate --cookies /mnt/network/cookies --user-agent $USERAGENT --format ytsearch:mp4 --restrict-filenames --ignore-errors -g" 57 youtubebin2="/usr/bin/youtube-dl --no-check-certificate --cookies /mnt/network/cookies --user-agent $USERAGENT --restrict-filenames --ignore-errors -g" 57 58 youtubebinbg="/usr/bin/youtube-dl --no-check-certificate --cookies /mnt/network/cookies --user-agent $USERAGENT --format ytsearch:mp4 --restrict-filenames --ignore-errors --output" 58 59 else … … 888 889 unset PYTHONHOME 889 890 unset LD_LIBRARY_PATH 891 890 892 $youtubebin "$INPUT" $USER $PASS > $TMP/$TYPE.$hoster.$FILENAME.streamlist 893 if [ `cat $TMP/$TYPE.$hoster.$FILENAME.streamlist | wc -l` -eq 0 ];then 894 $youtubebin2 "$INPUT" $USER $PASS > $TMP/$TYPE.$hoster.$FILENAME.streamlist 895 fi 891 896 else 892 897 $BIN $youtubebin "$INPUT" $USER $PASS > $TMP/$TYPE.$hoster.$FILENAME.streamlist … … 923 928 echo "$youtubebinbg $DEST $URL" >> /tmp/.last_hoster_${TYPE}_${CURTIME}.log 924 929 $youtubebinbg "$DEST" "$URL" >> /tmp/.last_hoster_${TYPE}_${CURTIME}.log 930 if [ `cat /tmp/.last_hoster_${TYPE}_${CURTIME}.log | wc -l` -eq 0 ];then 931 $youtubebinbg2 "$DEST" "$URL" >> /tmp/.last_hoster_${TYPE}_${CURTIME}.log 932 fi 925 933 else 926 934 echo "$BIN $youtubebinbg $DEST $INPUT" > /tmp/.last_hoster_${TYPE}_${CURTIME}.log
Note: See TracChangeset
for help on using the changeset viewer.