INTERACT FORUM

Please login or register.

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

Author Topic: Things working in MJ8 that don't work in MC9  (Read 918 times)

PhDSM

  • Regular Member
  • World Citizen
  • ***
  • Posts: 193
Things working in MJ8 that don't work in MC9
« on: May 06, 2003, 12:14:22 am »

Hello,

Thanks for this new version.
It seems the Visualization and Trackinfo parts are still incomplete compare to version 8, both of them do not support anymore the access to comment1/2/3 fields.
Would you please correct the Trackinfo and Visualization DLLs to support these fields again. At the same time it would be great is you add the support of "Composer" field ::).
Thanks and best Regards

PhDSM

Your product is really a great product! congratulations !
Logged

Cmagic

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 1196
  • Enjoying life with a little music....
Re: Things working in MJ8 that don't work in MC9
« Reply #1 on: May 06, 2003, 02:14:31 am »

Hello,

During MC9 beta testing we reported several times that the display of custom fields in Track info and visualization was not woking.
Well, the thing is that in MC9, custom fields are not 'static' like in MJ8. That is you're free to add any field, give it a name and a data type of your choice. It probably makes access and display of those fields a bit more compicated than with static fields. Note that this is my own explanation.
Maybe someone at JRiver will like to comment on that.

I think and I hope It will be back in MC9.1 !

Have a nice day,

C.
Logged
Until the color of a man's skin is of no more significance
than the color of his eyes.
Bob Marley (War)

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42248
  • Shoes gone again!
Re: Things working in MJ8 that don't work in MC9
« Reply #2 on: May 06, 2003, 05:16:10 am »

Cmagic is spot on.  The flexible database makes it a bit more complicated to communicate with the visualizations using the existing system.

MC 9.1 / 10 should address this.

Hope this isn't too much of a downer.
Logged
Matt Ashland, JRiver Media Center

PhDSM

  • Regular Member
  • World Citizen
  • ***
  • Posts: 193
Re: Things working in MJ8 that don't work in MC9
« Reply #3 on: May 06, 2003, 07:06:59 am »

Thanks Matt for your answer.

I understand that it is difficult for the new customer added fields, but ís it also the case for Custom1/2/3?

I have to admitt that it is bit a downer for me as I listen to a lot of classical music and I used the Custom1 and Custom3 field to enter the piece title and the composer.
When I listen music this was displayed on the screen with Visualization. Now I can know see the title, I just see the movement and the conductor or solist name.

Anyway, I've look at the TrackInfo plugin that you put in the developer zone. Looking at the source code I think the support of Composer and Custom field just required minimum changes (See below). I'm not an expert in C++ but isn't  the following modification of  "TrackInfoImpl.cpp"  enough? :

around line 263
     CString strReplaceItem[NumberOfFields] = {"TRACKINFO_INSERT_FILENAME", "TRACKINFO_INSERT_ARTIST", "TRACKINFO_INSERT_ALBUM", "TRACKINFO_INSERT_TITLE",
           "TRACKINFO_INSERT_FORMAT", "TRACKINFO_INSERT_SIZE", "TRACKINFO_INSERT_BITRATE", "TRACKINFO_INSERT_DURATION", "TRACKINFO_INSERT_NUMBERPLAYED", "TRACKINFO_INSERT_TRACKNUMBER", "TRACKINFO_INSERT_GENRE",
           "TRACKINFO_INSERT_YEAR", "TRACKINFO_INSERT_COMMENT", "TRACKINFO_INSERT_CUSTOM1",
           "TRACKINFO_INSERT_CUSTOM2", "TRACKINFO_INSERT_CUSTOM3", "TRACKINFO_INSERT_DATE", "TRACKINFO_INSERT_LAST_PLAYED",
           "TRACKINFO_INSERT_RATING", "TRACKINFO_INSERT_PLAYLISTS", "TRACKINFO_INSERT_IMAGE", "TRACKINFO_INSERT_NOTES", "TRACKINFO_INSERT_LYRICS", "TRACKINFO_INSERT_COMPOSER"};
     CString strEmptyItem[NumberOfFields] = {"", "", "", "",
           "", "", "?", "", "", "", "",
           "", "", "",
           "", "", "", "",
           "?", "NONE", "", "This track contains no notes.", "This track contains no lyrics.", ""};
     CString strValuesItem[NumberOfFields] = {(char *)CurFile->Filename, (char *)CurFile->Artist, (char *)CurFile->Album, (char *)CurFile->Name,
           (char *)CurFile->Filetype, (char *)CurFile->GetFormatedFileSize(), Bitrate, (char *)CurFile->GetFormatedDuration(), PlayCounter, Tracknumber, (char *)CurFile->Genre,
           Year, (char *)CurFile->Comment, (char *)CurFile->get("custom 1", 0),
           (char *)CurFile->get("custom 2", 0), (char *)CurFile->get("custom 3", 0)
, (char *)CurFile->GetFormatedFileDate(), (char *)CurFile->GetFormatedLastPlayed(),
           Rating, strPlaylists, ImageFile, (char *)CurFile->Notes, (char *)CurFile->Lyrics}, (char *)CurFile->get("composer", 0);

I don't have compiler otherwise I would have tried.
Regarding Visualization, isn't same kind of modification ?

Regards

PhDSM
Logged
Pages: [1]   Go Up