Custom Post Processing Scripts documentation problems #589

Closed
opened 2026-02-20 04:04:44 -05:00 by deekerman · 1 comment
Owner

Originally created by @djurodrljaca on GitHub (Oct 24, 2015).

This page needs to be updated: https://github.com/Sonarr/Sonarr/wiki/Custom-Post-Processing-Scripts

There are a few issues with it:

  1. The separator was changed from a dot to an underscore character in one of the last releases.

  2. The env. var. names are converted to lowercase when the process is started. This happens because StringDictionary is used and according to its documentation:

The key is handled in a case-insensitive manner; it is translated to lowercase before it is added to the string dictionary.

https://msdn.microsoft.com/en-us/library/system.collections.specialized.stringdictionary.add%28v=vs.110%29.aspx

  1. There are some missing env. variables in the page for "On Download/On Upgrade":
  • sonarr_episodefile_sourcepath
  • sonarr_episodefile_sourcefolder
Originally created by @djurodrljaca on GitHub (Oct 24, 2015). This page needs to be updated: https://github.com/Sonarr/Sonarr/wiki/Custom-Post-Processing-Scripts There are a few issues with it: 1) The separator was changed from a dot to an underscore character in one of the last releases. 2) The env. var. names are converted to lowercase when the process is started. This happens because StringDictionary is used and according to its documentation: The key is handled in a case-insensitive manner; it is translated to lowercase before it is added to the string dictionary. https://msdn.microsoft.com/en-us/library/system.collections.specialized.stringdictionary.add%28v=vs.110%29.aspx 3) There are some missing env. variables in the page for "On Download/On Upgrade": - sonarr_episodefile_sourcepath - sonarr_episodefile_sourcefolder
deekerman 2026-02-20 04:04:44 -05:00
  • closed this issue
  • added the
    docs
    label
Author
Owner

@markus101 commented on GitHub (Oct 25, 2015):

Its a wiki and can be updated by anyone.

@markus101 commented on GitHub (Oct 25, 2015): Its a wiki and can be updated by anyone.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Sonarr#589
No description provided.