Author Topic: Plugin - How to get the selected file? (Playing / Selected)  (Read 3246 times)

mless

  • Jr. Member
  • **
  • Posts: 31
Hello,

With NowPlayingList_GetFileProperty I can get information about the currently playing file. I'd like to determine what file(s) is currently selected. Is there a function to do this? Like when the "Playing / Selected" button in the Track Information panel is set to "Selected"?

Thanks!

Steven

  • Administrator
  • Sr. Member
  • *****
  • Posts: 34349
i suggest you have a look at the Advanced Tagging Tools plugin as it has functionality to get the selected track. The API implementation for that is a bit of a hack though.
You need to query using Library_QueryFilesEx("domain=SelectedFiles",files-urls)