Skip to content

Commit

Permalink
Blu-ray / update inside usage
Browse files Browse the repository at this point in the history
  • Loading branch information
Aniverse committed Jan 14, 2019
1 parent ee40317 commit 54ac22b
Showing 1 changed file with 33 additions and 15 deletions.
48 changes: 33 additions & 15 deletions bluray
Original file line number Diff line number Diff line change
Expand Up @@ -3,44 +3,58 @@
# Author: Aniverse
# https://github.com/Aniverse/bluray
#
# bash <(curl -s https://raw.githubusercontent.com/Aniverse/bluray/master/bluray)
# wget -qO /usr/local/bin/bluray https://github.com/Aniverse/bluray/raw/master/bluray && chmod +x /usr/local/bin/bluray
#
# --------------------------------------------------------------------------------
# nano $(which bluray)
BDDATE=2019.01.14
BDVER=2.8.6
DeBUG=0
# sed -i "s/DeBUG=0/DeBUG=1/" $(which bluray)
# --------------------------------------------------------------------------------
# 如果你要自定义脚本生成的文件(种子、截图、BDinfo 等)的输出路径
#
# (For Chinese Users) 如果你要自定义脚本生成的文件(种子、截图、BDinfo 等)的输出路径
# 请把 CustomedOutput 改成 1,然后 OUTPUT 写上你想要的路径
#
# You are able to assing a specific folder for output files (bdinfo,screenshots etc.) by editing the following line
# Jusr set CustomedOutput=1 and change the OUTPUT path
# Jusr set CustomedOutput=1 and change the OUTPUT path
#
CustomedOutput=0
OUTPUT="/replace/here/with/your/output/path"
# --------------------------------------------------------------------------------
# 如果你用的是没有 root 权限的盒子,对每次都询问是否使用内置软件库感到厌烦的话,
#
# (For Chinese Users) 如果你用的是没有 root 权限的盒子,对每次都询问是否使用内置软件库感到厌烦的话,
# 可以把 NoInstall 改为 1,这样脚本每次都会自动使用脚本的软件库去运行
#
# You could set NoInstall=1 on shared seedbox without root privilege, so there will be no more question asking if you would like to use built-in library
# You could set NoInstall=1 on shared seedbox without root privilege,
# so there will be no more question asking if you would like to use built-in library
#
NoInstall=0
# --------------------------------------------------------------------------------
# 使用 rar 打包文件,最后给出下载链接(需要开启 http 下载以及安装了 rar)
# 以下预设主要针对使用了 inexistence 脚本的用户,其他用户请根据实际情况修改
#
# (For Chinese Users) 使用 rar 打包文件,最后给出下载链接(需要开启 http 下载以及安装了 rar)
# 以下预设主要针对使用了 inexistence 脚本的用户,其他用户请根据实际情况修改(非 inexistence 脚本用户需要修改 DOWNLOAD_LINK_BASE 和 WEB_FOLDER)
# 把 BACTH=0 改成 BATCH=1 以启用这个功能
#
# If you would like to use rar to pack output files, set BATCH=0 to BATCH=1
# And if you have used my inexistence script to install rTorrent, you could download the rar pack via https links,
# the download link would be given to you after all the work is done, but if you haven't used inexistence script that link
# won't be actually usable unless you have changed the following DOWNLOAD_LINK_BASE and WEB_FOLDER
#
BATCH=0
[[ $BATCH == 1 ]] && DOWNLOAD_LINK_BASE="https://$( wget --no-check-certificate -t1 -T6 -qO- v4.ipv6-test.com/api/myip.php )/h5ai/inexistence/04.Upload"
WEB_FOLDER="/etc/inexistence/04.Upload"
# --------------------------------------------------------------------------------
#
# 如果你要用 rclone 自动上传文件,请把 RCLONE 改成 1,然后 RCLONEPATH 改成你 rclone remote 的路径(请确保 rclone 命令可用)
#
RCLONE=0
RCLONEPATH="Replace:/here/with/your/remote/path"
# --------------------------------------------------------------------------------
#
# DO NOT CHANGE THE FOLLOWING LINES
#
# 下面的内容无需修改
#
#
#
#
#
# bash <(curl -s https://raw.githubusercontent.com/Aniverse/bluray/master/bluray)
# wget -qO /usr/local/bin/bluray https://github.com/Aniverse/bluray/raw/master/bluray && chmod +x /usr/local/bin/bluray
# --------------------------------------------------------------------------------
black=$(tput setaf 0); red=$(tput setaf 1); green=$(tput setaf 2); yellow=$(tput setaf 3);
blue=$(tput setaf 4); magenta=$(tput setaf 5); cyan=$(tput setaf 6); white=$(tput setaf 7);
on_red=$(tput setab 1); on_green=$(tput setab 2); on_yellow=$(tput setab 3); on_blue=$(tput setab 4);
Expand All @@ -52,6 +66,10 @@ baiqingse=${white}${on_cyan}; baihongse=${white}${on_red}; baizise=${white}${on_
heibaise=${black}${on_white}; shanshuo=$(tput blink); wuguangbiao=$(tput civis); guangbiao=$(tput cnorm)
CW="${bold}${baihongse} ERROR ${jiacu}";ZY="${baihongse}${bold} ATTENTION ${jiacu}";JG="${baihongse}${bold} WARNING ${jiacu}"
# --------------------------------------------------------------------------------
BDDATE=2019.01.14
BDVER=2.8.7
DeBUG=0
# --------------------------------------------------------------------------------
bdinfocli_path="/etc/inexistence/02.Tools/bdinfocli.exe"
using_bdinfo=old
convert=1
Expand Down

0 comments on commit 54ac22b

Please sign in to comment.