~neon/amarok/master

Viewing all changes in revision 32248.

  • Committer: Yuri Chornoivan
  • Date: 2019-10-04 06:26:50 UTC
  • Revision ID: git-v1:982772be0d0669ed4d8c2993a9a42e47750b30b4
Fix missing directory separators when saving podcasts to disk

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.

Reviewers: #amarok, heikobecker

Reviewed By: #amarok, heikobecker

Subscribers: heikobecker, #amarok, wbauer, yurchor, amarok-devel

Differential Revision: https://phabricator.kde.org/D24135

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: