equal
deleted
inserted
replaced
187 relPath.Copy(feedInfo->Title()); |
187 relPath.Copy(feedInfo->Title()); |
188 relPath.Append('\\'); |
188 relPath.Append('\\'); |
189 |
189 |
190 TFileName fileName; |
190 TFileName fileName; |
191 PodcastUtils::FileNameFromUrl(info->Url(), fileName); |
191 PodcastUtils::FileNameFromUrl(info->Url(), fileName); |
192 relPath.Append(fileName); |
192 |
|
193 TFileName extension; |
|
194 extension.Copy(fileName.Mid(fileName.LocateReverse('.'))); |
|
195 DP1("extension=%S", &extension); |
|
196 |
|
197 TFileName newFilename; |
|
198 newFilename.Format(_L("%u%S"), info->Uid(), &extension); |
|
199 DP1("newFilename=%S", &newFilename); |
|
200 |
|
201 relPath.Append(newFilename); |
193 PodcastUtils::EnsureProperPathName(relPath); |
202 PodcastUtils::EnsureProperPathName(relPath); |
194 |
203 |
195 // complete file path is base dir + rel path |
204 // complete file path is base dir + rel path |
196 filePath.Append(relPath); |
205 filePath.Append(relPath); |
197 info->SetFileNameL(filePath); |
206 info->SetFileNameL(filePath); |