A script copies movie and TV files to your GD drive, or create Hard Link in a seperate dir, in Emby-happy struct.

Overview

torcp

A script copies movie and TV files to your GD drive, or create Hard Link in a seperate dir, in Emby-happy struct.

Usage:

python3 torcp.py -h

Example:

  • copy to a gd path
python3 torcp.py  /home/ccf2012/Downloads/  --gd_path=gd123:/media/
  • copy a single directory to a gd path
python3 torcp.py \
   /home/ccf2012/Downloads/The.Boys.S02.2020.1080p.BluRay.DTS.x264-HDS \
   --gd_path=gd123:/176/ -s
  • Hard link to a seperate directory:
python3 torcp.py /home/ccf2012/Downloads/  --hd_path=/home/ccf2012/emby/ 

Acknowledgement

@NishinoKana

Comments
  • NotADirectoryError: [WinError 267] 目录名称无效。

    NotADirectoryError: [WinError 267] 目录名称无效。

    运行版本

    v0.4

    运行环境

    Windows 11 专业版 22000.613 Python 3.10.2

    错误代码

    Search Movie: Devin Townsend Project Ocean Machine Live (2018) Found [536630]: Devin Townsend Project: Ocean Machine – Live at the Ancient Roman Theatre Plovdiv Traceback (most recent call last): File "E:\Tools\pt\reseedTorrent\torcp\torcp.py", line 846, in main() File "E:\Tools\pt\reseedTorrent\torcp\torcp.py", line 840, in main processOneDirItem(cpLocation, torFolderItem) File "E:\Tools\pt\reseedTorrent\torcp\torcp.py", line 676, in processOneDirItem targetCopy(mediaSrc, destCatFolderName, newMovieName) File "E:\Tools\pt\reseedTorrent\torcp\torcp.py", line 182, in targetCopy hdlinkCopy(fromLoc, toLocPath, toLocFile) File "E:\Tools\pt\reseedTorrent\torcp\torcp.py", line 63, in hdlinkCopy ensureDir(destDir) File "E:\Tools\pt\reseedTorrent\torcp\torcp.py", line 32, in ensureDir os.makedirs(file_path) File "D:\develop\pythondevelop\Python310\lib\os.py", line 225, in makedirs mkdir(name, mode) NotADirectoryError: [WinError 267] 目录名称无效。: 'K:\Count_link\Movie\Devin Townsend Project: Ocean Machine – Live at the Ancient Roman Theatre Plovdiv (2018) [tmdbid=536630]'

    报错后程序停止

    怀疑可能是文件名问题无法创建文件夹 尝试手动新建Devin Townsend Project: Ocean Machine – Live at the Ancient Roman Theatre Plovdiv (2018) [tmdbid=536630]可创建成功

    以上反馈

    opened by gitnoobbbb 6
  • 疑似源文件路径含空格无法创建硬链接

    疑似源文件路径含空格无法创建硬链接

    版本 v0.48 windows平台 python3.10.4

    F:\tools\torcp>torcp "D:\pt\动画\[BDRemux][4K] Evangelion 3.333 [73ACG@OurBits]"  -d "D:\myemby\anime" -s --emby-bracket -e srt,ass --extract-bdmv --tmdb-api-key="xxx" --tmdb-lang=en
    =========>>> 2022-09-22T13:52:51 +0800
    Search Movie:  Evangelion 3.333 (0)
    Found [75629]: Evangelion: 3.0 You Can (Not) Redo
    

    没有报错信息,刮削文件夹已创建,但没有硬链接。 image

    源文件夹结构 image

    opened by pickalexrener 3
  • 更新0.48后使用报错

    更新0.48后使用报错

    环境win 11/python 3.10.2 此前0.46使用正常 0.46-->0.48更新后 torcp -h报错如下:

    Traceback (most recent call last): File "D:\develop\pythondevelop\Python310\lib\runpy.py", line 196, in _run_module_as_main return run_code(code, main_globals, None, File "D:\develop\pythondevelop\Python310\lib\runpy.py", line 86, in run_code exec(code, run_globals) File "D:\develop\pythondevelop\Python310\Scripts\torcp.exe_main.py", line 4, in File "D:\develop\pythondevelop\Python310\lib\site-packages\torcp\torcp.py", line 22, in from torcp.tmdbparser import TMDbNameParser File "D:\develop\pythondevelop\Python310\lib\site-packages\torcp\tmdbparser.py", line 3, in from tmdbv3api import TMDb, Movie, TV, Search, Find ImportError: cannot import name 'Find' from 'tmdbv3api' (D:\develop\pythondevelop\Python310\lib\site-packages\tmdbv3api_init.py)

    opened by gitnoobbbb 2
  • TMDB内容获取错误

    TMDB内容获取错误

    =========>>> 2022-06-18T08:24:43 +0000
    Search Movie:  Bear Witness (2022)
    Traceback (most recent call last):
      File "C:\Users\haig233\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main
        return _run_code(code, main_globals, None,
      File "C:\Users\haig233\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in _run_code
        exec(code, run_globals)
      File "C:\Users\haig233\AppData\Local\Programs\Python\Python310\Scripts\torcp.exe\__main__.py", line 7, in <module>
      File "C:\Users\haig233\AppData\Local\Programs\Python\Python310\lib\site-packages\torcp\torcp.py", line 880, in main
        processOneDirItem(cpLocation, torFolderItem)
      File "C:\Users\haig233\AppData\Local\Programs\Python\Python310\lib\site-packages\torcp\torcp.py", line 662, in processOneDirItem
        p.parse(itemName, TMDb=(ARGS.tmdb_api_key is not None))
      File "C:\Users\haig233\AppData\Local\Programs\Python\Python310\lib\site-packages\torcp\tmdbparser.py", line 97, in parse
        self.searchTMDb(self.title, self.tmdbcat,
      File "C:\Users\haig233\AppData\Local\Programs\Python\Python310\lib\site-packages\torcp\tmdbparser.py", line 359, in searchTMDb
        results = search.movies({"query": s[1], "year": str(intyear), "page": 1})
      File "C:\Users\haig233\AppData\Local\Programs\Python\Python310\lib\site-packages\tmdbv3api\objs\search.py", line 51, in movies
        return self._get_obj(self._call(self._urls["movies"], urlencode(params)))
      File "C:\Users\haig233\AppData\Local\Programs\Python\Python310\lib\site-packages\tmdbv3api\tmdb.py", line 115, in _get_obj
        raise TMDbException(result["status_message"])
    tmdbv3api.exceptions.TMDbException: Invalid API key: You must be granted a valid key.
    

    TMDB Key实测可用

    opened by haig233 2
  • 是否能增加只针对目录改名功能?

    是否能增加只针对目录改名功能?

    在 --move-run 模式下, 对已经命名或者标注的媒体文件夹增加--emby-bracket 的时候, 还是会改变文件夹里的一些内容或者有一些文件夹内的文件不会被移走,这样有时候会造成一些麻烦,比如poster,角色歌等内容等会被遗留,所以希望增加仅对目录改名的功能。 在处理剧集或者动画片的时候很有必要。

    opened by dextersa 2
  • 希望对字幕文件也一并处理

    希望对字幕文件也一并处理

    root@yds918:~# torcp /volume1/Downloads/src/Anime/Cells.at.work.S01/ -d /volume1/Downloads/dst/Anime/ --tmdb-api-key='xxxx' =========>>> 2022-05-04T18:25:10 +0800 Search TV: Cells at Work Found [80671]: 工作细胞 Single Episode file? /volume1/Downloads/src/Anime/Cells.at.work.S01/Cells.at.Work.S01E02.1080p.Blu-Ray.10-Bit.3Audio.LPCM.AAC.x265-W.mkv ln /volume1/Downloads/src/Anime/Cells.at.work.S01/Cells.at.Work.S01E02.1080p.Blu-Ray.10-Bit.3Audio.LPCM.AAC.x265-W.mkv /volume1/Downloads/dst/Anime/TV/工作细胞 (2018)/S01/Cells at Work S01E02 - 1080p_W.mkv Search TV: Cells at Work Found [80671]: 工作细胞 Single Episode file? /volume1/Downloads/src/Anime/Cells.at.work.S01/Cells.at.Work.S01E10.1080p.Blu-Ray.10-Bit.3Audio.LPCM.AAC.x265-W.mkv ln /volume1/Downloads/src/Anime/Cells.at.work.S01/Cells.at.Work.S01E10.1080p.Blu-Ray.10-Bit.3Audio.LPCM.AAC.x265-W.mkv /volume1/Downloads/dst/Anime/TV/工作细胞 (2018)/S01/Cells at Work S01E10 - 1080p_W.mkv Search TV: Cells at Work Found [80671]: 工作细胞 Single Episode file? /volume1/Downloads/src/Anime/Cells.at.work.S01/Cells.at.Work.S01E01.1080p.Blu-Ray.10-Bit.3Audio.LPCM.AAC.x265-W.mkv ln /volume1/Downloads/src/Anime/Cells.at.work.S01/Cells.at.Work.S01E01.1080p.Blu-Ray.10-Bit.3Audio.LPCM.AAC.x265-W.mkv /volume1/Downloads/dst/Anime/TV/工作细胞 (2018)/S01/Cells at Work S01E01 - 1080p_W.mkv Search TV: Cells at Work Found [80671]: 工作细胞 Single Episode file? /volume1/Downloads/src/Anime/Cells.at.work.S01/Cells.at.Work.S01E13.1080p.Blu-Ray.10-Bit.3Audio.LPCM.AAC.x265-W.mkv ln /volume1/Downloads/src/Anime/Cells.at.work.S01/Cells.at.Work.S01E13.1080p.Blu-Ray.10-Bit.3Audio.LPCM.AAC.x265-W.mkv /volume1/Downloads/dst/Anime/TV/工作细胞 (2018)/S01/Cells at Work S01E13 - 1080p_W.mkv Search TV: Cells at Work Found [80671]: 工作细胞 Single Episode file? /volume1/Downloads/src/Anime/Cells.at.work.S01/Cells.at.Work.S01E12.1080p.Blu-Ray.10-Bit.3Audio.LPCM.AAC.x265-W.mkv ln /volume1/Downloads/src/Anime/Cells.at.work.S01/Cells.at.Work.S01E12.1080p.Blu-Ray.10-Bit.3Audio.LPCM.AAC.x265-W.mkv /volume1/Downloads/dst/Anime/TV/工作细胞 (2018)/S01/Cells at Work S01E12 - 1080p_W.mkv Search TV: Cells at Work Found [80671]: 工作细胞 Single Episode file? /volume1/Downloads/src/Anime/Cells.at.work.S01/Cells.at.Work.S01E07.1080p.Blu-Ray.10-Bit.3Audio.LPCM.AAC.x265-W.mkv ln /volume1/Downloads/src/Anime/Cells.at.work.S01/Cells.at.Work.S01E07.1080p.Blu-Ray.10-Bit.3Audio.LPCM.AAC.x265-W.mkv /volume1/Downloads/dst/Anime/TV/工作细胞 (2018)/S01/Cells at Work S01E07 - 1080p_W.mkv Search TV: Cells at Work Found [80671]: 工作细胞 Single Episode file? /volume1/Downloads/src/Anime/Cells.at.work.S01/Cells.at.Work.S01E04.1080p.Blu-Ray.10-Bit.3Audio.LPCM.AAC.x265-W.mkv ln /volume1/Downloads/src/Anime/Cells.at.work.S01/Cells.at.Work.S01E04.1080p.Blu-Ray.10-Bit.3Audio.LPCM.AAC.x265-W.mkv /volume1/Downloads/dst/Anime/TV/工作细胞 (2018)/S01/Cells at Work S01E04 - 1080p_W.mkv Search TV: Cells at Work Found [80671]: 工作细胞 Single Episode file? /volume1/Downloads/src/Anime/Cells.at.work.S01/Cells.at.Work.S01E05.1080p.Blu-Ray.10-Bit.3Audio.LPCM.AAC.x265-W.mkv ln /volume1/Downloads/src/Anime/Cells.at.work.S01/Cells.at.Work.S01E05.1080p.Blu-Ray.10-Bit.3Audio.LPCM.AAC.x265-W.mkv /volume1/Downloads/dst/Anime/TV/工作细胞 (2018)/S01/Cells at Work S01E05 - 1080p_W.mkv Search TV: Cells at Work Found [80671]: 工作细胞 Single Episode file? /volume1/Downloads/src/Anime/Cells.at.work.S01/Cells.at.Work.S01E08.1080p.Blu-Ray.10-Bit.3Audio.LPCM.AAC.x265-W.mkv ln /volume1/Downloads/src/Anime/Cells.at.work.S01/Cells.at.Work.S01E08.1080p.Blu-Ray.10-Bit.3Audio.LPCM.AAC.x265-W.mkv /volume1/Downloads/dst/Anime/TV/工作细胞 (2018)/S01/Cells at Work S01E08 - 1080p_W.mkv Search TV: Cells at Work Found [80671]: 工作细胞 Single Episode file? /volume1/Downloads/src/Anime/Cells.at.work.S01/Cells.at.Work.S01E03.1080p.Blu-Ray.10-Bit.3Audio.LPCM.AAC.x265-W.mkv ln /volume1/Downloads/src/Anime/Cells.at.work.S01/Cells.at.Work.S01E03.1080p.Blu-Ray.10-Bit.3Audio.LPCM.AAC.x265-W.mkv /volume1/Downloads/dst/Anime/TV/工作细胞 (2018)/S01/Cells at Work S01E03 - 1080p_W.mkv Search TV: Cells at Work Found [80671]: 工作细胞 Single Episode file? /volume1/Downloads/src/Anime/Cells.at.work.S01/Cells.at.Work.S01E14.Special.1080p.Blu-Ray.10-Bit.3Audio.LPCM.AAC.x265-W.mkv ln /volume1/Downloads/src/Anime/Cells.at.work.S01/Cells.at.Work.S01E14.Special.1080p.Blu-Ray.10-Bit.3Audio.LPCM.AAC.x265-W.mkv /volume1/Downloads/dst/Anime/TV/工作细胞 (2018)/S01/Cells at Work S01E14 - 1080p_W.mkv Search TV: Cells at Work Found [80671]: 工作细胞 Single Episode file? /volume1/Downloads/src/Anime/Cells.at.work.S01/Cells.at.Work.S01E11.1080p.Blu-Ray.10-Bit.3Audio.LPCM.AAC.x265-W.mkv ln /volume1/Downloads/src/Anime/Cells.at.work.S01/Cells.at.Work.S01E11.1080p.Blu-Ray.10-Bit.3Audio.LPCM.AAC.x265-W.mkv /volume1/Downloads/dst/Anime/TV/工作细胞 (2018)/S01/Cells at Work S01E11 - 1080p_W.mkv Search TV: Cells at Work Found [80671]: 工作细胞 Single Episode file? /volume1/Downloads/src/Anime/Cells.at.work.S01/Cells.at.Work.S01E06.1080p.Blu-Ray.10-Bit.3Audio.LPCM.AAC.x265-W.mkv ln /volume1/Downloads/src/Anime/Cells.at.work.S01/Cells.at.Work.S01E06.1080p.Blu-Ray.10-Bit.3Audio.LPCM.AAC.x265-W.mkv /volume1/Downloads/dst/Anime/TV/工作细胞 (2018)/S01/Cells at Work S01E06 - 1080p_W.mkv Search TV: Cells at Work Found [80671]: 工作细胞 Single Episode file? /volume1/Downloads/src/Anime/Cells.at.work.S01/Cells.at.Work.S01E09.1080p.Blu-Ray.10-Bit.3Audio.LPCM.AAC.x265-W.mkv ln /volume1/Downloads/src/Anime/Cells.at.work.S01/Cells.at.Work.S01E09.1080p.Blu-Ray.10-Bit.3Audio.LPCM.AAC.x265-W.mkv /volume1/Downloads/dst/Anime/TV/工作细胞 (2018)/S01/Cells at Work S01E09 - 1080p_W.mkv Search TV: Cells at Work Found [80671]: 工作细胞 Skip file: /volume1/Downloads/src/Anime/Cells.at.work.S01/Cells.at.Work.S01E07.1080p.Blu-Ray.10-Bit.3Audio.LPCM.AAC.x265-W.chs.ass Search TV: Cells at Work Found [80671]: 工作细胞 Skip file: /volume1/Downloads/src/Anime/Cells.at.work.S01/Cells.at.Work.S01E07.1080p.Blu-Ray.10-Bit.3Audio.LPCM.AAC.x265-W.cht.ass Search TV: Cells at Work Found [80671]: 工作细胞 Skip file: /volume1/Downloads/src/Anime/Cells.at.work.S01/Cells.at.Work.S01E03.1080p.Blu-Ray.10-Bit.3Audio.LPCM.AAC.x265-W.cht.ass Search TV: Cells at Work Found [80671]: 工作细胞 Skip file: /volume1/Downloads/src/Anime/Cells.at.work.S01/Cells.at.Work.S01E03.1080p.Blu-Ray.10-Bit.3Audio.LPCM.AAC.x265-W.chs.ass Search TV: Cells at Work Found [80671]: 工作细胞 Skip file: /volume1/Downloads/src/Anime/Cells.at.work.S01/Cells.at.Work.S01E01.1080p.Blu-Ray.10-Bit.3Audio.LPCM.AAC.x265-W.cht.ass Search TV: Cells at Work Found [80671]: 工作细胞 Skip file: /volume1/Downloads/src/Anime/Cells.at.work.S01/Cells.at.Work.S01E01.1080p.Blu-Ray.10-Bit.3Audio.LPCM.AAC.x265-W.chs.ass Search TV: Cells at Work Found [80671]: 工作细胞 Skip file: /volume1/Downloads/src/Anime/Cells.at.work.S01/Cells.at.Work.S01E02.1080p.Blu-Ray.10-Bit.3Audio.LPCM.AAC.x265-W.cht.ass Search TV: Cells at Work Found [80671]: 工作细胞 Skip file: /volume1/Downloads/src/Anime/Cells.at.work.S01/Cells.at.Work.S01E02.1080p.Blu-Ray.10-Bit.3Audio.LPCM.AAC.x265-W.chs.ass Search TV: Cells at Work Found [80671]: 工作细胞 Skip file: /volume1/Downloads/src/Anime/Cells.at.work.S01/Cells.at.Work.S01E08.1080p.Blu-Ray.10-Bit.3Audio.LPCM.AAC.x265-W.chs.ass Search TV: Cells at Work Found [80671]: 工作细胞 Skip file: /volume1/Downloads/src/Anime/Cells.at.work.S01/Cells.at.Work.S01E08.1080p.Blu-Ray.10-Bit.3Audio.LPCM.AAC.x265-W.cht.ass Search TV: Cells at Work Found [80671]: 工作细胞 Skip file: /volume1/Downloads/src/Anime/Cells.at.work.S01/Cells.at.Work.S01E04.1080p.Blu-Ray.10-Bit.3Audio.LPCM.AAC.x265-W.cht.ass Search TV: Cells at Work Found [80671]: 工作细胞 Skip file: /volume1/Downloads/src/Anime/Cells.at.work.S01/Cells.at.Work.S01E04.1080p.Blu-Ray.10-Bit.3Audio.LPCM.AAC.x265-W.chs.ass Search TV: Cells at Work Found [80671]: 工作细胞 Skip file: /volume1/Downloads/src/Anime/Cells.at.work.S01/Cells.at.Work.S01E05.1080p.Blu-Ray.10-Bit.3Audio.LPCM.AAC.x265-W.cht.ass Search TV: Cells at Work Found [80671]: 工作细胞 Skip file: /volume1/Downloads/src/Anime/Cells.at.work.S01/Cells.at.Work.S01E05.1080p.Blu-Ray.10-Bit.3Audio.LPCM.AAC.x265-W.chs.ass Search TV: Cells at Work Found [80671]: 工作细胞 Skip file: /volume1/Downloads/src/Anime/Cells.at.work.S01/Cells.at.Work.S01E06.1080p.Blu-Ray.10-Bit.3Audio.LPCM.AAC.x265-W.chs.ass Search TV: Cells at Work Found [80671]: 工作细胞 Skip file: /volume1/Downloads/src/Anime/Cells.at.work.S01/Cells.at.Work.S01E06.1080p.Blu-Ray.10-Bit.3Audio.LPCM.AAC.x265-W.cht.ass Search TV: Cells at Work Found [80671]: 工作细胞 Skip file: /volume1/Downloads/src/Anime/Cells.at.work.S01/Cells.at.Work.S01E12.1080p.Blu-Ray.10-Bit.3Audio.LPCM.AAC.x265-W.cht.ass Search TV: Cells at Work Found [80671]: 工作细胞 Skip file: /volume1/Downloads/src/Anime/Cells.at.work.S01/Cells.at.Work.S01E12.1080p.Blu-Ray.10-Bit.3Audio.LPCM.AAC.x265-W.chs.ass Search TV: Cells at Work Found [80671]: 工作细胞 Skip file: /volume1/Downloads/src/Anime/Cells.at.work.S01/Cells.at.Work.S01E11.1080p.Blu-Ray.10-Bit.3Audio.LPCM.AAC.x265-W.cht.ass Search TV: Cells at Work Found [80671]: 工作细胞 Skip file: /volume1/Downloads/src/Anime/Cells.at.work.S01/Cells.at.Work.S01E11.1080p.Blu-Ray.10-Bit.3Audio.LPCM.AAC.x265-W.chs.ass Search TV: Cells at Work Found [80671]: 工作细胞 Skip file: /volume1/Downloads/src/Anime/Cells.at.work.S01/Cells.at.Work.S01E13.1080p.Blu-Ray.10-Bit.3Audio.LPCM.AAC.x265-W.cht.ass Search TV: Cells at Work Found [80671]: 工作细胞 Skip file: /volume1/Downloads/src/Anime/Cells.at.work.S01/Cells.at.Work.S01E13.1080p.Blu-Ray.10-Bit.3Audio.LPCM.AAC.x265-W.chs.ass Search TV: Cells at Work Found [80671]: 工作细胞 Skip file: /volume1/Downloads/src/Anime/Cells.at.work.S01/Cells.at.Work.S01E10.1080p.Blu-Ray.10-Bit.3Audio.LPCM.AAC.x265-W.chs.ass Search TV: Cells at Work Found [80671]: 工作细胞 Skip file: /volume1/Downloads/src/Anime/Cells.at.work.S01/Cells.at.Work.S01E10.1080p.Blu-Ray.10-Bit.3Audio.LPCM.AAC.x265-W.cht.ass Search TV: Cells at Work Found [80671]: 工作细胞 Skip file: /volume1/Downloads/src/Anime/Cells.at.work.S01/Cells.at.Work.S01E14.Special.1080p.Blu-Ray.10-Bit.3Audio.LPCM.AAC.x265-W.cht.ass Search TV: Cells at Work Found [80671]: 工作细胞 Skip file: /volume1/Downloads/src/Anime/Cells.at.work.S01/Cells.at.Work.S01E14.Special.1080p.Blu-Ray.10-Bit.3Audio.LPCM.AAC.x265-W.chs.ass Search TV: Cells at Work Found [80671]: 工作细胞 Skip file: /volume1/Downloads/src/Anime/Cells.at.work.S01/Cells.at.Work.S01E09.1080p.Blu-Ray.10-Bit.3Audio.LPCM.AAC.x265-W.cht.ass Search TV: Cells at Work Found [80671]: 工作细胞 Skip file: /volume1/Downloads/src/Anime/Cells.at.work.S01/Cells.at.Work.S01E09.1080p.Blu-Ray.10-Bit.3Audio.LPCM.AAC.x265-W.chs.ass

    opened by brucmao 2
  • 希望加个参数,不创建movie文件夹

    希望加个参数,不创建movie文件夹

    python3 /Y/torcp/torcp.py "/Y/src/All-Time Box Office World-wide" --hd_pat=/Y/dst/TOP50/ --movie

    网上下载了top50的电影合集 这个会创建文件夹 /Y/dst/TOP50/Movie ,最后这个Movie 文件夹多余,希望可以有参数设置取消

    opened by brucmao 1
  • 这个自动改名不够智能,能根据themoviedb 匹配后改名吗

    这个自动改名不够智能,能根据themoviedb 匹配后改名吗

    /Y/src/Anime/Fan.Ren.Xiu.Xian.Zhuan.S2.1080p.WEB-DL.H264.AAC-CHDWEB/Fan.Ren.Xiu.Xian.Zhuan.S2E13.1080p.WEB-DL.H264.AAC-CHDWEB.mp4  ==>  TV/Fan Ren Xiu Xian Zhuan/S2
    /Y/src/Anime/Fan.Ren.Xiu.Xian.Zhuan.S2.1080p.WEB-DL.H264.AAC-CHDWEB/Fan.Ren.Xiu.Xian.Zhuan.S2E10.1080p.WEB-DL.H264.AAC-CHDWEB.mp4  ==>  TV/Fan Ren Xiu Xian Zhuan/S2
    /Y/src/Anime/Fan.Ren.Xiu.Xian.Zhuan.S2.1080p.WEB-DL.H264.AAC-CHDWEB/Fan.Ren.Xiu.Xian.Zhuan.S2E11.1080p.WEB-DL.H264.AAC-CHDWEB.mp4  ==>  TV/Fan Ren Xiu Xian Zhuan/S2
    /Y/src/Anime/Fan.Ren.Xiu.Xian.Zhuan.S2.1080p.WEB-DL.H264.AAC-CHDWEB/Fan.Ren.Xiu.Xian.Zhuan.S2E12.1080p.WEB-DL.H264.AAC-CHDWEB.mp4  ==>  TV/Fan Ren Xiu Xian Zhuan/S2
    /Y/src/Anime/Fan.Ren.Xiu.Xian.Zhuan.S2.1080p.WEB-DL.H264.AAC-CHDWEB/Fan.Ren.Xiu.Xian.Zhuan.S2E09.1080p.WEB-DL.H264.AAC-CHDWEB.mp4  ==>  TV/Fan Ren Xiu Xian Zhuan/S2
    /Y/src/Anime/Fan.Ren.Xiu.Xian.Zhuan.S2.1080p.WEB-DL.H264.AAC-CHDWEB/Fan.Ren.Xiu.Xian.Zhuan.S2E14.1080p.WEB-DL.H264.AAC-CHDWEB.mp4  ==>  TV/Fan Ren Xiu Xian Zhuan/S2
    /Y/src/Anime/Fan.Ren.Xiu.Xian.Zhuan.S2.1080p.WEB-DL.H264.AAC-CHDWEB/Fan.Ren.Xiu.Xian.Zhuan.S2E15.1080p.WEB-DL.H264.AAC-CHDWEB.mp4  ==>  TV/Fan Ren Xiu Xian Zhuan/S2
    /Y/src/Anime/Fan.Ren.Xiu.Xian.Zhuan.S2.1080p.WEB-DL.H264.AAC-CHDWEB/Fan.Ren.Xiu.Xian.Zhuan.S2E16.1080p.WEB-DL.H264.AAC-CHDWEB.mp4  ==>  TV/Fan Ren Xiu Xian Zhuan/S2
    /Y/src/Anime/Fan.Ren.Xiu.Xian.Zhuan.S2.1080p.WEB-DL.H264.AAC-CHDWEB/Fan.Ren.Xiu.Xian.Zhuan.S2E17.1080p.WEB-DL.H264.AAC-CHDWEB.mp4  ==>  TV/Fan Ren Xiu Xian Zhuan/S2
    /Y/src/Anime/Fan.Ren.Xiu.Xian.Zhuan.S2.1080p.WEB-DL.H264.AAC-CHDWEB/islinked.lk  ==>  TV/Fan Ren Xiu Xian Zhuan/S2
    /Y/src/Anime/Fan.Ren.Xiu.Xian.Zhuan.E32.1080p.WEB-DL.H264.AAC-CHDWEB.mp4  ==>  TV/Fan Ren Xiu Xian Zhuan E32
    /Y/src/Anime/Fan.Ren.Xiu.Xian.Zhuan.E31.1080p.WEB-DL.H264.AAC-CHDWEB.mp4  ==>  TV/Fan Ren Xiu Xian Zhuan E31
    
    opened by brucmao 1
  • Use setup.cfg and pyproject.toml and automate pypi publishing

    Use setup.cfg and pyproject.toml and automate pypi publishing

    • 将整个module移到了torcp文件夹下,将test移到了tests文件夹下,更符合python package的最佳实践
    • 使用setup.cfgpyproject.toml来构建python module,现在可以通过pip install .来安装torcp,或者通过python setup.py sdist来打包可发布的包
    • 添加了GitHub Action,当创建release的时候可以自动发布到pypi

    Github Action 需要C佬自己启用下,同时,需要在Settings > Secrets > Actions设置PYPI_USERNAMEPYPI_PASSWORD这两个变量,pypi的用户名密码如果没有的话需要注册下,很容易

    opened by LeiShi1313 0
  • merge to main

    merge to main

    • 减了rclone copy功能,只作硬链。需要rclone copy就硬链出来另外命令拷

    • 还有quickskip, no_nfo等功能也都减了

    • MovieEncode只收mkv, mp4, 其它jpg,nfo等小文件都不链了

    • 主要变化是各目录进去看里面文件进行识别。

      1. 里面有BDMV目录或iso都移到MovieBDMV目录
      2. 外面目录识别不出tv,到里面可能识别出,movie tv识别有概率更稳了
      3. 还有目录中有多文件的,比如smurf 1-3 这样的目录会进去挨个识别分别开出3个目录
      4. 还有是带collections pack这样的目录会进去分别识别
    opened by ccf-2012 0
  • Feature Request:删除源文件时同时删除硬/软链接

    Feature Request:删除源文件时同时删除硬/软链接

    实际上,我们在日常使用中,经常会直接在BT Client 直接删除种子和源文件,而这也代表着我们希望释放这部分资源所占用的空间。

    如果使用 torcp的硬链接模式,空间不会得到释放,如果使用软连接,那么软连接会失效。

    能否在命令行添加一个选项,删除源文件的时候,同时删除目标文件

    再展开来说,能否提供一种类似daemon或者service的工作模式,始终去保持目标根文件夹和源根文件夹的数据同步呢?

    opened by 120318 0
  • 总是出现连接异常报错

    总是出现连接异常报错

    大致有两类异常报错,一类是远程未连接,一类是ssl错误,前者居多。日志分别如下

    Traceback (most recent call last):
      File "/usr/lib/python3.9/site-packages/urllib3/connectionpool.py", line 699, in urlopen
        httplib_response = self._make_request(
      File "/usr/lib/python3.9/site-packages/urllib3/connectionpool.py", line 445, in _make_request
        six.raise_from(e, None)
      File "<string>", line 3, in raise_from
      File "/usr/lib/python3.9/site-packages/urllib3/connectionpool.py", line 440, in _make_request
        httplib_response = conn.getresponse()
      File "/usr/lib/python3.9/http/client.py", line 1371, in getresponse
        response.begin()
      File "/usr/lib/python3.9/http/client.py", line 319, in begin
        version, status, reason = self._read_status()
      File "/usr/lib/python3.9/http/client.py", line 288, in _read_status
        raise RemoteDisconnected("Remote end closed connection without"
    http.client.RemoteDisconnected: Remote end closed connection without response
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/usr/lib/python3.9/site-packages/requests/adapters.py", line 439, in send
        resp = conn.urlopen(
      File "/usr/lib/python3.9/site-packages/urllib3/connectionpool.py", line 755, in urlopen
        retries = retries.increment(
      File "/usr/lib/python3.9/site-packages/urllib3/util/retry.py", line 532, in increment
        raise six.reraise(type(error), error, _stacktrace)
      File "/usr/lib/python3.9/site-packages/urllib3/packages/six.py", line 769, in reraise
        raise value.with_traceback(tb)
      File "/usr/lib/python3.9/site-packages/urllib3/connectionpool.py", line 699, in urlopen
        httplib_response = self._make_request(
      File "/usr/lib/python3.9/site-packages/urllib3/connectionpool.py", line 445, in _make_request
        six.raise_from(e, None)
      File "<string>", line 3, in raise_from
      File "/usr/lib/python3.9/site-packages/urllib3/connectionpool.py", line 440, in _make_request
        httplib_response = conn.getresponse()
      File "/usr/lib/python3.9/http/client.py", line 1371, in getresponse
        response.begin()
      File "/usr/lib/python3.9/http/client.py", line 319, in begin
        version, status, reason = self._read_status()
      File "/usr/lib/python3.9/http/client.py", line 288, in _read_status
        raise RemoteDisconnected("Remote end closed connection without"
    urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/usr/bin/torcp", line 8, in <module>
        sys.exit(main())
      File "/usr/lib/python3.9/site-packages/torcp/torcp.py", line 965, in main
        processOneDirItem(parentLocation, itemName, folderimdb)
      File "/usr/lib/python3.9/site-packages/torcp/torcp.py", line 688, in processOneDirItem
        p.parse(itemName, useTMDb=(ARGS.tmdb_api_key is not None), hasIMDbId=imdbidstr)
      File "/usr/lib/python3.9/site-packages/torcp/tmdbparser.py", line 106, in parse
        self.searchTMDb(self.title, self.tmdbcat,
      File "/usr/lib/python3.9/site-packages/torcp/tmdbparser.py", line 369, in searchTMDb
        results = search.movies({"query": s[1], "year": str(intyear), "page": 1})
      File "/usr/lib/python3.9/site-packages/tmdbv3api/objs/search.py", line 51, in movies
        return self._get_obj(self._call(self._urls["movies"], urlencode(params)))
      File "/usr/lib/python3.9/site-packages/tmdbv3api/tmdb.py", line 144, in _call
        req = self.cached_request(method, url, data, self)
      File "/usr/lib/python3.9/site-packages/tmdbv3api/tmdb.py", line 124, in cached_request
        return requests.request(method, url, data=data, proxies=self.proxies)
      File "/usr/lib/python3.9/site-packages/requests/api.py", line 61, in request
        return session.request(method=method, url=url, **kwargs)
      File "/usr/lib/python3.9/site-packages/requests/sessions.py", line 542, in request
        resp = self.send(prep, **send_kwargs)
      File "/usr/lib/python3.9/site-packages/requests/sessions.py", line 655, in send
        r = adapter.send(request, **kwargs)
      File "/usr/lib/python3.9/site-packages/requests/adapters.py", line 498, in send
        raise ConnectionError(err, request=request)
    requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
    
    
    Traceback (most recent call last):
      File "/usr/lib/python3.9/site-packages/urllib3/connectionpool.py", line 699, in urlopen
        httplib_response = self._make_request(
      File "/usr/lib/python3.9/site-packages/urllib3/connectionpool.py", line 382, in _make_request
        self._validate_conn(conn)
      File "/usr/lib/python3.9/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
        conn.connect()
      File "/usr/lib/python3.9/site-packages/urllib3/connection.py", line 416, in connect
        self.sock = ssl_wrap_socket(
      File "/usr/lib/python3.9/site-packages/urllib3/util/ssl_.py", line 449, in ssl_wrap_socket
        ssl_sock = _ssl_wrap_socket_impl(
      File "/usr/lib/python3.9/site-packages/urllib3/util/ssl_.py", line 493, in _ssl_wrap_socket_impl
        return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
      File "/usr/lib/python3.9/ssl.py", line 500, in wrap_socket
        return self.sslsocket_class._create(
      File "/usr/lib/python3.9/ssl.py", line 1040, in _create
        self.do_handshake()
      File "/usr/lib/python3.9/ssl.py", line 1309, in do_handshake
        self._sslobj.do_handshake()
    ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:1129)
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/usr/lib/python3.9/site-packages/requests/adapters.py", line 439, in send
        resp = conn.urlopen(
      File "/usr/lib/python3.9/site-packages/urllib3/connectionpool.py", line 755, in urlopen
        retries = retries.increment(
      File "/usr/lib/python3.9/site-packages/urllib3/util/retry.py", line 574, in increment
        raise MaxRetryError(_pool, url, error or ResponseError(cause))
    urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api.themoviedb.org', port=443): Max retries exceeded with url: /3/search/movie?api_key=xxxx&query=%E5%A4%B1%E8%B8%AA%E9%A1%BA%E5%BA%8F&year=2014&page=1&language=en (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)')))
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/usr/bin/torcp", line 8, in <module>
        sys.exit(main())
      File "/usr/lib/python3.9/site-packages/torcp/torcp.py", line 965, in main
        processOneDirItem(parentLocation, itemName, folderimdb)
      File "/usr/lib/python3.9/site-packages/torcp/torcp.py", line 688, in processOneDirItem
        p.parse(itemName, useTMDb=(ARGS.tmdb_api_key is not None), hasIMDbId=imdbidstr)
      File "/usr/lib/python3.9/site-packages/torcp/tmdbparser.py", line 106, in parse
        self.searchTMDb(self.title, self.tmdbcat,
      File "/usr/lib/python3.9/site-packages/torcp/tmdbparser.py", line 369, in searchTMDb
        results = search.movies({"query": s[1], "year": str(intyear), "page": 1})
      File "/usr/lib/python3.9/site-packages/tmdbv3api/objs/search.py", line 51, in movies
        return self._get_obj(self._call(self._urls["movies"], urlencode(params)))
      File "/usr/lib/python3.9/site-packages/tmdbv3api/tmdb.py", line 144, in _call
        req = self.cached_request(method, url, data, self)
      File "/usr/lib/python3.9/site-packages/tmdbv3api/tmdb.py", line 124, in cached_request
        return requests.request(method, url, data=data, proxies=self.proxies)
      File "/usr/lib/python3.9/site-packages/requests/api.py", line 61, in request
        return session.request(method=method, url=url, **kwargs)
      File "/usr/lib/python3.9/site-packages/requests/sessions.py", line 542, in request
        resp = self.send(prep, **send_kwargs)
      File "/usr/lib/python3.9/site-packages/requests/sessions.py", line 655, in send
        r = adapter.send(request, **kwargs)
      File "/usr/lib/python3.9/site-packages/requests/adapters.py", line 514, in send
        raise SSLError(e, request=request)
    requests.exceptions.SSLError: HTTPSConnectionPool(host='api.themoviedb.org', port=443): Max retries exceeded with url: /3/search/movie?api_key=xxxx&query=%E5%A4%B1%E8%B8%AA%E9%A1%BA%E5%BA%8F&year=2014&page=1&language=en (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)')))
    
    

    网络环境:旁路由openclash,访问外网没有什么明显问题,规则指定了“api.themoviedb.org”走代理,观察日志也的确走了代理。 本地环境:docker安装快检版qb4.3.9,根据教程在容器内安装pip3后pip3 install torcp,依赖包版本:

    Package            Version
    ------------------ ---------
    appdirs            1.4.4
    CacheControl       0.12.10
    certifi            2020.12.5
    charset-normalizer 2.0.7
    colorama           0.4.4
    contextlib2        21.6.0
    distlib            0.3.3
    distro             1.6.0
    html5lib           1.1
    idna               3.3
    lockfile           0.12.2
    msgpack            1.0.2
    ordered-set        4.0.2
    packaging          20.9
    pep517             0.12.0
    pip                20.3.4
    progress           1.6
    pyparsing          2.4.7
    requests           2.26.0
    retrying           1.3.3
    setuptools         52.0.0
    six                1.16.0
    tmdbv3api          1.7.7
    toml               0.10.2
    tomli              1.2.2
    torcp              0.52
    urllib3            1.26.7
    webencodings       0.5.1
    
    

    刮削基本上看脸,多的时候能刮7-80部,少的时候只能刮十来部,但问题是库里还有几百部电影。 如果按照根目录的方式转移每次都要从头开始,而如果按照子目录的话还要一个个搞或者写脚本,有点麻烦。 现在就想知道这是我本地网络的问题,还是工具的问题,以及有什么好的解决办法。

    opened by pickalexrener 0
  • 0.48问题反馈建议

    0.48问题反馈建议

    0.48更新后 源文件夹内 .jpg .txt .nfo等无关文件均会硬链至目标文件夹 , 记忆中在此前版本不会这样 这使得 -e 参数没有意义 , 同时刮削时会联动修改某些nfo源文件导致无法做种

    建议对应添加一个参数以设置排除不需要的文件扩展名 比如--exclude 另外,从语义易读角度来看-e(--excludeExtname)更适合排除扩展名 ,而-i(--includeExtname)更适合保留扩展名

    (●'◡'●)

    opened by gitnoobbbb 0
  • BDMV文件处理会同时生成MovieM2TS 和BDMVISO 两个文件夹

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

    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

    opened by brucmao 1
  • 对于不同编码的,重命名后会冲突

    对于不同编码的,重命名后会冲突

    eg: Killer.Seven.2018.S01.1080p.WEB-DL.AAC.H264-OurTV Killer.Seven.2018.S01.1080p.WEB-DL.AAC.H265-OurTV

    这2个只是音频编码不同,torcp重命名后会出现覆盖的情况。

    能否可选是否源视频文件重命名,不需要重命名仅命名最外层刮削好的文件夹。

    opened by HYQ307 1
Releases(v0.55)
Owner
ccf2012
ccf2012
Extract the download URL from OneDrive or SharePoint share link and push it to aria2

OneDriveShareLinkPushAria2 Extract the download URL from OneDrive or SharePoint share link and push it to aria2 从OneDrive或SharePoint共享链接提取下载URL并将其推送到a

高玩梁 262 Jan 8, 2023
tade is a discussion/forum/link aggregator application. It provides three interfaces: a regular web page, a mailing list bridge and an NNTP server

tade is a discussion/forum/link aggregator application. It provides three interfaces: a regular web page, a mailing list bridge and an NNTP server

Manos Pitsidianakis 23 Nov 4, 2022
Generates a random prnt.sc link and display image.

Generates a random prnt.sc link and display image.

Emirhan 3 Oct 8, 2021
A utility tool to create .env files

A utility tool to create .env files dump-env takes an .env.template file and some optional environmental variables to create a new .env file from thes

wemake.services 89 Dec 8, 2022
A script to check for common mistakes in LaTeX source files of scientific papers.

LaTeX Paper Linter This script checks for common mistakes in LaTeX source files of scientific papers. Usage python3 paperlint.py <file.tex> [-i/x <inc

Michael Schwarz 12 Nov 16, 2022
A small utility that sorts your files.

FileSorter A small utility that sorts your files. TODO: Scan directory to find files(thanks @corruptmemry for this!) Split extensions to determine fil

null 2 Jun 16, 2022
This code renames subtitle file names to your video files names, so you don't need to rename them manually.

Rename Subtitle This code renames your subtitle file names to your video file names so you don't need to do it manually Note: It only works for series

Mostafa Kazemi 4 Sep 12, 2021
Import the module and create an object of the class LocalVariable.

LocalVariable Import the module and create an object of the class LocalVariable. Call the save method with the name and the value of a variable as arg

Sajedur Rahman Fiad 2 Dec 14, 2022
Create powerful passwords easily and with many options with this program

Password_Generator About the Program: You can create powerful passwords with this program with many options easily! Features: You can copy the generat

Sina.f 0 Jul 14, 2022
A python package for your Kali Linux distro that find the fastest mirror and configure your apt to use that mirror

Kali Mirror Finder Using Single Python File A python package for your Kali Linux distro that find the fastest mirror and configure your apt to use tha

MrSingh 6 Dec 12, 2022
This project is a set of programs that I use to create a README.md file.

This project is a set of programs that I use to create a README.md file.

Tom Dörr 223 Dec 24, 2022
Create a Web Component (a Custom Element) from a python file

wyc Create a Web Component (a Custom Element) from a python file (transpile python code to javascript (es2015)). Features Use python to define your cu

null 7 Oct 9, 2022
🦩 A Python tool to create comment-free Jupyter notebooks.

Pelikan Pelikan lets you convert notebooks to comment-free notebooks. In other words, It removes Python block and inline comments from source cells in

Hakan Özler 7 Nov 20, 2021
Create C bindings for python automatically with the help of libclang

Python C Import Dynamic library + header + ctypes = Module like object! Create C bindings for python automatically with the help of libclang. Examples

null 1 Jul 25, 2022
A tool to create the basics of a project

Project-Scheduler Instalação Para instalar o Project Maker, você necessita está em um ambiente de desenvolvimento Linux ou wsl com alguma distro debia

null 2 Dec 17, 2021
This is a package that allows you to create a key-value vault for storing variables in a global context

This is a package that allows you to create a key-value vault for storing variables in a global context. It allows you to set up a keyring with pre-defined constants which act as keys for the vault. These constants are then what is stored inside the vault. A key is just a string, but the value that the key is mapped to can be assigned to any type of object in Python. If the object is serializable (like a list or a dict), it can also be writen to a JSON file You can then use a decorator to annotate functions that you want to have use this vault to either store return variables in or to extract variables to be used as input for the function.

Data Ductus 2 Dec 14, 2022
Create password - Generate Random Password with Passphrase

Generate Random Password with Passphrase This is a python code to generate stron

null 1 Jan 18, 2022
jsoooooooon derulo - Make sure your 'jason derulo' is featured as the first part of your json data

jsonderulo Make sure your 'jason derulo' is featured as the first part of your json data Install: # python pip install jsonderulo poetry add jsonderul

jesse 3 Sep 13, 2021
A simple tool that updates your pubspec.yaml file, of a Flutter project, without altering the structure of your file.

A simple tool that updates your pubspec.yaml file, of a Flutter project, without altering the structure of your file.

null 3 Dec 10, 2021