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.
Details
Details
- Reviewers
heikobecker - Group Reviewers
Amarok - Commits
- R181:982772be0d06: Fix missing directory separators when saving podcasts to disk
Diff Detail
Diff Detail
- Repository
- R181 Amarok
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
+1 from me now as well.
The KDE4 code uses KUrl::toLocalFile( KUrl::AddTrailingSlash ) here, so the additional slash should be correct (and necessary).