generated from furystack/boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
120 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,25 @@ | ||
export interface MoviesConfig { | ||
id: 'MOVIES_CONFIG' | ||
value: { | ||
/** | ||
* Search .nfo files for imdb id | ||
*/ | ||
enableNfoParsing: boolean | ||
|
||
/** | ||
* 'all' or a list of directories to watch for new movies. | ||
*/ | ||
watchFiles: 'all' | Array<{ drive: string; path: string }> | ||
watchFiles: | ||
| 'all' | ||
| Array<{ | ||
/** | ||
* The drive to watch | ||
*/ | ||
drive: string | ||
/** | ||
* An optional path filter. If not set, all files in the drive will be watched. | ||
*/ | ||
path?: string | ||
}> | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,20 @@ | ||
export interface OmdbConfig { | ||
/** | ||
* Configuration entry for the OMDB API | ||
*/ | ||
id: 'OMDB_CONFIG' | ||
value: { | ||
/** | ||
* The API key for the OMDB API, can be requested at https://www.omdbapi.com/ | ||
*/ | ||
apiKey: string | ||
/** | ||
* If a movie / series entry is added, try to search for the movie from data extracted from the file name (e.g.: title, year, season, episode, etc...) | ||
*/ | ||
trySearchMovieFromTitle: boolean | ||
/** | ||
* If a new imdb id is added, download the metadata automatically | ||
*/ | ||
autoDownloadMetadata: boolean | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters