Giter Site home page Giter Site logo

Comments (6)

Laharah avatar Laharah commented on May 29, 2024

The single issue is fine :). I'll see what I can do about adding this info to the torrent. Deluge doesn't have any API for updating those fields, so I'll have to change the values directly. And while I can probably get them to show up right after adding, some of them may not persist after deluge reloads their state from libtorrent. It'll depend on whether deluge keeps those stats internally, or if libtorrent handles it.

I'll look into it and see what I can do.

from deluge-utorrentimport.

Laharah avatar Laharah commented on May 29, 2024

well, some good news, but mostly bad.

The date added is do-able, but the ratio stats aren't. Libtorrent keeps track of those and there's no easy way to update them. I've come up with a workaround, but it's evil. It involves editing the fastresume data directly, re-encoding it, deleting the torrent from libtorrent and re-importing it under deluge's nose. If anything goes wrong while it happens, some seriously bad stuff can go wrong and get out of sync.

I'm not really comfortable mass releasing a plugin that can seriously harm peoples setups, so I'm not going to put in torrent-metadata importing. I'll leave this issue open incase I get some more demand for it or I come up with a safer way to do it.

from deluge-utorrentimport.

ZimbiX avatar ZimbiX commented on May 29, 2024

Huh, that does sound like a nasty workaround. The date's probably the most important, anyway.

from deluge-utorrentimport.

Laharah avatar Laharah commented on May 29, 2024

I've got a local branch that updates the date added serverside. I'll push it up once I've gotten a chance to add the GUI options and test it some more.

I also want to take a look at importing labels too, but I wanna make sure that if I do, I support the lableplus plugin. Not sure If it'd be worth it though, they're pretty easy to redo after the import.

from deluge-utorrentimport.

ZimbiX avatar ZimbiX commented on May 29, 2024

Alrighty. I'd be keen to test that out =)

Cheers.

On 27 August 2015 at 18:21, Laharah [email protected] wrote:

I've got a local branch that updates the date added serverside. I'll push
it up once I've gotten a chance to add the GUI options and test it some
more.

I also want to take a look at importing labels too, but I wanna make sure
that if I do, I support the lableplus plugin.


Reply to this email directly or view it on GitHub
#4 (comment)
.

from deluge-utorrentimport.

Laharah avatar Laharah commented on May 29, 2024

@ZimbiX, The new release adds support for date preservation. Let me know if you find any bugs!

from deluge-utorrentimport.

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.