Code Monkey home page Code Monkey logo

dirtmdb's Introduction

DirTMDb

将目录中的第一个 .nfo 文件中的 tmdbid 提取出来,将目录名改名为 Plex 标识,如 {tmdb-12345}

使用

python3 dirtmdb.py -h

usage: dirtmdb.py [-h] [-i] [-t] [-s SUCCESS_LIST] dir

rename folder with tmdbid.

positional arguments:
  dir                   folder path.

options:
  -h, --help            show this help message and exit
  -i, --imdb            rename folder with IMDb id.
  -t, --tmdb            rename folder with TMDb id.
  -s SUCCESS_LIST, --success-list SUCCESS_LIST
                        output success list.

例子

python3 dirtmdb.py  /gd/movie/other -s sus.txt
  • 如果要改名为带 IMDb 后缀:
python3 dirtmdb.py  --imdb /gd/movie/other

dirtmdb's People

Contributors

ccf-2012 avatar fuse66 avatar

Stargazers

Residual Blood avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.