From 2d0b837e6c885383ae807ca793cbe91aa32de995 Mon Sep 17 00:00:00 2001 From: geronimo Date: Wed, 25 Jul 2012 07:40:19 +0200 Subject: need both, encoded and decoded urls at backend --- libs/fsScan/src/FilesystemScanner.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libs/fsScan/src/FilesystemScanner.cc') diff --git a/libs/fsScan/src/FilesystemScanner.cc b/libs/fsScan/src/FilesystemScanner.cc index 23b5074..cbe4b95 100644 --- a/libs/fsScan/src/FilesystemScanner.cc +++ b/libs/fsScan/src/FilesystemScanner.cc @@ -96,13 +96,13 @@ void cFilesystemScanner::Refresh() } } -cAbstractMedia *cFilesystemScanner::FindMedia(const char* URI) +cAbstractMedia *cFilesystemScanner::FindMedia(const char *Path) { cAbstractMedia *rv = NULL, *tmp; for (size_t i=0; i < pool.size(); ++i) { tmp = (cAbstractMedia *) pool[i]; - if (!strcmp(tmp->URI(), URI)) { + if (!strcmp(tmp->LogicalPath(), Path)) { rv = tmp; break; } -- cgit v1.2.3