D24135: Fix missing directory separators when saving podcasts to disk

Joe Yasi noreply at phabricator.kde.org
Sat Sep 21 16:32:49 BST 2019


jyasi created this revision.
jyasi added a reviewer: Amarok.
jyasi added a project: Amarok.
Herald removed a project: Amarok.
Herald added a subscriber: amarok-devel.
jyasi requested review of this revision.

REVISION SUMMARY
  `SqlPodcastProvider::checkEnclosureLocallyAvailable()` and `SqlPodcastProvider::downloadResult()` strip the trailing slash from the podcast download path, but do not add a directory separator when appending the download filename back to the directory. As a result, downloaded podcast filenames are prefixed with the directory name and stored in the parent directory.

REPOSITORY
  R181 Amarok

REVISION DETAIL
  https://phabricator.kde.org/D24135

AFFECTED FILES
  src/core-impl/podcasts/sql/SqlPodcastProvider.cpp

To: jyasi, #amarok
Cc: amarok-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/amarok-devel/attachments/20190921/0438a65c/attachment.html>


More information about the Amarok-devel mailing list