Line | Code | Value | Export IDENTIFIER |
50 | if(!CSizingControlBarG::Create(_T("Playlist"), pParentWnd, 0)) | Playlist | |
64 | m_list.InsertColumn(COL_NAME, _T("Name"), LVCFMT_LEFT, 380); | Name | |
71 | m_list.InsertColumn(COL_TIME, _T("Time"), LVCFMT_RIGHT, m_nTimeColWidth); | Time | |
183 | paths.Add(_T(".\\subtitles")); | .\\subtitles | |
184 | paths.Add(_T("c:\\subtitles")); | c:\\subtitles | |
272 | if(CPath(fn).GetExtension().MakeLower() != _T(".lnk") | .lnk | |
329 | if(!f.Open(fn) || !f.ReadString(str) || str != _T("MPCPLAYLIST")) | MPCPLAYLIST | |
349 | if(key == _T("type")) {pli[i].m_type = (CPlaylistItem::type_t)_ttol(value); idx.Add(i);} | type | |
350 | else if(key == _T("label")) pli[i].m_label = value; | label | |
351 | else if(key == _T("filename")) {value = CombinePath(base, value); pli[i].m_fns.AddTail(value);} | filename | |
352 | else if(key == _T("subtitle")) {value = CombinePath(base, value); pli[i].m_subs.AddTail(value);} | subtitle | |
353 | else if(key == _T("video")) {while(pli[i].m_fns.GetCount() < 2) pli[i].m_fns.AddTail(_T("")); pli[i].m_fns.GetHead() = value;} | video | |
354 | else if(key == _T("audio")) {while(pli[i].m_fns.GetCount() < 2) pli[i].m_fns.AddTail(_T("")); pli[i].m_fns.GetTail() = value;} | audio | |
355 | else if(key == _T("vinput")) pli[i].m_vinput = _ttol(value); | vinput | |
356 | else if(key == _T("vchannel")) pli[i].m_vchannel = _ttol(value); | vchannel | |
357 | else if(key == _T("ainput")) pli[i].m_ainput = _ttol(value); | ainput | |
358 | else if(key == _T("country")) pli[i].m_country = _ttol(value); | country | |
375 | f.WriteString(_T("MPCPLAYLIST\n")); | MPCPLAYLIST\n | |
383 | idx.Format(_T("%d"), i); | %d | |
386 | str.Format(_T("%d,type,%d"), i, pli.m_type); | %d,type,%d | |
390 | f.WriteString(idx + _T(",label,") + pli.m_label + _T("\n")); | ,label, | |
399 | f.WriteString(idx + _T(",filename,") + fn + _T("\n")); | ,filename, | |
407 | f.WriteString(idx + _T(",subtitle,") + fn + _T("\n")); | ,subtitle, | |
412 | f.WriteString(idx + _T(",video,") + pli.m_fns.GetHead() + _T("\n")); | ,video, | |
413 | f.WriteString(idx + _T(",audio,") + pli.m_fns.GetTail() + _T("\n")); | ,audio, | |
414 | str.Format(_T("%d,vinput,%d"), i, pli.m_vinput); | %d,vinput,%d | |
416 | str.Format(_T("%d,vchannel,%d"), i, pli.m_vchannel); | %d,vchannel,%d | |
418 | str.Format(_T("%d,ainput,%d"), i, pli.m_ainput); | %d,ainput,%d | |
420 | str.Format(_T("%d,country,%d"), i, pli.m_country); | %d,country,%d | |
640 | if(fn.Find(_T("video_ts.ifo")) >= 0 | video_ts.ifo | |
641 | || fn.Find(_T(".ratdvd")) >= 0) | .ratdvd | |
684 | p.Combine(base, _T("default.mpcpl")); | default.mpcpl | |
686 | if(!AfxGetApp()->GetProfileInt(ResStr(IDS_R_SETTINGS), _T("RememberPlaylistItems"), TRUE)) | RememberPlaylistItems | |
704 | p.Combine(base, _T("default.mpcpl")); | default.mpcpl | |
706 | if(!AfxGetApp()->GetProfileInt(ResStr(IDS_R_SETTINGS), _T("RememberPlaylistItems"), TRUE)) | RememberPlaylistItems | |
883 | CString time = !pli.m_fInvalid ? m_list.GetItemText(nItem, COL_TIME) : _T("Invalid"); | Invalid | |
899 | fmt.Format(_T("%%0%dd. %%s"), (int)log10(0.1+m_pl.GetCount())+1); | %%0%dd. %%s | |
1139 | str.Format(_T("Video Input %d"), pli.m_vinput); | Video Input %d | |
1141 | str.Format(_T("Video Channel %d"), pli.m_vchannel); | Video Channel %d | |
1143 | str.Format(_T("Audio Input %d"), pli.m_ainput); | Audio Input %d | |
1206 | m.AppendMenu(MF_STRING|MF_ENABLED|(AfxGetApp()->GetProfileInt(ResStr(IDS_R_SETTINGS), _T("ShufflePlaylistItems"), FALSE)?MF_CHECKED:0), M_SHUFFLE, ResStr(IDS_PLAYLIST_SHUFFLE)); | ShufflePlaylistItems | |
1207 | m.AppendMenu(MF_STRING|MF_ENABLED|(AfxGetApp()->GetProfileInt(ResStr(IDS_R_SETTINGS), _T("RememberPlaylistItems"), TRUE)?MF_CHECKED:0), M_REMEMBERPLAYLIST, ResStr(IDS_PLAYLIST_REMEBERITEMS)); | RememberPlaylistItems | |
1255 | while(pos) str += _T("\r\n") + pli.m_fns.GetNext(pos); | \r\n | |
1278 | _T("Media Player Classic playlist (*.mpcpl)|*.mpcpl|Playlist (*.pls)|*.pls|WinAmp playlist (*.m3u)|*.m3u|Windows Media Playlist (*.asx)|*.asx||"), | Media Player Classic playlist (*.mpcpl)|*.mpcpl|Playlist (*.pls)|*.pls|WinAmp playlist (*.m3u)|*.m3u|Windows Media Playlist (*.asx)|*.asx|| | |
1293 | case 1: path.AddExtension(_T(".mpcpl")); break; | .mpcpl | |
1294 | case 2: path.AddExtension(_T(".pls")); break; | .pls | |
1295 | case 3: path.AddExtension(_T(".m3u")); break; | .m3u | |
1296 | case 4: path.AddExtension(_T(".asx")); break; | .asx | |
1350 | f.WriteString(_T("[playlist]\n")); | [playlist]\n | |
1354 | f.WriteString(_T("<ASX version = \"3.0\">\n")); | <ASX version = \"3.0\">\n | |
1380 | case 2: str.Format(_T("File%d=%s\n"), i+1, fn); break; | File%d=%s\n | |
1381 | case 3: str.Format(_T("%s\n"), fn); break; | %s\n | |
1382 | case 4: str.Format(_T("<Entry><Ref href = \"%s\"/></Entry>\n"), fn); break; | <Entry><Ref href = \"%s\"/></Entry>\n | |
1390 | str.Format(_T("NumberOfEntries=%d\n"), i); | NumberOfEntries=%d\n | |
1392 | f.WriteString(_T("Version=2\n")); | Version=2\n | |
1396 | f.WriteString(_T("</ASX>\n")); | </ASX>\n | |
1401 | AfxGetApp()->WriteProfileInt(ResStr(IDS_R_SETTINGS), _T("RememberPlaylistItems"), | RememberPlaylistItems | |
1402 | !AfxGetApp()->GetProfileInt(ResStr(IDS_R_SETTINGS), _T("RememberPlaylistItems"), TRUE)); | RememberPlaylistItems | |
1405 | AfxGetApp()->WriteProfileInt(ResStr(IDS_R_SETTINGS), _T("ShufflePlaylistItems"), | ShufflePlaylistItems | |
1406 | !AfxGetApp()->GetProfileInt(ResStr(IDS_R_SETTINGS), _T("ShufflePlaylistItems"), FALSE)); | ShufflePlaylistItems | |
| | | |