1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
/// Autopulse - Autopulse target
///
/// This target is used to process a file in another instance of Autopulse
///
/// # Example
///
/// ```yml
/// targets:
///   autopulse:
///     type: autopulse
///     url: http://localhost:2875
///     auth:
///       username: "admin"
///       password: "password"
/// ```
/// or
/// ```yml
/// targets:
///   autopulse:
///     type: autopulse
///     url: http://localhost:2875
///     auth:
///       username: "admin"
///       password: "password"
///     trigger: "other"
/// ```
///
/// See [Autopulse](autopulse::Autopulse) for all options
pub mod autopulse;
/// Command - Command target
///
/// This target is used to run a command to process a file
///
/// # Example
///
/// ```yml
/// targets:
///   list:
///     type: command
///     raw: "echo $FILE_PATH >> list.log"
/// ```
///
/// or
///
/// ```yml
/// targets:
///   list:
///     type: command
///     path: "/path/to/script.sh"
/// ```
///
/// See [Command](command::Command) for all options
pub mod command;
/// Emby - Emby/Jellyfin target
///
/// This target is used to refresh/scan a file in Emby/Jellyfin
///
/// # Example
///
/// ```yml
/// targets:
///   my_jellyfin:
///     type: jellyfin
///     url: http://localhost:8096
///     token: "<API_KEY>"
///     # refresh_metadata: false # To disable metadata refresh
/// ```
/// or
/// ```yml
/// targets:
///   my_emby:
///     type: emby
///     url: http://localhost:8096
///     token: "<API_KEY>"
///     # refresh_metadata: false # To disable metadata refresh
///     # metadata_refresh_mode: "validation_only" # To change metadata refresh mode
/// ```
///
/// See [Emby](emby::Emby) for all options
#[doc(alias("jellyfin"))]
pub mod emby;
/// FileFlows - FileFlows target
///
/// This target is used to process a file in FileFlows
///
/// # Example
///
/// ```yml
/// targets:
///   fileflows:
///     type: fileflows
///     url: http://localhost:5000
/// ```
///
/// See [FileFlows](fileflows::FileFlows) for all options
pub mod fileflows;
/// Plex - Plex target
///
/// This target is used to scan a file in Plex
///
/// # Example
///
/// ```yml
/// targets:
///   my_plex:
///     type: plex
///     url: http://localhost:32400
///     token: "<PLEX_TOKEN>"
/// ```
/// or
/// ```yml
/// targets:
///   my_plex:
///     type: plex
///     url: http://localhost:32400
///     token: "<PLEX_TOKEN>"
///     refresh: true
///     analyze: true
/// ```
///
/// See [Plex](plex::Plex) for all options
pub mod plex;
/// Tdarr - Tdarr target
///
/// This target is used to process a file in Tdarr
///
/// # Example
///
/// ```yml
/// targets:
///   tdarr:
///     type: tdarr
///     url: http://localhost:8265
///     db_id: "<LIBRARY_ID>"
/// ```
///
/// See [Tdarr](tdarr::Tdarr) for all options
pub mod tdarr;