equal
deleted
inserted
replaced
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 ) |