INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: MC 9.1.279: Track Info TRACKINFO_INSERT_IMAGE -> bug ?  (Read 1927 times)

Ce.D

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 85
MC 9.1.279: Track Info TRACKINFO_INSERT_IMAGE -> bug ?
« 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  :)
Logged
Great piece of soft, guys!

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42325
  • Shoes gone again!
Re:MC 9.1.279: Track Info TRACKINFO_INSERT_IMAGE -> bug ?
« Reply #1 on: October 15, 2003, 03:25:56 pm »

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.  
Logged
Matt Ashland, JRiver Media Center

Ce.D

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 85
Re:MC 9.1.279: Track Info TRACKINFO_INSERT_IMAGE -> bug ?
« Reply #2 on: October 15, 2003, 04:03:25 pm »

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
Logged
Great piece of soft, guys!

Ce.D

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 85
Re:MC 9.1.279: Track Info TRACKINFO_INSERT_IMAGE -> bug ?
« Reply #3 on: October 15, 2003, 04:32:51 pm »

BTW, forgot to mention this problem occurs only when no cover art is available (of course)
Logged
Great piece of soft, guys!

Ce.D

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 85
Re:MC 9.1.279: Track Info TRACKINFO_INSERT_IMAGE -> bug ?
« Reply #4 on: October 15, 2003, 05:18:15 pm »

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) ?
Logged
Great piece of soft, guys!

Ce.D

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 85
Re:MC 9.1.279: Track Info TRACKINFO_INSERT_IMAGE -> bug ?
« Reply #5 on: October 21, 2003, 06:32:39 am »

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
Logged
Great piece of soft, guys!
Pages: [1]   Go Up