diff -r dd31cab34e27 -r 50edf2be6f0d engine/src/FeedParser.cpp --- a/engine/src/FeedParser.cpp Mon Apr 26 22:11:45 2010 +0100 +++ b/engine/src/FeedParser.cpp Mon Apr 26 23:08:41 2010 +0100 @@ -25,6 +25,7 @@ #include #include #include "debug.h" +#include "podcastutils.h" using namespace Xml; const TInt KMaxParseBuffer = 1024; @@ -176,6 +177,10 @@ HBufC* val16 = HBufC::NewLC(KMaxParseBuffer); val16->Des().Copy(attr.Value().DesC()); iActiveShow->SetUrlL(*val16); + + if (PodcastUtils::IsVideoShow(*val16)) { + iActiveShow->SetShowType(EVideoPodcast); + } CleanupStack::PopAndDestroy(val16); // length=... } else if (attr16.Compare(KTagLength) == 0) { @@ -369,6 +374,10 @@ case EStateItemLink: if (iActiveShow->Url().Length() == 0) { iActiveShow->SetUrlL(iBuffer); + + if (PodcastUtils::IsVideoShow(iBuffer)) { + iActiveShow->SetShowType(EVideoPodcast); + } } iFeedState = EStateItem; break;