ccf-2012 / torcp

A script to rename and copy downloaded files to a target in Emby-happy way:
163 stars 19 forks source link

BDMV文件处理会同时生成MovieM2TS 和BDMVISO 两个文件夹 #19

Open brucmao opened 2 years ago

brucmao commented 2 years ago

torcp /volume1/Downloads/src/Anime/[BDMV]\ Cowboy\ Bebop/ -d /volume1/Downloads/dst/Anime/ --extract-bdmv --tmdb-api-key='xxx' =========>>> 2022-08-29T09:56:14 +0800 Search Multi: COWBOY BEBOP (0) Found [84469]: 星际牛仔真人版 ln /volume1/Downloads/src/Anime/[BDMV] Cowboy Bebop/COWBOY_BEBOP_DISC2/BDMV/STREAM/00004.m2ts /volume1/Downloads/dst/Anime/MovieM2TS/星际牛仔真人版 (2021)/COWBOY_BEBOP_DISC2 - 00004.m2ts ln /volume1/Downloads/src/Anime/[BDMV] Cowboy Bebop/COWBOY_BEBOP_DISC2/BDMV/STREAM/00006.m2ts /volume1/Downloads/dst/Anime/MovieM2TS/星际牛仔真人版 (2021)/COWBOY_BEBOP_DISC2 - 00006.m2ts ln /volume1/Downloads/src/Anime/[BDMV] Cowboy Bebop/COWBOY_BEBOP_DISC2/BDMV/STREAM/00003.m2ts /volume1/Downloads/dst/Anime/MovieM2TS/星际牛仔真人版 (2021)/COWBOY_BEBOP_DISC2 - 00003.m2ts ln /volume1/Downloads/src/Anime/[BDMV] Cowboy Bebop/COWBOY_BEBOP_DISC2/BDMV/STREAM/00005.m2ts /volume1/Downloads/dst/Anime/MovieM2TS/星际牛仔真人版 (2021)/COWBOY_BEBOP_DISC2 - 00005.m2ts Target Dir: MovieM2TS/星际牛仔真人版 (2021) Search Multi: COWBOY BEBOP (0) Found [84469]: 星际牛仔真人版 ln /volume1/Downloads/src/Anime/[BDMV] Cowboy Bebop/COWBOY_BEBOP_DISC6/BDMV/STREAM/00006.m2ts /volume1/Downloads/dst/Anime/MovieM2TS/星际牛仔真人版 (2021)/COWBOY_BEBOP_DISC6 - 00006.m2ts ln /volume1/Downloads/src/Anime/[BDMV] Cowboy Bebop/COWBOY_BEBOP_DISC6/BDMV/STREAM/00005.m2ts /volume1/Downloads/dst/Anime/MovieM2TS/星际牛仔真人版 (2021)/COWBOY_BEBOP_DISC6 - 00005.m2ts ln /volume1/Downloads/src/Anime/[BDMV] Cowboy Bebop/COWBOY_BEBOP_DISC6/BDMV/STREAM/00004.m2ts /volume1/Downloads/dst/Anime/MovieM2TS/星际牛仔真人版 (2021)/COWBOY_BEBOP_DISC6 - 00004.m2ts ln /volume1/Downloads/src/Anime/[BDMV] Cowboy Bebop/COWBOY_BEBOP_DISC6/BDMV/STREAM/00003.m2ts /volume1/Downloads/dst/Anime/MovieM2TS/星际牛仔真人版 (2021)/COWBOY_BEBOP_DISC6 - 00003.m2ts Target Dir: MovieM2TS/星际牛仔真人版 (2021) Search Multi: COWBOY BEBOP (0) Found [84469]: 星际牛仔真人版 ln /volume1/Downloads/src/Anime/[BDMV] Cowboy Bebop/COWBOY_BEBOP_DISC1/BDMV/STREAM/00003.m2ts /volume1/Downloads/dst/Anime/MovieM2TS/星际牛仔真人版 (2021)/COWBOY_BEBOP_DISC1 - 00003.m2ts ln /volume1/Downloads/src/Anime/[BDMV] Cowboy Bebop/COWBOY_BEBOP_DISC1/BDMV/STREAM/00004.m2ts /volume1/Downloads/dst/Anime/MovieM2TS/星际牛仔真人版 (2021)/COWBOY_BEBOP_DISC1 - 00004.m2ts Target Dir: MovieM2TS/星际牛仔真人版 (2021) Search Multi: COWBOY BEBOP (0) Found [84469]: 星际牛仔真人版 ln /volume1/Downloads/src/Anime/[BDMV] Cowboy Bebop/COWBOY_BEBOP_DISC5/BDMV/STREAM/00005.m2ts /volume1/Downloads/dst/Anime/MovieM2TS/星际牛仔真人版 (2021)/COWBOY_BEBOP_DISC5 - 00005.m2ts ln /volume1/Downloads/src/Anime/[BDMV] Cowboy Bebop/COWBOY_BEBOP_DISC5/BDMV/STREAM/00004.m2ts /volume1/Downloads/dst/Anime/MovieM2TS/星际牛仔真人版 (2021)/COWBOY_BEBOP_DISC5 - 00004.m2ts ln /volume1/Downloads/src/Anime/[BDMV] Cowboy Bebop/COWBOY_BEBOP_DISC5/BDMV/STREAM/00007.m2ts /volume1/Downloads/dst/Anime/MovieM2TS/星际牛仔真人版 (2021)/COWBOY_BEBOP_DISC5 - 00007.m2ts ln /volume1/Downloads/src/Anime/[BDMV] Cowboy Bebop/COWBOY_BEBOP_DISC5/BDMV/STREAM/00006.m2ts /volume1/Downloads/dst/Anime/MovieM2TS/星际牛仔真人版 (2021)/COWBOY_BEBOP_DISC5 - 00006.m2ts Target Dir: MovieM2TS/星际牛仔真人版 (2021) Search Multi: COWBOY BEBOP (0) Found [84469]: 星际牛仔真人版 ln /volume1/Downloads/src/Anime/[BDMV] Cowboy Bebop/COWBOY_BEBOP_DISC7/BDMV/STREAM/00005.m2ts /volume1/Downloads/dst/Anime/MovieM2TS/星际牛仔真人版 (2021)/COWBOY_BEBOP_DISC7 - 00005.m2ts ln /volume1/Downloads/src/Anime/[BDMV] Cowboy Bebop/COWBOY_BEBOP_DISC7/BDMV/STREAM/00006.m2ts /volume1/Downloads/dst/Anime/MovieM2TS/星际牛仔真人版 (2021)/COWBOY_BEBOP_DISC7 - 00006.m2ts ln /volume1/Downloads/src/Anime/[BDMV] Cowboy Bebop/COWBOY_BEBOP_DISC7/BDMV/STREAM/00003.m2ts /volume1/Downloads/dst/Anime/MovieM2TS/星际牛仔真人版 (2021)/COWBOY_BEBOP_DISC7 - 00003.m2ts ln /volume1/Downloads/src/Anime/[BDMV] Cowboy Bebop/COWBOY_BEBOP_DISC7/BDMV/STREAM/00004.m2ts /volume1/Downloads/dst/Anime/MovieM2TS/星际牛仔真人版 (2021)/COWBOY_BEBOP_DISC7 - 00004.m2ts Target Dir: MovieM2TS/星际牛仔真人版 (2021) Search Multi: COWBOY BEBOP EXTRA SESSION (0) TMDb Not found: [COWBOY BEBOP EXTRA SESSION] [] Dir treat as movie folder: [ Other ], /volume1/Downloads/src/Anime/[BDMV] Cowboy Bebop/COWBOY_BEBOP_EXTRA_SESSION

