Changeset 45507 for titan/mediathek/localhoster/hoster.sh
- Timestamp:
- 03/15/21 00:15:57 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/mediathek/localhoster/hoster.sh
r45503 r45507 48 48 49 49 if [ -e /etc/.oebuild ];then 50 if [ ! -e /usr/bin/youtube-dl ];then51 opkg update52 opkg install python-youtube-dl53 fi54 50 youtubebin="/usr/bin/youtube-dl --no-check-certificate --cookies /mnt/network/cookies --user-agent $USERAGENT --format mp4 --restrict-filenames --ignore-errors -g" 55 51 youtubebinbg="/usr/bin/youtube-dl --no-check-certificate --cookies /mnt/network/cookies --user-agent $USERAGENT --format mp4 --restrict-filenames --ignore-errors --output" … … 868 864 if [ ! -z "$INPUT" ];then 869 865 if [ -e /etc/.oebuild ];then 866 if [ ! -e /usr/bin/youtube-dl ];then 867 opkg update 868 echo install python-youtube-dl 869 opkg install python-youtube-dl 870 fi 870 871 echo remove cookies 871 872 rm /mnt/network/cookies 873 unset PYTHONHOME 874 unset LD_LIBRARY_PATH 872 875 $youtubebin "$INPUT" $USER $PASS > $TMP/$TYPE.$hoster.$FILENAME.streamlist 873 876 else … … 890 893 mkdir $TMP > /dev/null 2>&1 891 894 if [ -e /etc/.oebuild ];then 895 if [ ! -e /usr/bin/youtube-dl ];then 896 opkg update 897 echo install python-youtube-dl 898 opkg install python-youtube-dl 899 fi 892 900 echo remove cookies 893 901 rm /mnt/network/cookies 902 unset PYTHONHOME 903 unset LD_LIBRARY_PATH 894 904 echo "$youtubebinbg $DEST $INPUT" > /tmp/.last_hoster_$TYPE.log 895 905 $youtubebinbg "$DEST" "$INPUT" >> /tmp/.last_hoster_$TYPE.log
Note: See TracChangeset
for help on using the changeset viewer.