Author Topic: Album Ratings Averages  (Read 16662 times)

Steven

  • Administrator
  • Hero Member
  • *****
  • Posts: 32048
i was just going to do this now but its already been done.
perhaps you are using an old interface definition file: MusicBeeInterface.cs
public enum NotificationType
        {
            PluginStartup = 0,          // notification sent after successful initialisation for an enabled plugin
            TrackChanged = 1,
            PlayStateChanged = 2,
            AutoDjStarted = 3,
            AutoDjStopped = 4,
            VolumeMuteChanged = 5,
            VolumeLevelChanged = 6,
            NowPlayingListChanged = 7,
            NowPlayingArtworkReady = 8,
            NowPlayingLyricsReady = 9,
            TagsChanging = 10,
            TagsChanged = 11,
            RatingChanged = 12,
            PlayCountersChanged = 13
        }
the only place i need to put a missing notfication in is when the rating is changed while editing tags - thats done for the next update
Last Edit: November 16, 2011, 10:19:24 PM by Steven

boroda

  • Hero Member
  • *****
  • Posts: 3519
No, Steven, I need to filter by album when using Library_QueryFiles, otherwise I should update the whole library.,

Steven

  • Administrator
  • Hero Member
  • *****
  • Posts: 32048
the file having the rating changed is one of the parameters - you could use the album artist and album from that to query the library using and applying the filter to determine which files need to be updated.

boroda

  • Hero Member
  • *****
  • Posts: 3519
Did you mean to filter library manually? OK.

boroda

  • Hero Member
  • *****
  • Posts: 3519
I've added requested option. See plugin topic for details.

Dannyboyni

  • Newbie
  • *
  • Posts: 10
This plugin lacks showing the album rating, when I browse all my albums in artwork view. I would like it to show the album artwork, with the same artist and album name, however beneath those would be the star rating of the album. Just like mediamonkey does it.

Steven

  • Administrator
  • Hero Member
  • *****
  • Posts: 32048
the plugin calculates the album rating
to show the album rating, configure the panel layout (right click on the panel header bar/ Customise Panel Settings) so it shows the "Album Rating" field

Dannyboyni

  • Newbie
  • *
  • Posts: 10
Just one more thing, see if I have an album with only a few rated songs, is it possible to not show the album rating for that album? I have an album with 5 star rating, even though only 1 track is rated on that album.

boroda

  • Hero Member
  • *****
  • Posts: 3519
Plugin sets equal *album rating* to all tracks of album, though some tracks may not have *track rating* (i.e. may be unrated).