mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
webradio: switch default webradio paths from CONFIGDIR to WEBRADIODIR_VAR (specified by configure)
Signed-off-by: Thilo Graf <dbt@novatux.de>
Origin commit data
------------------
Commit: 0b93981a09
Author: J. Krieg <bellum07@googlemail.com>
Date: 2018-11-22 (Thu, 22 Nov 2018)
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
#include <gui/widget/menue.h>
|
||||
|
||||
#define WEBTV_XML CONFIGDIR "/webtv_usr.xml"
|
||||
#define WEBRADIO_XML CONFIGDIR "/webradio_usr.xml"
|
||||
#define WEBRADIO_XML WEBRADIODIR_VAR "/webradio_usr.xml"
|
||||
|
||||
class CWebTVSetup : public CMenuTarget, CChangeObserver
|
||||
{
|
||||
|
@@ -684,7 +684,7 @@ int CNeutrinoApp::loadSetup(const char * fname)
|
||||
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.last_webradio_dir = configfile.getString( "last_webradio_dir", CONFIGDIR);
|
||||
g_settings.last_webradio_dir = configfile.getString( "last_webradio_dir", WEBRADIODIR_VAR);
|
||||
g_settings.last_webtv_dir = configfile.getString( "last_webtv_dir", CONFIGDIR);
|
||||
|
||||
g_settings.temp_timeshift = configfile.getInt32( "temp_timeshift", 1 ); //NI
|
||||
|
Reference in New Issue
Block a user