From: <ny...@us...> - 2006-05-06 02:08:15
|
Revision: 14 Author: nyaochi Date: 2006-05-05 19:08:11 -0700 (Fri, 05 May 2006) ViewCVS: http://svn.sourceforge.net/pmplib/?rev=14&view=rev Log Message: ----------- Store the dialog setting when the user changes a drive letter. Modified Paths: -------------- trunk/frontend/easypmp/win32gui/easypmp_win32gui.rc trunk/frontend/easypmp/win32gui/maindlg.h Modified: trunk/frontend/easypmp/win32gui/easypmp_win32gui.rc =================================================================== --- trunk/frontend/easypmp/win32gui/easypmp_win32gui.rc 2006-05-05 13:54:22 UTC (rev 13) +++ trunk/frontend/easypmp/win32gui/easypmp_win32gui.rc 2006-05-06 02:08:11 UTC (rev 14) @@ -98,6 +98,10 @@ 72,8 CONTROL "&Rebuild",IDC_RADIO3,"Button",BS_AUTORADIOBUTTON,168,24, 72,8 + LTEXT "Source of media information (&z):",IDC_STATIC,24,42,108, + 12 + COMBOBOX IDC_COMBO_MEDIAINFO_SOURCE,138,42,102,36, + CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP GROUPBOX "Playlist conversion",IDC_STATIC,12,66,240,72 CONTROL "N&one",IDC_RADIO_PLAYLIST,"Button",BS_AUTORADIOBUTTON | WS_GROUP,24,78,72,8 @@ -115,26 +119,22 @@ BS_AUTOCHECKBOX | WS_TABSTOP,96,108,72,8 CONTROL "&Skip missing",IDC_CHECK_PL_SKIP,"Button", BS_AUTOCHECKBOX | WS_TABSTOP,168,108,72,8 + CONTROL "Use &JavaScript playlist",IDC_CHECK_PL_JSPL,"Button", + BS_AUTOCHECKBOX | WS_TABSTOP,96,120,144,8 GROUPBOX "Portable Player Device",IDC_STATIC,12,144,240,72 LTEXT "&Location:",IDC_STATIC,24,156,42,12,SS_CENTERIMAGE COMBOBOX IDC_COMBO_DEVICE_LOCATION,78,156,42,36,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP + CONTROL "Sa&ve log",IDC_CHECK_SAVE_LOG,"Button",BS_AUTOCHECKBOX | + WS_TABSTOP,168,156,66,12 LTEXT "&Identifier:",IDC_STATIC,24,174,42,12,SS_CENTERIMAGE COMBOBOX IDC_COMBO_DEVICE_ID,78,174,162,36,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP LTEXT "Description:",IDC_STATIC,24,192,42,12,SS_CENTERIMAGE + LTEXT "\x83X\x83^\x83e\x83B\x83b\x83N",IDC_STATIC_PLAYER_DESCRIPTION,78,192,162, + 12,0,WS_EX_CLIENTEDGE CONTROL "E&ject the player on completion",IDC_CHECK_SAFEREMOVE, "Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,222,120,12 - LTEXT "\x83X\x83^\x83e\x83B\x83b\x83N",IDC_STATIC_PLAYER_DESCRIPTION,78,192,162, - 12,0,WS_EX_CLIENTEDGE - CONTROL "Sa&ve log",IDC_CHECK_SAVE_LOG,"Button",BS_AUTOCHECKBOX | - WS_TABSTOP,168,156,66,12 - LTEXT "Source of media information (&z):",IDC_STATIC,24,42,108, - 12 - COMBOBOX IDC_COMBO_MEDIAINFO_SOURCE,138,42,102,36, - CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP - CONTROL "Use &JavaScript playlist",IDC_CHECK_PL_JSPL,"Button", - BS_AUTOCHECKBOX | WS_TABSTOP,96,120,144,8 END IDD_PROCESSING DIALOGEX 0, 0, 263, 246 Modified: trunk/frontend/easypmp/win32gui/maindlg.h =================================================================== --- trunk/frontend/easypmp/win32gui/maindlg.h 2006-05-05 13:54:22 UTC (rev 13) +++ trunk/frontend/easypmp/win32gui/maindlg.h 2006-05-06 02:08:11 UTC (rev 14) @@ -229,6 +229,9 @@ { CString strPlayerLocation; + // Store the current state of the UI controls. + updateUI(TRUE); + m_cmbPlayerLocation.GetLBText(m_cmbPlayerLocation.GetCurSel(), strPlayerLocation); m_setting.SetPlayerLocation(m_pmphelp, strPlayerLocation); updateUI(FALSE); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ny...@us...> - 2006-06-05 20:52:29
|
Revision: 42 Author: nyaochi Date: 2006-06-03 21:16:24 -0700 (Sat, 03 Jun 2006) ViewCVS: http://svn.sourceforge.net/pmplib/?rev=42&view=rev Log Message: ----------- Fixed broken EasyPMP [Win32 GUI] since rev 16. ViewCVS Links: ------------- http://svn.sourceforge.net/pmplib/?rev=16&view=rev Modified Paths: -------------- trunk/frontend/easypmp/win32gui/preference.h trunk/frontend/easypmp/win32gui/processingdlg.h Modified: trunk/frontend/easypmp/win32gui/preference.h =================================================================== --- trunk/frontend/easypmp/win32gui/preference.h 2006-06-04 04:04:35 UTC (rev 41) +++ trunk/frontend/easypmp/win32gui/preference.h 2006-06-04 04:16:24 UTC (rev 42) @@ -192,7 +192,7 @@ USES_CONVERSION; if (pmp) { - strPlayerLocation = W2CT(pmp->env.path_to_root); + strPlayerLocation = W2CT(pmp->env.path_to_root.path); strPlayerIdentifier = A2CT(pmp->env.id); strPlayerDescription = A2CT(pmp->env.name); strPlayerDescription += _T(""); Modified: trunk/frontend/easypmp/win32gui/processingdlg.h =================================================================== --- trunk/frontend/easypmp/win32gui/processingdlg.h 2006-06-04 04:04:35 UTC (rev 41) +++ trunk/frontend/easypmp/win32gui/processingdlg.h 2006-06-04 04:16:24 UTC (rev 42) @@ -390,12 +390,12 @@ /* Eject the device. */ m_preference.bSafelyRemove = IsDlgButtonChecked(IDC_CHECK_SAFEREMOVE) == BST_CHECKED ? TRUE : FALSE; if (m_preference.bSafelyRemove) { - if (ucs2len(pmp->env.path_to_root) > 2 && pmp->env.path_to_root[1] == ':') { + if (ucs2len(pmp->env.path_to_root.path) > 2 && pmp->env.path_to_root.path[1] == ':') { int i; const int max_tries = 20; CHAR szDrive[3] = {0, 0, 0}; - szDrive[0] = (CHAR)pmp->env.path_to_root[0]; - szDrive[1] = (CHAR)pmp->env.path_to_root[1]; + szDrive[0] = (CHAR)pmp->env.path_to_root.path[0]; + szDrive[1] = (CHAR)pmp->env.path_to_root.path[1]; szDrive[2] = 0; ejectdevice_t* ed = ejectdevice_init(); @@ -666,9 +666,9 @@ write_log(LL_TRACE, _T("Firmware mode: %s"), A2CT(pmp->env.mode)); write_log(LL_INFO, _T("Firmware version: %s"), A2CT(pmp->env.version)); write_log(LL_TRACE, _T("Default language: %s"), A2CT(pmp->env.language)); - write_log(LL_TRACE, _T("Root directory: %s"), W2CT(pmp->env.path_to_root)); - write_log(LL_TRACE, _T("Music directory: %s"), W2CT(pmp->env.path_to_music)); - write_log(LL_TRACE, _T("Playlist directory: %s"), W2CT(pmp->env.path_to_playlist)); + write_log(LL_TRACE, _T("Root directory: %s"), W2CT(pmp->env.path_to_root.path)); + write_log(LL_TRACE, _T("Music directory: %s"), W2CT(pmp->env.path_to_music.path)); + write_log(LL_TRACE, _T("Playlist directory: %s"), W2CT(pmp->env.path_to_playlist.path)); write_log(LL_TRACE, _T("Playlist extension: %s"), W2CT(pmp->env.playlist_ext)); write_log(LL_INFO, _T("")); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ny...@us...> - 2006-06-05 23:23:59
|
Revision: 45 Author: nyaochi Date: 2006-06-03 22:24:20 -0700 (Sat, 03 Jun 2006) ViewCVS: http://svn.sourceforge.net/pmplib/?rev=45&view=rev Log Message: ----------- [Win32 GUI] - Added the function to strip words in artist names such as 'the'. Modified Paths: -------------- trunk/frontend/easypmp/win32gui/preference.h trunk/frontend/easypmp/win32gui/processingdlg.h Modified: trunk/frontend/easypmp/win32gui/preference.h =================================================================== --- trunk/frontend/easypmp/win32gui/preference.h 2006-06-04 05:18:21 UTC (rev 44) +++ trunk/frontend/easypmp/win32gui/preference.h 2006-06-04 05:24:20 UTC (rev 45) @@ -28,6 +28,7 @@ public: int iDBProces; int iMediaInfoSource; + CString strStripWords; int iPlaylistProcess; BOOL bConvertInPlaylist; BOOL bConvertInMusic; @@ -46,6 +47,7 @@ { iDBProces = 2; iMediaInfoSource = 0; + strStripWords = _T("the "); iPlaylistProcess = 2; bConvertInPlaylist = TRUE; bConvertInMusic = TRUE; @@ -97,6 +99,7 @@ persistInt(iDBProces, _T("Database"), _T("Process"), szSettingFile, storing); persistInt(iMediaInfoSource, _T("Database"), _T("MediaInfoSource"), szSettingFile, storing); + persistString(strStripWords, _T("Database"), _T("StripWords"), szSettingFile, storing); persistInt(iPlaylistProcess, _T("Playlist"), _T("Process"), szSettingFile, storing); persistBool(bConvertInPlaylist, _T("Playlist"), _T("ConvertPlaylist"), szSettingFile, storing); persistBool(bConvertInMusic, _T("Playlist"), _T("ConvertMusic"), szSettingFile, storing); Modified: trunk/frontend/easypmp/win32gui/processingdlg.h =================================================================== --- trunk/frontend/easypmp/win32gui/processingdlg.h 2006-06-04 05:18:21 UTC (rev 44) +++ trunk/frontend/easypmp/win32gui/processingdlg.h 2006-06-04 05:24:20 UTC (rev 45) @@ -266,6 +266,9 @@ // Set source of media information. opt.media_info_source = media_info_sources[m_preference.iMediaInfoSource]; + // Set a list of strip words. + easypmp_set_strip_words(&opt, CT2CW(m_preference.strStripWords)); + // Set Playlist conversion options. switch (m_preference.iPlaylistProcess) { case 1: opt.verb |= MODE_PLAYLIST; break; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ny...@us...> - 2006-07-02 11:21:53
|
Revision: 105 Author: nyaochi Date: 2006-07-02 04:21:46 -0700 (Sun, 02 Jul 2006) ViewCVS: http://svn.sourceforge.net/pmplib/?rev=105&view=rev Log Message: ----------- Added a missing file. Modified Paths: -------------- trunk/frontend/easypmp/win32gui/easypmp_win32gui.rc Added Paths: ----------- trunk/frontend/easypmp/win32gui/res/queuing.ico Modified: trunk/frontend/easypmp/win32gui/easypmp_win32gui.rc =================================================================== --- trunk/frontend/easypmp/win32gui/easypmp_win32gui.rc 2006-07-02 11:16:45 UTC (rev 104) +++ trunk/frontend/easypmp/win32gui/easypmp_win32gui.rc 2006-07-02 11:21:46 UTC (rev 105) @@ -51,7 +51,7 @@ // remains consistent on all systems. IDR_MAINFRAME ICON "res\\easypmp_win32gui.ico" IDI_PROCESSING ICON "res\\processing.ico" -IDI_QUEUING ICON "res\\icon1.ico" +IDI_QUEUING ICON "res\\queuing.ico" #ifdef APSTUDIO_INVOKED ///////////////////////////////////////////////////////////////////////////// Added: trunk/frontend/easypmp/win32gui/res/queuing.ico =================================================================== (Binary files differ) Property changes on: trunk/frontend/easypmp/win32gui/res/queuing.ico ___________________________________________________________________ Name: svn:mime-type + application/octet-stream This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |