After importing files via ContentHub files won't be deleted
Bug #1469452 reported by
JkB
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Music App |
Fix Released
|
Medium
|
Andrew Hayzen | ||
content-hub |
Invalid
|
Undecided
|
Unassigned |
Bug Description
After importing music (.zip from 7digital) via content hub, the files will be stored in ~/Music/... but the unzipped files are not deleted in ~/.cache/
The .zip seems to be, though.
This results in using twice the space that is needed.
Or is there an intention to keep them?
It would be even better to be able to change the standard import path from /Music/ to e.g. a directory on the sd-card.
Related branches
lp:~ahayzen/music-app/fix-1469452-content-hub-finalised
- Victor Thompson: Approve
- Ubuntu Phone Apps Jenkins Bot: Approve (continuous-integration)
-
Diff: 21 lines (+4/-1)1 file modifiedapp/components/Helpers/ContentHubHelper.qml (+4/-1)
Changed in music-app: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Thank you for taking the time to report this bug and helping to make Ubuntu better.
The way this works currently is content-hub puts them into ~/.cache/ com.ubuntu. music/HubIncomi ng/ for us and then we call a content-hub method to move them into ~/Music/Imported/*, however this method sometimes fails to move the file and falls back to using a copy.
Therefore I suppose it should actually remove the file if a copy was used [0] and I am adding content-hub to this bug.
0 - http:// bazaar. launchpad. net/~phablet- team/content- hub/trunk/ view/head: /import/ Ubuntu/ Content/ contentitem. cpp#L227