1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-11-22 02:32:51 +01:00

Added a new section for specific usage tips and an entry on PHP since I had to ask for this information myself and so maybe others won't have to.

SoWhy 2015-08-27 21:53:52 +02:00
parent 03ebb671aa
commit 87979463ee

@ -35,4 +35,8 @@ Sonarr can execute a custom script when new episodes are imported or a series is
| Series.Id | Internal ID of the series |
| Series.Title | Title of the series |
| Series.Path | Full path to the series |
| Series.TvdbId | TVDB ID for the series |
| Series.TvdbId | TVDB ID for the series |
### Specific usage tips ###
#### PHP ####
The information from Sonarr will not be added to $_ENV as one might expect but should be included in the [$_SERVER variable](https://secure.php.net/manual/en/reserved.variables.server.php). A sample script to use this information to convert a file can be found [here](https://gist.github.com/karbowiak/7fb38d346e368edc9d1a).