|
|
@ -15,6 +15,7 @@ import MovieLanguage from 'Movie/MovieLanguage';
|
|
|
|
import MovieQuality from 'Movie/MovieQuality';
|
|
|
|
import MovieQuality from 'Movie/MovieQuality';
|
|
|
|
import MovieTitleLink from 'Movie/MovieTitleLink';
|
|
|
|
import MovieTitleLink from 'Movie/MovieTitleLink';
|
|
|
|
import formatBytes from 'Utilities/Number/formatBytes';
|
|
|
|
import formatBytes from 'Utilities/Number/formatBytes';
|
|
|
|
|
|
|
|
import formatPreferredWordScore from 'Utilities/Number/formatPreferredWordScore';
|
|
|
|
import translate from 'Utilities/String/translate';
|
|
|
|
import translate from 'Utilities/String/translate';
|
|
|
|
import QueueStatusCell from './QueueStatusCell';
|
|
|
|
import QueueStatusCell from './QueueStatusCell';
|
|
|
|
import RemoveQueueItemModal from './RemoveQueueItemModal';
|
|
|
|
import RemoveQueueItemModal from './RemoveQueueItemModal';
|
|
|
@ -88,6 +89,7 @@ class QueueRow extends Component {
|
|
|
|
movie,
|
|
|
|
movie,
|
|
|
|
quality,
|
|
|
|
quality,
|
|
|
|
customFormats,
|
|
|
|
customFormats,
|
|
|
|
|
|
|
|
customFormatScore,
|
|
|
|
languages,
|
|
|
|
languages,
|
|
|
|
protocol,
|
|
|
|
protocol,
|
|
|
|
indexer,
|
|
|
|
indexer,
|
|
|
@ -201,6 +203,17 @@ class QueueRow extends Component {
|
|
|
|
);
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (name === 'customFormatScore') {
|
|
|
|
|
|
|
|
return (
|
|
|
|
|
|
|
|
<TableRowCell
|
|
|
|
|
|
|
|
key={name}
|
|
|
|
|
|
|
|
className={styles.customFormatScore}
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
{formatPreferredWordScore(customFormatScore)}
|
|
|
|
|
|
|
|
</TableRowCell>
|
|
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (name === 'protocol') {
|
|
|
|
if (name === 'protocol') {
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
<TableRowCell key={name}>
|
|
|
|
<TableRowCell key={name}>
|
|
|
@ -365,6 +378,7 @@ QueueRow.propTypes = {
|
|
|
|
movie: PropTypes.object,
|
|
|
|
movie: PropTypes.object,
|
|
|
|
quality: PropTypes.object.isRequired,
|
|
|
|
quality: PropTypes.object.isRequired,
|
|
|
|
customFormats: PropTypes.arrayOf(PropTypes.object),
|
|
|
|
customFormats: PropTypes.arrayOf(PropTypes.object),
|
|
|
|
|
|
|
|
customFormatScore: PropTypes.number.isRequired,
|
|
|
|
languages: PropTypes.arrayOf(PropTypes.object).isRequired,
|
|
|
|
languages: PropTypes.arrayOf(PropTypes.object).isRequired,
|
|
|
|
protocol: PropTypes.string.isRequired,
|
|
|
|
protocol: PropTypes.string.isRequired,
|
|
|
|
indexer: PropTypes.string,
|
|
|
|
indexer: PropTypes.string,
|
|
|
|