#include <LibraryBuilderInternals.h>
Public Member Functions | |
CLibraryBuilderInternals (CLibraryBuilder *pBuilder) | |
virtual | ~CLibraryBuilderInternals () |
void | LoadSettings () |
BOOL | ExtractMetadata (CString &strPath, HANDLE hFile, SHA1 *pSHA1) |
Static Public Attributes | |
static LPCTSTR | pszID3Genre [] |
Protected Member Functions | |
BOOL | SubmitMetadata (LPCTSTR pszSchemaURI, CXMLElement *pXML) |
BOOL | SubmitCorrupted () |
BOOL | ReadID3v1 (HANDLE hFile, CXMLElement *pXML=NULL) |
BOOL | CopyID3v1Field (CXMLElement *pXML, LPCTSTR pszAttribute, LPCSTR pszValue, int nLength) |
BOOL | ReadID3v2 (HANDLE hFile) |
BOOL | CopyID3v2Field (CXMLElement *pXML, LPCTSTR pszAttribute, BYTE *pBuffer, DWORD nLength, BOOL bSkipLanguage=FALSE) |
BOOL | ReadMP3Frames (HANDLE hFile) |
BOOL | ScanMP3Frame (CXMLElement *pXML, HANDLE hFile, DWORD nIgnore) |
BOOL | ReadVersion (LPCTSTR pszPath) |
BOOL | CopyVersionField (CXMLElement *pXML, LPCTSTR pszAttribute, BYTE *pBuffer, LPCTSTR pszKey, BOOL bCommaToDot=FALSE) |
CString | GetVersionKey (BYTE *pBuffer, LPCTSTR pszKey) |
BOOL | ReadJPEG (HANDLE hFile) |
BOOL | ReadGIF (HANDLE hFile) |
BOOL | ReadPNG (HANDLE hFile) |
BOOL | ReadBMP (HANDLE hFile) |
BOOL | ReadASF (HANDLE hFile) |
BOOL | ReadAVI (HANDLE hFile) |
BOOL | ReadMPEG (HANDLE hFile) |
BOOL | ReadOGG (HANDLE hFile) |
BYTE * | ReadOGGPage (HANDLE hFile, DWORD &nBuffer, BYTE nFlags, DWORD nSequence, DWORD nMinSize=0) |
BOOL | ReadOGGString (BYTE *&pOGG, DWORD &nOGG, CString &str) |
BOOL | ReadAPE (HANDLE hFile) |
BOOL | ReadPDF (HANDLE hFile, LPCTSTR pszPath) |
CString | ReadLine (HANDLE hFile) |
CString | ReadLineReverse (HANDLE hFile) |
BOOL | ReadCollection (HANDLE hFile, SHA1 *pSHA1) |
BOOL | ReadCHM (HANDLE hFile, LPCTSTR pszPath) |
Protected Attributes | |
CLibraryBuilder * | m_pBuilder |
BOOL | m_bEnableMP3 |
BOOL | m_bEnableEXE |
BOOL | m_bEnableImage |
BOOL | m_bEnableASF |
BOOL | m_bEnableOGG |
BOOL | m_bEnableAPE |
BOOL | m_bEnableAVI |
BOOL | m_bEnablePDF |
BOOL | m_bEnableCHM |
DWORD | m_nSleep |
|
Definition at line 46 of file LibraryBuilderInternals.cpp. References m_pBuilder. |
|
Definition at line 51 of file LibraryBuilderInternals.cpp. |
|
Definition at line 226 of file LibraryBuilderInternals.cpp. References CXMLElement::AddAttribute(), and NULL. Referenced by ReadID3v1(). |
|
Definition at line 467 of file LibraryBuilderInternals.cpp. References CXMLElement::AddAttribute(), and NULL. Referenced by ReadID3v2(). |
|
Definition at line 762 of file LibraryBuilderInternals.cpp. References CXMLElement::AddAttribute(), and GetVersionKey(). Referenced by ReadVersion(). |
|
Definition at line 74 of file LibraryBuilderInternals.cpp. References m_bEnableAPE, m_bEnableASF, m_bEnableAVI, m_bEnableCHM, m_bEnableEXE, m_bEnableImage, m_bEnableMP3, m_bEnableOGG, m_bEnablePDF, ReadAPE(), ReadASF(), ReadAVI(), ReadBMP(), ReadCHM(), ReadCollection(), ReadGIF(), ReadID3v1(), ReadID3v2(), ReadJPEG(), ReadMP3Frames(), ReadMPEG(), ReadOGG(), ReadPDF(), ReadPNG(), ReadVersion(), and SubmitCorrupted(). Referenced by CLibraryBuilder::OnRun(). |
|
Definition at line 781 of file LibraryBuilderInternals.cpp. References NULL. Referenced by CopyVersionField(). |
|
Definition at line 58 of file LibraryBuilderInternals.cpp. References m_bEnableAPE, m_bEnableASF, m_bEnableAVI, m_bEnableCHM, m_bEnableEXE, m_bEnableImage, m_bEnableMP3, m_bEnableOGG, m_bEnablePDF, and theApp. Referenced by CLibraryBuilder::StartThread(). |
|
Definition at line 1639 of file LibraryBuilderInternals.cpp. References CXMLElement::AddAttribute(), NULL, ReadID3v1(), SubmitCorrupted(), SubmitMetadata(), and CSchema::uriAudio. Referenced by ExtractMetadata(). |
|
Definition at line 1110 of file LibraryBuilderInternals.cpp. References CXMLElement::AddAttribute(), NULL, SubmitCorrupted(), SubmitMetadata(), CSchema::uriAudio, and CSchema::uriVideo. Referenced by ExtractMetadata(). |
|
Definition at line 1781 of file LibraryBuilderInternals.cpp. References CXMLElement::AddAttribute(), NULL, SubmitCorrupted(), SubmitMetadata(), and CSchema::uriVideo. Referenced by ExtractMetadata(). |
|
Definition at line 1014 of file LibraryBuilderInternals.cpp. References CXMLElement::AddAttribute(), NULL, SubmitCorrupted(), SubmitMetadata(), and CSchema::uriImage. Referenced by ExtractMetadata(). |
|
Definition at line 2130 of file LibraryBuilderInternals.cpp. References _tcsistr(), CXMLElement::AddAttribute(), IsCharacter(), NULL, SubmitCorrupted(), SubmitMetadata(), CSchema::uriBook, and CSchema::uriDocument. Referenced by ExtractMetadata(). |
|
Definition at line 2111 of file LibraryBuilderInternals.cpp. References CCollectionFile::Attach(), CCollectionFile::GetMetadata(), CCollectionFile::GetThisURI(), LibraryFolders, CLibraryFolders::MountCollection(), and SubmitMetadata(). Referenced by ExtractMetadata(). |
|
Definition at line 904 of file LibraryBuilderInternals.cpp. References CXMLElement::AddAttribute(), NULL, SubmitCorrupted(), SubmitMetadata(), and CSchema::uriImage. Referenced by ExtractMetadata(). |
|
Definition at line 177 of file LibraryBuilderInternals.cpp. References CXMLElement::AddAttribute(), CopyID3v1Field(), ID3_GENRES, ID3V1_TAG, NULL, pszID3Genre, ScanMP3Frame(), SubmitMetadata(), and CSchema::uriAudio. Referenced by ExtractMetadata(), and ReadAPE(). |
|
Definition at line 247 of file LibraryBuilderInternals.cpp. References _tcsistr(), CXMLElement::AddAttribute(), CopyID3v2Field(), CXMLElement::GetAttributeValue(), ID3_DESYNC_SIZE, ID3_GENRES, ID3V2_EXTENDEDHEADER, ID3V2_KNOWNFRAME, ID3V2_KNOWNMASK, ID3V2_TAG, ID3V2_UNSYNCHRONISED, ID3V2_EXTENDED_HEADER_2::nSize, ID3V2_EXTENDED_HEADER_1::nSize, NULL, pszID3Genre, Replace(), ScanMP3Frame(), SubmitMetadata(), SWAP_LONG, and CSchema::uriAudio. Referenced by ExtractMetadata(). |
|
Definition at line 809 of file LibraryBuilderInternals.cpp. References CXMLElement::AddAttribute(), CBuffer::EnsureBuffer(), CBuffer::m_nLength, CBuffer::m_pBuffer, NULL, CBuffer::ReadString(), SubmitCorrupted(), SubmitMetadata(), and CSchema::uriImage. Referenced by ExtractMetadata(). |
|
Definition at line 2069 of file LibraryBuilderInternals.cpp. References NULL. Referenced by ReadPDF(). |
|
Definition at line 2088 of file LibraryBuilderInternals.cpp. References NULL. Referenced by ReadPDF(). |
|
Definition at line 568 of file LibraryBuilderInternals.cpp. References NULL, ScanMP3Frame(), SubmitMetadata(), and CSchema::uriAudio. Referenced by ExtractMetadata(). |
|
Definition at line 1346 of file LibraryBuilderInternals.cpp. References CXMLElement::AddAttribute(), NULL, SubmitMetadata(), and CSchema::uriVideo. Referenced by ExtractMetadata(). |
|
Definition at line 1396 of file LibraryBuilderInternals.cpp. References CXMLElement::AddAttribute(), CLibraryBuilder::m_bThread, m_nSleep, m_pBuilder, NULL, ReadOGGPage(), ReadOGGString(), SubmitCorrupted(), SubmitMetadata(), and CSchema::uriAudio. Referenced by ExtractMetadata(). |
|
Definition at line 1557 of file LibraryBuilderInternals.cpp. References NULL. Referenced by ReadOGG(). |
|
Definition at line 1619 of file LibraryBuilderInternals.cpp. Referenced by ReadOGG(). |
|
Definition at line 1850 of file LibraryBuilderInternals.cpp. References _tcsistr(), CXMLElement::AddAttribute(), NULL, ReadLine(), ReadLineReverse(), SubmitMetadata(), CSchema::uriBook, and CSchema::uriDocument. Referenced by ExtractMetadata(). |
|
Definition at line 938 of file LibraryBuilderInternals.cpp. References CXMLElement::AddAttribute(), NULL, SubmitCorrupted(), SubmitMetadata(), SWAP_LONG, and CSchema::uriImage. Referenced by ExtractMetadata(). |
|
Definition at line 724 of file LibraryBuilderInternals.cpp. References CXMLElement::AddAttribute(), CopyVersionField(), NULL, SubmitMetadata(), and CSchema::uriApplication. Referenced by ExtractMetadata(). |
|
Definition at line 585 of file LibraryBuilderInternals.cpp. References CXMLElement::AddAttribute(), CLibraryBuilder::m_bPriority, CLibraryBuilder::m_bThread, m_nSleep, m_pBuilder, NULL, and SWAP_LONG. Referenced by ReadID3v1(), ReadID3v2(), and ReadMP3Frames(). |
|
Definition at line 169 of file LibraryBuilderInternals.cpp. References m_pBuilder, and CLibraryBuilder::SubmitCorrupted(). Referenced by ExtractMetadata(), ReadAPE(), ReadASF(), ReadAVI(), ReadBMP(), ReadCHM(), ReadGIF(), ReadJPEG(), ReadOGG(), and ReadPNG(). |
|
Definition at line 162 of file LibraryBuilderInternals.cpp. References m_pBuilder, and CLibraryBuilder::SubmitMetadata(). Referenced by ReadAPE(), ReadASF(), ReadAVI(), ReadBMP(), ReadCHM(), ReadCollection(), ReadGIF(), ReadID3v1(), ReadID3v2(), ReadJPEG(), ReadMP3Frames(), ReadMPEG(), ReadOGG(), ReadPDF(), ReadPNG(), and ReadVersion(). |
|
Definition at line 46 of file LibraryBuilderInternals.h. Referenced by ExtractMetadata(), and LoadSettings(). |
|
Definition at line 44 of file LibraryBuilderInternals.h. Referenced by ExtractMetadata(), and LoadSettings(). |
|
Definition at line 47 of file LibraryBuilderInternals.h. Referenced by ExtractMetadata(), and LoadSettings(). |
|
Definition at line 49 of file LibraryBuilderInternals.h. Referenced by ExtractMetadata(), and LoadSettings(). |
|
Definition at line 42 of file LibraryBuilderInternals.h. Referenced by ExtractMetadata(), and LoadSettings(). |
|
Definition at line 43 of file LibraryBuilderInternals.h. Referenced by ExtractMetadata(), and LoadSettings(). |
|
Definition at line 41 of file LibraryBuilderInternals.h. Referenced by ExtractMetadata(), and LoadSettings(). |
|
Definition at line 45 of file LibraryBuilderInternals.h. Referenced by ExtractMetadata(), and LoadSettings(). |
|
Definition at line 48 of file LibraryBuilderInternals.h. Referenced by ExtractMetadata(), and LoadSettings(). |
|
Definition at line 51 of file LibraryBuilderInternals.h. Referenced by ReadOGG(), and ScanMP3Frame(). |
|
Definition at line 39 of file LibraryBuilderInternals.h. Referenced by CLibraryBuilderInternals(), ReadOGG(), ScanMP3Frame(), SubmitCorrupted(), and SubmitMetadata(). |
|
Definition at line 53 of file LibraryBuilderInternals.h. Referenced by CDownloadWithFile::AppendMetadataID3v1(), ReadID3v1(), and ReadID3v2(). |