mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-03-02 22:57:32 -05:00
Allow / in label title #1279
Labels
No labels
Accessibility
AppImage
Bounty
Build system
CI
Can't reproduce
Code cleanup
Confirmed bug
Confirmed bug
Core
Crash
Data loss
Discussion
Docker
Documentation
Duplicate
Feature
Feature request
Feature request
Feature request
Filters
Flatpak
GUI
Has workaround
I2P
Invalid
Libtorrent
Look and feel
Meta
NSIS
Network
Not an issue
OS: *BSD
OS: Linux
OS: Windows
OS: macOS
PPA
Performance
Project management
Proxy/VPN
Qt bugs
Qt6 compat
RSS
Search engine
Security
Temp folder
Themes
Translations
Triggers
Waiting diagnosis
Waiting info
Waiting upstream
Waiting web implementation
Watched folders
WebAPI
WebUI
autoCloseOldIssue
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/qBittorrent#1279
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ghost on GitHub (Mar 5, 2014).
This is very simple and yet very handy feature.
Suggestion: allow / character in label names everywhere.
Rationale: this is simple and yet very handy modification would allow users to categorize their downloads into subfolders. When "Append label to torrent save path" option is checked character / being filesystem separator would put files labeled as "Label/Subfolder" into ../download_path/Label/Subfolder allowing more fine-grained categorization.
This actually works even now, but there are few minor details:
@sledgehammer999 commented on GitHub (Mar 7, 2014):
Read here why this isn't possible atm:
@ghost commented on GitHub (Mar 8, 2014):
I suppose you meant this:
3. Not allowing the "\" character is because that would create additional folders that qbt isn't designed to handle yet.Excuse my ignorance but is it not as simple as appending label to download path, and then just doing QDir::mkpath() to ensure it is created? For good measure \ and / can be replaced with native OS path separator be it needed. Sounds like simple fix really.
@sledgehammer999 commented on GitHub (Mar 8, 2014):
IIRC qbt does other things with labels internally and assumes that one label == one dir.
Look in the bugstracker everything tagged under "labels". There are 2-3 big wishlist items. Once they get implemented, they will make your suggestion obsolete.