|
|
@ -66,6 +66,7 @@ class AddNewMovieSearchResult extends Component {
|
|
|
|
ratings,
|
|
|
|
ratings,
|
|
|
|
folder,
|
|
|
|
folder,
|
|
|
|
images,
|
|
|
|
images,
|
|
|
|
|
|
|
|
existingMovieId,
|
|
|
|
isExistingMovie,
|
|
|
|
isExistingMovie,
|
|
|
|
isExclusionMovie,
|
|
|
|
isExclusionMovie,
|
|
|
|
isSmallScreen,
|
|
|
|
isSmallScreen,
|
|
|
@ -74,8 +75,7 @@ class AddNewMovieSearchResult extends Component {
|
|
|
|
monitored,
|
|
|
|
monitored,
|
|
|
|
hasFile,
|
|
|
|
hasFile,
|
|
|
|
isAvailable,
|
|
|
|
isAvailable,
|
|
|
|
queueStatus,
|
|
|
|
movieFile,
|
|
|
|
queueState,
|
|
|
|
|
|
|
|
runtime,
|
|
|
|
runtime,
|
|
|
|
movieRuntimeFormat,
|
|
|
|
movieRuntimeFormat,
|
|
|
|
certification
|
|
|
|
certification
|
|
|
@ -120,13 +120,13 @@ class AddNewMovieSearchResult extends Component {
|
|
|
|
{
|
|
|
|
{
|
|
|
|
isExistingMovie &&
|
|
|
|
isExistingMovie &&
|
|
|
|
<MovieIndexProgressBar
|
|
|
|
<MovieIndexProgressBar
|
|
|
|
|
|
|
|
movieId={existingMovieId}
|
|
|
|
|
|
|
|
movieFile={movieFile}
|
|
|
|
monitored={monitored}
|
|
|
|
monitored={monitored}
|
|
|
|
hasFile={hasFile}
|
|
|
|
hasFile={hasFile}
|
|
|
|
status={status}
|
|
|
|
status={status}
|
|
|
|
width={posterWidth}
|
|
|
|
width={posterWidth}
|
|
|
|
detailedProgressBar={true}
|
|
|
|
detailedProgressBar={true}
|
|
|
|
queueStatus={queueStatus}
|
|
|
|
|
|
|
|
queueState={queueState}
|
|
|
|
|
|
|
|
isAvailable={isAvailable}
|
|
|
|
isAvailable={isAvailable}
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -278,6 +278,7 @@ AddNewMovieSearchResult.propTypes = {
|
|
|
|
ratings: PropTypes.object.isRequired,
|
|
|
|
ratings: PropTypes.object.isRequired,
|
|
|
|
folder: PropTypes.string.isRequired,
|
|
|
|
folder: PropTypes.string.isRequired,
|
|
|
|
images: PropTypes.arrayOf(PropTypes.object).isRequired,
|
|
|
|
images: PropTypes.arrayOf(PropTypes.object).isRequired,
|
|
|
|
|
|
|
|
existingMovieId: PropTypes.number,
|
|
|
|
isExistingMovie: PropTypes.bool.isRequired,
|
|
|
|
isExistingMovie: PropTypes.bool.isRequired,
|
|
|
|
isExclusionMovie: PropTypes.bool.isRequired,
|
|
|
|
isExclusionMovie: PropTypes.bool.isRequired,
|
|
|
|
isSmallScreen: PropTypes.bool.isRequired,
|
|
|
|
isSmallScreen: PropTypes.bool.isRequired,
|
|
|
@ -286,9 +287,8 @@ AddNewMovieSearchResult.propTypes = {
|
|
|
|
monitored: PropTypes.bool.isRequired,
|
|
|
|
monitored: PropTypes.bool.isRequired,
|
|
|
|
hasFile: PropTypes.bool.isRequired,
|
|
|
|
hasFile: PropTypes.bool.isRequired,
|
|
|
|
isAvailable: PropTypes.bool.isRequired,
|
|
|
|
isAvailable: PropTypes.bool.isRequired,
|
|
|
|
|
|
|
|
movieFile: PropTypes.object,
|
|
|
|
colorImpairedMode: PropTypes.bool,
|
|
|
|
colorImpairedMode: PropTypes.bool,
|
|
|
|
queueStatus: PropTypes.string,
|
|
|
|
|
|
|
|
queueState: PropTypes.string,
|
|
|
|
|
|
|
|
runtime: PropTypes.number.isRequired,
|
|
|
|
runtime: PropTypes.number.isRequired,
|
|
|
|
movieRuntimeFormat: PropTypes.string.isRequired,
|
|
|
|
movieRuntimeFormat: PropTypes.string.isRequired,
|
|
|
|
certification: PropTypes.string
|
|
|
|
certification: PropTypes.string
|
|
|
|