store fetched artist's info in ~/.ncmpcpp/artists instead of ~/.lyrics

This commit is contained in:
unK
2008-09-28 23:58:27 +02:00
parent 3291d2fe36
commit dbe0480db5
7 changed files with 37 additions and 14 deletions

View File

@@ -18,13 +18,19 @@
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
#include <sys/stat.h>
#include "settings.h"
const string config_file = home_folder + "/.ncmpcpp/config";
const string keys_config_file = home_folder + "/.ncmpcpp/keys";
const string config_file = config_dir + "config";
const string keys_config_file = config_dir + "keys";
using std::ifstream;
void CreateConfigDir()
{
mkdir(config_dir.c_str(), 0755);
}
void DefaultKeys(ncmpcpp_keys &keys)
{
keys.Up[0] = KEY_UP;