INTERACT FORUM

Windows => Plug-in Development => Topic started by: muchadhesion on October 01, 2009, 08:24:12 am

Title: Understanding MC Log files
Post by: muchadhesion on October 01, 2009, 08:24:12 am

I want to report bug.  Being an engineer, I'd like to make the bug report useful/meaningful.

To do this I believe I need to understand the MC log file, as a point of reference.

What time resolution is the counter in the first column?

Also, what is the meaning of "Global Count: 3" present on the SDK calls?

Code: [Select]
0770656: 13716: SDK: CMJCurPlaylistAutomation::CMJCurPlaylistAutomation: Global Count: 3
0770656: 13716: SDK: CMJPlaybackAutomation::CMJPlaybackAutomation: Global Count: 2
0776422: 13716: Database: CTagSaveHelper::CTagSaveHelper: Start
0776422: 13716: Database: CTagSaveHelper::CTagSaveHelper: Finish (0 ms)
0776422: 13716: Database: CTagSaveHelper::SubmitFile: Start
0776422: 13716: Database: CTagSaveHelper::SubmitFile: Submitting: \\Ramesses\music\francis\Depeche Mode\Remixes 81-04 [Disc 2]\2-02 World In My Eyes (Mode To Joy).m4a
0776422: 13716: Database: CTagSaveHelper::SubmitFile: File not taggable
0776422: 13716: Database: CTagSaveHelper::SubmitFile: Finish (0 ms)
0776422: 13716: Database: CTagSaveHelper::~CTagSaveHelper: Start
0776422: 13716: Database: CTagSaveHelper::~CTagSaveHelper: Waiting until finished
0776422: 13716: Database: CTagSaveHelper::~CTagSaveHelper: Stopping thread (running = 0)
0776422: 13716: Database: CTagSaveHelper::~CTagSaveHelper: Deleting save objects
0776422: 13716: Database: CTagSaveHelper::~CTagSaveHelper: Finish (0 ms)
0780625: 14040: Import: GetCoverArt: Getting art: \\Ramesses\music\francis\Depeche Mode\Remixes 81-04 [Disc 2]\2-03 Get The Balance Right! (Combination Mix).m4a
0780703: 14040: Reader: CLocalReader::OpenInternal: Opening: C:\Documents and Settings\morgan\Application Data\J River\Media Center 14\Temp\Downloaded Images\Image (1).jpg
0780703: 14040: Reader: CLocalReader::Close: Closing: C:\Documents and Settings\morgan\Application Data\J River\Media Center 14\Temp\Downloaded Images\Image (1).jpg
0806766: 13716: SDK: CMJPlaybackAutomation::OnFinalRelease: All objects released
0806766: 13716: SDK: CMJPlaybackAutomation::~CMJPlaybackAutomation: Global Count: 1
0806766: 13716: SDK: CMJCurPlaylistAutomation::OnFinalRelease: All objects released

Thanks.
Title: Re: Understanding MC Log files
Post by: Matt on October 01, 2009, 08:53:36 am
The log is in this format:
[Time from start / reset in milliseconds]: [Thread ID]: [Category]: [Function]: [Log]

The global count is the reference count of the SDK / automation interface.