movieplayer.cpp reinit Path_local for webif reloadsetup

This commit is contained in:
Jacek Jendrzej
2015-03-28 21:36:15 +01:00
parent 08daae7852
commit 9280566377

View File

@@ -474,6 +474,11 @@ bool CMoviePlayerGui::SelectFile()
info_2 = "";
pretty_name.clear();
file_name.clear();
//reinit Path_local for webif reloadsetup
if (g_settings.network_nfs_moviedir.empty())
Path_local = "/";
else
Path_local = g_settings.network_nfs_moviedir;
printf("CMoviePlayerGui::SelectFile: isBookmark %d timeshift %d isMovieBrowser %d\n", isBookmark, timeshift, isMovieBrowser);
wakeup_hdd(g_settings.network_nfs_recordingdir.c_str());