From 5388f18b04d9b27d7b003a0c18f5ea0294403c81 Mon Sep 17 00:00:00 2001 From: satbaby Date: Sat, 11 Feb 2012 14:43:45 +0000 Subject: [PATCH] movieplayer: store last multiformat play dir git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2087 e54a6e83-5905-42d5-8d5c-058d10e6a962 --- src/gui/movieplayer.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/gui/movieplayer.cpp b/src/gui/movieplayer.cpp index 284905d98..04b3d7c49 100644 --- a/src/gui/movieplayer.cpp +++ b/src/gui/movieplayer.cpp @@ -360,6 +360,11 @@ bool CMoviePlayerGui::SelectFile() file_name = full_name; printf("CMoviePlayerGui::SelectFile: full_name [%s] file_name [%s]\n", full_name.c_str(), file_name.c_str()); } + //store last multiformat play dir + if( (sizeof(g_settings.network_nfs_moviedir)) > Path_local.size() && (strcmp(g_settings.network_nfs_moviedir,Path_local.c_str()) != 0)){ + strcpy(g_settings.network_nfs_moviedir,Path_local.c_str()); + } + return ret; }