There is an special item in this project. I can not using GetMediaSourceFileName to get it's source file path
Code:
local it=reaper.GetSelectedMediaItem(0, 0)
local tk=reaper.GetActiveTake(it)
local sr=reaper.GetMediaItemTake_Source(tk)
local file=reaper.GetMediaSourceFileName(sr, "")
But then I find out the value of file is nil. What's wrong with it?