I’m trying to make an mpv.conf profile condition that detects when there is a particular phrase in the original file name. So is there some sort of property that includes the original file name of episode that could be used? Thanks.
You can only trigger on the things which MPV is told and MPV is given a URL for the file. This URL does not include the filename so you likely cannot trigger on items in it. However, the metadata in the file is present so maybe you can trigger on that, the properties of the video/audio or something like that?
Alright thanks, I ended up using a profile condition to check the title for the subtitle track with this if anyone is trying to do something similar:
profile-cond=get('current-tracks/sub/title') == 'Phrase'