ln /volume1/Downloads/src/Anime/[BDMV] Cowboy Bebop/COWBOY_BEBOP_EXTRA_SESSION/COWBOY_EXTRA.ISO /volume1/Downloads/dst/Anime/BDMVISO/COWBOY BEBOP EXTRA SESSION/COWBOY_EXTRA.ISO

Target Dir: BDMVISO/COWBOY BEBOP EXTRA SESSION SKip dir in movie folder: [Scans] Skip : COWBOY_EXTRA.MDS Search Multi: COWBOY BEBOP (0) Found [84469]: 星际牛仔真人版 ln /volume1/Downloads/src/Anime/[BDMV] Cowboy Bebop/COWBOY_BEBOP_DISC3/BDMV/STREAM/00003.m2ts /volume1/Downloads/dst/Anime/MovieM2TS/星际牛仔真人版 (2021)/COWBOY_BEBOP_DISC3 - 00003.m2ts ln /volume1/Downloads/src/Anime/[BDMV] Cowboy Bebop/COWBOY_BEBOP_DISC3/BDMV/STREAM/00006.m2ts /volume1/Downloads/dst/Anime/MovieM2TS/星际牛仔真人版 (2021)/COWBOY_BEBOP_DISC3 - 00006.m2ts ln /volume1/Downloads/src/Anime/[BDMV] Cowboy Bebop/COWBOY_BEBOP_DISC3/BDMV/STREAM/00005.m2ts /volume1/Downloads/dst/Anime/MovieM2TS/星际牛仔真人版 (2021)/COWBOY_BEBOP_DISC3 - 00005.m2ts ln /volume1/Downloads/src/Anime/[BDMV] Cowboy Bebop/COWBOY_BEBOP_DISC3/BDMV/STREAM/00004.m2ts /volume1/Downloads/dst/Anime/MovieM2TS/星际牛仔真人版 (2021)/COWBOY_BEBOP_DISC3 - 00004.m2ts Target Dir: MovieM2TS/星际牛仔真人版 (2021) Search Multi: COWBOY BEBOP (0) Found [84469]: 星际牛仔真人版 ln /volume1/Downloads/src/Anime/[BDMV] Cowboy Bebop/COWBOY_BEBOP_DISC4/BDMV/STREAM/00004.m2ts /volume1/Downloads/dst/Anime/MovieM2TS/星际牛仔真人版 (2021)/COWBOY_BEBOP_DISC4 - 00004.m2ts ln /volume1/Downloads/src/Anime/[BDMV] Cowboy Bebop/COWBOY_BEBOP_DISC4/BDMV/STREAM/00003.m2ts /volume1/Downloads/dst/Anime/MovieM2TS/星际牛仔真人版 (2021)/COWBOY_BEBOP_DISC4 - 00003.m2ts ln /volume1/Downloads/src/Anime/[BDMV] Cowboy Bebop/COWBOY_BEBOP_DISC4/BDMV/STREAM/00005.m2ts /volume1/Downloads/dst/Anime/MovieM2TS/星际牛仔真人版 (2021)/COWBOY_BEBOP_DISC4 - 00005.m2ts ln /volume1/Downloads/src/Anime/[BDMV] Cowboy Bebop/COWBOY_BEBOP_DISC4/BDMV/STREAM/00006.m2ts /volume1/Downloads/dst/Anime/MovieM2TS/星际牛仔真人版 (2021)/COWBOY_BEBOP_DISC4 - 00006.m2ts Target Dir: MovieM2TS/星际牛仔真人版 (2021) Search Multi: FUTURE BLUES (0) Found [460603]: Future Blues SKip dir in movie folder: [VIDEO_TS] Skip : VIBL_38.dvdid.xml

brucmao commented 2 years ago

下了一个外挂结构字幕,这篇文章的第三种方式本想直接覆盖的,但是覆盖后就不能做种了。 最好的方式是硬链整个文件夹然后再覆盖

root@yds918:/volume1/Downloads/src/Anime/COWBOY外挂结构字幕# ls
COWBOY01  COWBOY01.rar  COWBOY02.rar  COWBOY03.rar  COWBOY04.rar  COWBOY05.rar  COWBOY06.rar  COWBOY07.rar
root@yds918:/volume1/Downloads/src/Anime/COWBOY外挂结构字幕# tree COWBOY01
COWBOY01
|-- CLIPINF
|   |-- 00016.clpi
|   `-- 00017.clpi
|-- PLAYLIST
|   `-- 00002.mpls
`-- STREAM
    |-- 00016.m2ts
    `-- 00017.m2ts

3 directories, 5 files