--- 1/play.cpp 2012-09-11 15:30:47.000000000 +0200 +++ 2/play.cpp 2013-10-25 13:39:45.863637910 +0200 @@ -2157,7 +2157,11 @@ return osEnd; case osUser2: ShowBrowser = 1; +#if APIVERSNUM > 20101 + BrowserStartDir = cVideoDirectory::Name(); +#else BrowserStartDir = VideoDirectory; +#endif BrowserFilters = VideoFilters; return osPlugin; // restart with OSD browser case osUser3: @@ -2171,7 +2175,11 @@ return osEnd; case osUser5: ShowBrowser = 1; +#if APIVERSNUM > 20101 + BrowserStartDir = cVideoDirectory::Name(); +#else BrowserStartDir = VideoDirectory; +#endif BrowserFilters = AudioFilters; return osPlugin; // restart with OSD browser case osUser6: @@ -2182,7 +2190,11 @@ case osUser7: ShowBrowser = 1; +#if APIVERSNUM > 20101 + BrowserStartDir = cVideoDirectory::Name(); +#else BrowserStartDir = VideoDirectory; +#endif BrowserFilters = ImageFilters; return osPlugin; // restart with OSD browser case osUser8: @@ -2193,7 +2205,11 @@ case osUser9: free(ShowDiashow); +#if APIVERSNUM > 20101 + ShowDiashow = strdup(cVideoDirectory::Name()); +#else ShowDiashow = strdup(VideoDirectory); +#endif return osPlugin; // restart with OSD browser default: