mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
New: Search for all missing episodes
This commit is contained in:
parent
1e42bf18e2
commit
89e0b41ebc
8 changed files with 287 additions and 6 deletions
|
@ -67,7 +67,7 @@ define(
|
|||
name : 'this',
|
||||
label : 'Episode Title',
|
||||
sortable : false,
|
||||
cell : EpisodeTitleCell,
|
||||
cell : EpisodeTitleCell
|
||||
},
|
||||
{
|
||||
name : 'airDateUtc',
|
||||
|
@ -121,6 +121,12 @@ define(
|
|||
callback: this._searchSelected,
|
||||
ownerContext: this
|
||||
},
|
||||
{
|
||||
title: 'Search All Missing',
|
||||
icon : 'icon-search',
|
||||
callback: this._searchMissing,
|
||||
ownerContext: this
|
||||
},
|
||||
{
|
||||
title: 'Season Pass',
|
||||
icon : 'icon-bookmark',
|
||||
|
@ -201,6 +207,16 @@ define(
|
|||
name : 'episodeSearch',
|
||||
episodeIds: ids
|
||||
});
|
||||
},
|
||||
|
||||
_searchMissing: function () {
|
||||
if (window.confirm('Are you sure you want to search for {0} missing episodes? '.format(this.collection.state.totalRecords) +
|
||||
'One API request to each indexer will be used for each episode. ' +
|
||||
'This cannot be stopped once started.')) {
|
||||
CommandController.Execute('missingEpisodeSearch', {
|
||||
name : 'missingEpisodeSearch'
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue