mpx/collectionframework/collectionengine/src/mpxcollectionclientcontext.cpp
changeset 25 d881023c13eb
parent 0 a2952bb97e68
child 19 51035f0751c2
equal deleted inserted replaced
21:a05c44bc3c61 25:d881023c13eb
  2438         }
  2438         }
  2439 
  2439 
  2440     // Check for open playlist only mode.  If in that mode, do not return the media
  2440     // Check for open playlist only mode.  If in that mode, do not return the media
  2441     // from the cache but call the plugin to open, as that will callback a
  2441     // from the cache but call the plugin to open, as that will callback a
  2442     // different HandleOpenL() with the collection path instead.
  2442     // different HandleOpenL() with the collection path instead.
  2443     TMPXOpenMode mode( iBrowsePath->OpenNextMode() );
  2443     TMPXOpenMode mode = EMPXOpenDefault;
       
  2444     if(iBrowsePath)
       
  2445         {
       
  2446         mode = iBrowsePath->OpenNextMode();
       
  2447         }
  2444     CMPXCollectionPlugin* plugin = LoadedPlugin(EContextBrowse);
  2448     CMPXCollectionPlugin* plugin = LoadedPlugin(EContextBrowse);
  2445     if ( !iFilter && mode != EMPXOpenPlaylistOnly )
  2449     if ( !iFilter && mode != EMPXOpenPlaylistOnly )
  2446         {
  2450         {
  2447         // try to get the results from the cache only if the plugin is cacheable
  2451         // try to get the results from the cache only if the plugin is cacheable
  2448         if ( pluginCacheable )
  2452         if ( pluginCacheable )