Code Monkey home page Code Monkey logo

Comments (7)

laxect avatar laxect commented on June 20, 2024

So why not use tvshow.nfo(

from dantalian.

nanozuki avatar nanozuki commented on June 20, 2024

@laxect Parse XML and let a user write XML is too complexy. A user-friendly and program-friendly config file is better.
I plan to define a dantalian.toml in every anime folder.

from dantalian.

nanozuki avatar nanozuki commented on June 20, 2024
  • We need a more precise matching method, maybe the year, even the month:

User can add year or month in folder name:

小魔女学园 (2017)[BDRip]
小魔女学园 (201701)

from dantalian.

nanozuki avatar nanozuki commented on June 20, 2024
  • Should add some method to specify anime manually:

dantalian.toml in every folder:

subject = 185792
url = "https://bangumi.tv/subject/185792"
tv_anime_pattern = "^(?P<name>.+?) (?P<date>\(\d{4,6}\))(?P<tags> (\[[^\s]+\])+)?$"
episode_pattern = '^AnimeName (?P<sp>SP)?(?P<ep>[_\d]+)\..*$"
  • Subject id or URL to specify subject in bangumi.
  • tv_anime_patter is a regular expression with named captures, "name" to specify anime name, "date" for the premiered date, yyyy or yyyymm, "tags" for custom tags.
  • epidode_patter is a regular expression with named captures, "sp" to specify whether it's SP, "ep" for episode number.

from dantalian.

laxect avatar laxect commented on June 20, 2024
  • We need a more precise matching method, maybe the year, even the month:

User can add year or month in folder name:

小魔女学园 (2017)[BDRip]
小魔女学园 (201701)

Just use bgm id?

from dantalian.

nanozuki avatar nanozuki commented on June 20, 2024

@laxect you mean subject id in folder name? 小魔女学园 (185792). Sounds good.

from dantalian.

nanozuki avatar nanozuki commented on June 20, 2024

closed by #25

from dantalian.

Related Issues (20)

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.