Giter VIP home page Giter VIP logo

Comments (5)

NielsZeilemaker avatar NielsZeilemaker commented on May 10, 2024

Initially a SwiftDownload will only have a roothash, no name is available.
Maybe we could extend the swift-url spec to include a displayname (dn) similar to magnet links.
Then we can use the dn to set the name.

from tribler.

arno481 avatar arno481 commented on May 10, 2024

On 22/03/2013 11:58, NielsZeilemaker wrote:

Initially a SwiftDownload will only have a roothash, no name is available.
Maybe we could extend the swift-url spec to include a displayname (dn)
similar to magnet links.
Then we can use the dn to set the name.

Practically, if you know the filename from e.g. the .torrent you can set
the dest dir to that filename and the swift engine will safe it under
that name.

More generally, you could also make the filename part of the content,
e.g. by creating a multi-file swarm that contains just one file. The
name is then protected from modification by the root hash, unlike in the
dn case.

Just something to think about,
Arno

from tribler.

NielsZeilemaker avatar NielsZeilemaker commented on May 10, 2024

It should only happen if we don't have a .torrent, as if we do then the MyPreferences database row will point to a torrent and then simply use the swarmname of the torrent.

If it happens when we have the .torrent, then this is caused by a bug. Personally, it never happend to me and without a clear example it would be hard to replicate.

from tribler.

whirm avatar whirm commented on May 10, 2024

@egbertbouman I think we can safely close that one?

from tribler.

egbertbouman avatar egbertbouman commented on May 10, 2024

@whirm I agree.

from tribler.

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.