fixes for system/ytcache.cpp cherry-picks

Origin commit data
------------------
Branch: ni/coolstream
Commit: 8fa560509c
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-09-24 (Wed, 24 Sep 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
[CST] Focus
2014-09-24 19:49:35 +04:00
parent c146fb93e4
commit d05b4c8ca7
3 changed files with 10 additions and 0 deletions

View File

@@ -546,6 +546,7 @@ int CNeutrinoApp::loadSetup(const char * fname)
g_settings.network_nfs_moviedir = configfile.getString( "network_nfs_moviedir", "/media/sda1/movies" );
g_settings.network_nfs_recordingdir = configfile.getString( "network_nfs_recordingdir", "/media/sda1/movies" );
g_settings.timeshiftdir = configfile.getString( "timeshiftdir", "" );
g_settings.downloadcache_dir = configfile.getString( "downloadcache_dir", g_settings.network_nfs_recordingdir.c_str());
g_settings.temp_timeshift = configfile.getInt32( "temp_timeshift", 0 );
g_settings.auto_timeshift = configfile.getInt32( "auto_timeshift", 0 );
@@ -1058,6 +1059,7 @@ void CNeutrinoApp::saveSetup(const char * fname)
configfile.setString( "network_nfs_moviedir", g_settings.network_nfs_moviedir);
configfile.setString( "network_nfs_recordingdir", g_settings.network_nfs_recordingdir);
configfile.setString( "timeshiftdir", g_settings.timeshiftdir);
configfile.setString( "downloadcache_dir", g_settings.downloadcache_dir);
configfile.setBool ("filesystem_is_utf8" , g_settings.filesystem_is_utf8 );
//recording (server + vcr)