INTERACT FORUM
More => Old Versions => Media Center 11 (Development Ended) => Topic started by: Ce.D on October 15, 2003, 02:17:14 pm
-
I'm dont' know whether this is a bug or if I'm just a fool
Whatever the setting in Tools > Options > Tre & View settings > Display Image, MC keeps substituing 'C:\Program Files\J River\Media Jukebox\Data\Default Art\Logo.png' for the TRACKINFO_INSERT_IMAGE variable in Track Info templates.
Pity to have the RGB 'Logo.png' (which is not transparency-enabled; it would if casted to indexed colors) and its gray surrounding on top of fretwalker's beautiful art :)
-
It has an alpha drop shadow that IE doesn't understand. I guess it's sort of an IE bug since the PNG is valid.
-
Then Microsoft is responsible for screwing up fretwalker's beautiful work !?! ;D
LOL
Now, apart from the IE bug, shouldn't the TRACKINFO_INSERT_IMAGE variable be subsituted with the actual Tools > Options > Tre & View settings > Display Image instead of always the same 'C:\Program Files\J River\Media Jukebox\Data\Default Art\Logo.png' ?
One could use his girlfriend's most sexy stance in place of the default (though very nice) MC logo... ;D
-
BTW, forgot to mention this problem occurs only when no cover art is available (of course)
-
And just found another 'Track Info' malfunction that is definitely a bug:
When listening to streamed MP3, Track Info view doesn't change though the track data change in the 'palying file' bar :(
PS: could this be related to an error in the 'Track Info' template instead of a bug (though I doubt it) ?
-
Had a look in the 'Track Info plug-in (1.0.26)' in the 'Display SDK'.
'TrackInfoImpl.cpp'
220: IMJFileAutomationPtr CurFile = CurPlaylist->GetFile(nCurFilePosition);
244: CString strImageFile = (LPCTSTR) CurFile->GetImageFile(IMAGEFILE_DISPLAY);
263: ReplaceWebSafe(strBuffer, _T("TRACKINFO_INSERT_IMAGE"), strImageFile);
MJFileAutomation being defined in the MC Interface SDK.
More precisely:
string MJFileAutomation->GetImageFile(MJImageFileFlags nImageFileFlag)
Description: gets the filename of an image associated with the file
Parameters:
nImageFileFlag: IMAGEFILE_DISPLAY - display image (uses MJ logo if file doesn't have an image), IMAGEFILE_IN_DATABASE - database image, IMAGEFILE_IN_FILE - tag image (stored inside of file), IMAGEFILE_THUMBNAIL_SMALL, IMAGEFILE_THUMBNAIL_MEDIUM, IMAGEFILE_THUMBNAIL_LARGE - small, medium, and large thumbnail images for the file.
Return Value: a filename of the image file
Any chance in getting the IMAGEFILE_DISPLAY value return the 'Tools > Options > View Settings > Display Image' instead of "MJ logo if file doesn't have an image" ?
;D