Author Topic: using api to change rating in auto playlist  (Read 278 times)


  • Newbie
  • *
  • Posts: 15
I'm changing the rating which works fine. How do I remove the track from the current view if it don't fit the rating criteria of the current auto playlist? The built in rating action does that too.

Code: [Select]
    Sub Rate1(sender As Object, e As EventArgs)
        Dim currentPath = mbApiInterface.NowPlaying_GetFileUrl()
        mbApiInterface.Library_SetFileTag(currentPath, MetaDataType.Rating, "1")
    End Sub


  • Administrator
  • Hero Member
  • *****
  • Posts: 25291
Its an oversight on my part which i will correct. But only for v3.1

actually it should already be refreshing auto-playlists when MB_RefreshPanels() is called but i see there is a bug which should be fixed for the next v3.1 update
Last Edit: March 14, 2017, 08:47:07 PM by Steven


  • Newbie
  • *
  • Posts: 15
Thanks for the build, works fine.

I'm pretty much finished with my migration from MM, I was using it almost daily 11 years, R.I.P.