Comments (5)
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.
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.
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.
@egbertbouman I think we can safely close that one?
from tribler.
@whirm I agree.
from tribler.
Related Issues (20)
- [7.13.1] OSError: [WinError 123] A sintaxe do nome do ficheiro, do nome do diretório ou da etiqueta do volume é inc... HOT 1
- Remove `DownloadManager.dummy_mode` HOT 2
- Proposal: Introduce [Prototype] Tag for Experimental PRs HOT 7
- CoreCrashedError: The Tribler core has unexpectedly finished with exit code 97 and status: 0. Address family not supported by protocol HOT 6
- ValueError: Can redirect only to http or https HOT 6
- Ancient version detected HOT 3
- Empty popular torrents HOT 2
- after version 7.13.1 upgrade all existing downloads stopped downloading with anynomity enabled HOT 4
- Sentry: Release Health HOT 1
- Tie Breaker HOT 2
- pony.orm.dbapiprovider.OperationalError: no such column: ChannelNode.num_entries HOT 3
- Bandwidth Accounting/Tokens/Trust cleanup HOT 9
- pip3 error: externally-managed-environment HOT 4
- `jinja2` dependency version update failed
- per torrent ratio and up/down do not match HOT 4
- [main] CoreCrashedError: ValueError: invalid literal for int() with base 10: 'examples' HOT 1
- Application Tester: 'NoneType' object has no attribute 'checkState' HOT 1
- `DownloadManager. get_metainfo()` receives an URL in bytes
- Incorrect handling of torrent's `params[b'announce-list']` and the `trackers` parameter of the `/createtorrent` endpoint
- Documentation (ReadTheDocs + GitHub) is silently failing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tribler.