GithubHelp home page GithubHelp logo

Comments (3)

iyear avatar iyear commented on June 23, 2024

Would calling the tdl command each time when there is a new url solve the issue?

from tdl.

huajideshutiao avatar huajideshutiao commented on June 23, 2024

Would calling the tdl command each time when there is a new url solve the issue?

It should be possible.
Additional information: I came up with this issue during a discussion on another project because

Discussion link

Currently the bot only supports single msg link in a message, if multiple messages containing msg link were received and started download at the same time, multiple tdl instance will be created, but tdl does not allow this. #564

It may be possible in the future to support multiple msg link in a single message and pass the msg link to tdl, in this way only one instance of tdl will be created and will download them at the same time.

If there is currently a way to resolve this conflict (as I have been busy with certain things and have not used TDL for a while), then this issue should be closed.

from tdl.

iyear avatar iyear commented on June 23, 2024

Currently the bot only supports single msg link in a message, if multiple messages containing msg link were received and started download at the same time, multiple tdl instance will be created, but tdl does not allow this. #564

This is possible. You can achieve this using file storage. Reading and writing in JSON file format will not lock the file. Ref: https://docs.iyear.me/tdl/guide/global-config/#--storage

Note: Using the same session token across multiple instances is not recommended as it may lead to unexpected situations. However, you might give it a try.

from tdl.

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.