Question about variable custom script

Hello i want to ask what variable is to find the directory of series episode that is proccessed?

example i have Title.episode s01e01.mkv on directory /home/user/TV/Title/Season 01/episodes01e01.mkv
how i can get the full path of series from example above /home/user/TV/Title/ and not the full path of episode?
i want to run a script on Series directory after completed and imported…

See https://github.com/Sonarr/Sonarr/wiki/Custom-Post-Processing-Scripts#on-downloadon-upgrade

There’s a sonarr_series_path environment variable.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.