- October 29, 2005
- 5,335
- 4,954
- Home Country
- Hungary
Hi,
as I tested the video thumbnail creator make the thumb from start of the video file instead of preGapSec. I find the code part in the mediaportal\Core\Util\VideoThumbCreator.cs
int preGapSec = 5;
int postGapSec = 5;
if (aOmitCredits)
{
preGapSec = 420;
postGapSec = 600;
}
I have made a new debug row after that.
Log.Debug("VideoThumbCreator (regeszter): pregapsec: {0}, postgapsec: {1}", preGapSec ,postGapSec);
Here is the result:
for video (Ákos_ Koncert a Szigeten 2012 - m1 HD - 2013-01-01 - 18.45) not found. Creating a new video thumb...
[2013-05-14 10:56:52,766] [Log ] [5 ] [DEBUG] - VideoThumbCreator: Settings loaded - using 1 columns and 1 rows. Share thumb = True
[2013-05-14 10:56:52,769] [Log ] [5 ] [DEBUG] - VideoThumbCreator (regeszter): pregapsec: 5, postgapsec: 5
[2013-05-14 10:56:53,745] [Log ] [MPMain ] [DEBUG] - D3D: MouseMoveEvent()
[2013-05-14 10:56:54,763] [Log ] [MPMain ] [DEBUG] - D3D: MouseMoveEvent()
[2013-05-14 10:57:00,876] [Log ] [MPMain ] [DEBUG] - TextureManager: CleanupThumbs()
[2013-05-14 10:57:00,924] [Log ] [MPMain ] [DEBUG] - SetThumbnails: Thumbs for video (Az ének iskolája - TV2 - 2013-05-11 - 19.15) not found. Creating a new video thumb...
[2013-05-14 10:57:00,931] [Log ] [15 ] [DEBUG] - VideoThumbCreator (regeszter): pregapsec: 5, postgapsec: 5
When will be if (aOmitCredits) condition true?
Thanks for advanced!
as I tested the video thumbnail creator make the thumb from start of the video file instead of preGapSec. I find the code part in the mediaportal\Core\Util\VideoThumbCreator.cs
int preGapSec = 5;
int postGapSec = 5;
if (aOmitCredits)
{
preGapSec = 420;
postGapSec = 600;
}
I have made a new debug row after that.
Log.Debug("VideoThumbCreator (regeszter): pregapsec: {0}, postgapsec: {1}", preGapSec ,postGapSec);
Here is the result:
for video (Ákos_ Koncert a Szigeten 2012 - m1 HD - 2013-01-01 - 18.45) not found. Creating a new video thumb...
[2013-05-14 10:56:52,766] [Log ] [5 ] [DEBUG] - VideoThumbCreator: Settings loaded - using 1 columns and 1 rows. Share thumb = True
[2013-05-14 10:56:52,769] [Log ] [5 ] [DEBUG] - VideoThumbCreator (regeszter): pregapsec: 5, postgapsec: 5
[2013-05-14 10:56:53,745] [Log ] [MPMain ] [DEBUG] - D3D: MouseMoveEvent()
[2013-05-14 10:56:54,763] [Log ] [MPMain ] [DEBUG] - D3D: MouseMoveEvent()
[2013-05-14 10:57:00,876] [Log ] [MPMain ] [DEBUG] - TextureManager: CleanupThumbs()
[2013-05-14 10:57:00,924] [Log ] [MPMain ] [DEBUG] - SetThumbnails: Thumbs for video (Az ének iskolája - TV2 - 2013-05-11 - 19.15) not found. Creating a new video thumb...
[2013-05-14 10:57:00,931] [Log ] [15 ] [DEBUG] - VideoThumbCreator (regeszter): pregapsec: 5, postgapsec: 5
When will be if (aOmitCredits) condition true?
Thanks for advanced!