From: <ny...@us...> - 2006-07-30 04:15:29
|
Revision: 161 Author: nyaochi Date: 2006-07-29 21:15:24 -0700 (Sat, 29 Jul 2006) ViewCVS: http://svn.sourceforge.net/pmplib/?rev=161&view=rev Log Message: ----------- Forgot to document -z (--source) option. Modified Paths: -------------- trunk/pmplib/frontend/easypmp/cui/option.c Modified: trunk/pmplib/frontend/easypmp/cui/option.c =================================================================== --- trunk/pmplib/frontend/easypmp/cui/option.c 2006-07-30 04:07:19 UTC (rev 160) +++ trunk/pmplib/frontend/easypmp/cui/option.c 2006-07-30 04:15:24 UTC (rev 161) @@ -72,6 +72,7 @@ fprintf(fp, "Media database options:\n"); fprintf(fp, " -c, --create Construct a media database\n"); fprintf(fp, " -u, --update Update the existing media database incrementally\n"); + fprintf(fp, " -z, --source=SOURCE Specify a source for obtaining media information\n"); fprintf(fp, " -R, --repr Output a database structure in plain text\n"); fprintf(fp, " -L, --repr-level=VAL Specify representation level\n"); fprintf(fp, " -t, --strip-words=VAL Specify a list (CSV) of words to strip from artist names\n"); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <suc...@us...> - 2006-07-30 18:04:48
|
Revision: 166 Author: sucknblow Date: 2006-07-30 11:04:41 -0700 (Sun, 30 Jul 2006) ViewCVS: http://svn.sourceforge.net/pmplib/?rev=166&view=rev Log Message: ----------- Fix crash with -z option. Modified Paths: -------------- trunk/pmplib/frontend/easypmp/cui/option.c Modified: trunk/pmplib/frontend/easypmp/cui/option.c =================================================================== --- trunk/pmplib/frontend/easypmp/cui/option.c 2006-07-30 08:00:38 UTC (rev 165) +++ trunk/pmplib/frontend/easypmp/cui/option.c 2006-07-30 18:04:41 UTC (rev 166) @@ -173,9 +173,9 @@ {NULL, 0, 0, 0} }; #ifndef _WIN32 - int c = getopt_long(argc, argv, "cuzRL:t:pmrfsjld:e:w:vh", long_options, &option_index); + int c = getopt_long(argc, argv, "cuz:RL:t:pmrfsjld:e:w:vh", long_options, &option_index); #else - int c = getopt_long(argc, argv, "cuzRL:t:pmrfsjld:vh", long_options, &option_index); + int c = getopt_long(argc, argv, "cuz:RL:t:pmrfsjld:vh", long_options, &option_index); #endif/*_WIN32*/ if (c == -1) { break; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ny...@us...> - 2006-07-30 18:50:26
|
Revision: 167 Author: nyaochi Date: 2006-07-30 11:50:23 -0700 (Sun, 30 Jul 2006) ViewCVS: http://svn.sourceforge.net/pmplib/?rev=167&view=rev Log Message: ----------- Disabled -z (--source) option for now. Modified Paths: -------------- trunk/pmplib/frontend/easypmp/cui/option.c Modified: trunk/pmplib/frontend/easypmp/cui/option.c =================================================================== --- trunk/pmplib/frontend/easypmp/cui/option.c 2006-07-30 18:04:41 UTC (rev 166) +++ trunk/pmplib/frontend/easypmp/cui/option.c 2006-07-30 18:50:23 UTC (rev 167) @@ -72,7 +72,7 @@ fprintf(fp, "Media database options:\n"); fprintf(fp, " -c, --create Construct a media database\n"); fprintf(fp, " -u, --update Update the existing media database incrementally\n"); - fprintf(fp, " -z, --source=SOURCE Specify a source for obtaining media information\n"); + /*fprintf(fp, " -z, --source=SOURCE Specify a source for obtaining media information\n");*/ fprintf(fp, " -R, --repr Output a database structure in plain text\n"); fprintf(fp, " -L, --repr-level=VAL Specify representation level\n"); fprintf(fp, " -t, --strip-words=VAL Specify a list (CSV) of words to strip from artist names\n"); @@ -188,6 +188,7 @@ case 'u': opt->verb |= (MODE_DATABASE | MODE_DATABASE_UPDATE); break; + /* case 'z': if (strcmp(optarg, "m") == 0) opt->media_info_source = GMIF_TAG; else if (strcmp(optarg, "p") == 0) opt->media_info_source = GMIF_TAG | GMIF_ARTIST; @@ -203,6 +204,7 @@ return -1; } break; + */ case 'R': opt->verb |= MODE_DATABASE_REPR; break; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ny...@us...> - 2007-01-28 21:10:53
|
Revision: 292 http://svn.sourceforge.net/pmplib/?rev=292&view=rev Author: nyaochi Date: 2007-01-28 13:10:48 -0800 (Sun, 28 Jan 2007) Log Message: ----------- Changed the default value for -w option to ISO-8859-1. Modified Paths: -------------- trunk/pmplib/frontend/easypmp/cui/option.c Modified: trunk/pmplib/frontend/easypmp/cui/option.c =================================================================== --- trunk/pmplib/frontend/easypmp/cui/option.c 2007-01-27 09:10:52 UTC (rev 291) +++ trunk/pmplib/frontend/easypmp/cui/option.c 2007-01-28 21:10:48 UTC (rev 292) @@ -125,7 +125,7 @@ // Set default values here. opt->media_info_source = GMIF_TAG; opt->system_encoding = get_default_encoding(); - opt->music_encoding = get_default_encoding(); + opt->music_encoding = strdup("ISO-8859-1"); } void option_finish(option_t* opt) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |