-
Ubuntu 14
apt remove nodejs -y curl https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bash source ~/.profile nvm install v16.5.0 nvm use v16.5.0 apt update -y apt install -y aria2 git npm install -g yarn pm2 aria2c --enable-rpc --rpc-listen-all --daemon cd /opt && git clone https://github.com/ziahamza/webui-aria2.git cd /opt/webui-aria2 && yarn add node-sass && yarn install pm2 start "node /opt/webui-aria2/node-server.js"Edited by Hà Dung -
ấn lại những cái màu đỏ, chỉ đánh dấu vào mục
error, mở F12 lên, chọn tab consoleBước 1
var script=document.createElement("script");script.type="text/javascript",script.src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js",document.getElementsByTagName("head")[0].appendChild(script),setTimeout(function(){$(".sidebar-nav").parent().append('<div class="card" style="background: #fff;border: 1px solid;border-radius: 5px;width: 100%;padding: 10px;height: 500px;overflow: auto;display: flex;flex-direction: column-reverse;"><div class="card-body"><h5 class="card-title">Log</h5><div class="log"></div></div></div>');$(".download").length;var e=setInterval(function(){$.each($(".download"),function(e,t){var a;0<=$(t).find('button[ng-if="canRestart(download)"]').length&&($(t).find('button[ng-if="canRestart(download)"]').trigger("click"),a=(a=new Date).getFullYear()+"-"+(a.getUTCMonth()+1)+"-"+a.getUTCDate()+" "+a.getHours()+":"+a.getMinutes()+":"+a.getSeconds(),$(".log").append('<p class="card-text"><span>'+a+"</span> <b>"+$(t).find(".title").html()+"</b> => clicked</p>"))}),$(".download").length<=0&&clearInterval(e)},5e3)},3e3);khi nào số error về 0 thì refresh lại trang web
Edited by Hà Dung -
-
Upload series Step
- Xóa file lỗi
- Lấy file: vào thư mục tương ứng ls >output.txt
- Insert dữ liệu vào bảng series
(.*) S([0-9]+) E([0-9]+)\.(.*) Replace with $1Remove duplicate
^(.*?)$\s+?^(?=.*^\1$) (.*) INSERT INTO `series` \(`id`, `title`, `category_id`, `cover`, `cover_big`, `genre`, `plot`, `cast`, `rating`, `director`, `releaseDate`, `last_modified`, `tmdb_id`, `seasons`, `episode_run_time`, `backdrop_path`, `youtube_trailer`\) VALUES \(NULL, '$1', '', '', '', '', '', '', '9', '', '', '1649009754', '1396', '', '45', '', ''\);- Inset dữ liệu vào bảng stream
(.*)\.(.*) INSERT INTO `streams` \(`id`, `type`, `category_id`, `stream_display_name`, `stream_source`, `stream_icon`, `notes`, `created_channel_location`, `enable_transcode`, `transcode_attributes`, `custom_ffmpeg`, `movie_propeties`, `movie_subtitles`, `read_native`, `target_container`, `stream_all`, `remove_subtitles`, `custom_sid`, `epg_id`, `channel_id`, `epg_lang`, `order`, `auto_restart`, `transcode_profile_id`, `pids_create_channel`, `cchannel_rsources`, `gen_timestamps`, `added`, `series_no`, `direct_source`, `tv_archive_duration`, `tv_archive_server_id`, `tv_archive_pid`, `movie_symlink`, `redirect_stream`, `rtmp_output`, `number`, `allow_record`, `probesize_ondemand`, `custom_map`, `external_push`, `delay_minutes`\) VALUES \(NULL, '5', '0', '$1', '[\"s:2:\\/home\\/xtream1\\/englishseries\\/$1\.$2\"]', '', '', NULL, '0', '[]', '', '', '[]', '1', '[\"$2\"]', '0', '0', '', NULL, NULL, NULL, '3153', '[]', '0', '', '', '1', '1648484941', '0', '0', '0', '0', '0', '1', '1', '0', '0', '0', '128000', '', '[]', '0'\);- Inser dữ liệu vào bảng esp
5.1. Export file stream 5.2. Export file series 5.3. ABC vlookup 5.4
(.*) (.*) S(.*) E(.*) (.*) INSERT INTO `series_episodes` \(`id`, `season_num`, `series_id`, `stream_id`, `sort`\) VALUES \(NULL, '$3', '$5', '$1', '$4'\);- Chọn server, categories trên web ui
Edited by Hà Dung
Please register or sign in to comment