try next release, use media_id
This commit is contained in:
1 parent
37bc54e01e
commit
27e4800ed2
2 files changed
+2
-2
No files matched your search
@@ -428,7 +428,7 @@ MA.Release = new Class({
|
|||||||
|
|
||||||
Api.request('movie.searcher.try_next', {
|
Api.request('movie.searcher.try_next', {
|
||||||
'data': {
|
'data': {
|
||||||
'id': self.movie.get('_id')
|
'media_id': self.movie.get('_id')
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ class MovieSearcher(SearcherBase, MovieTypeBase):
|
|||||||
addApiView('movie.searcher.try_next', self.tryNextReleaseView, docs = {
|
addApiView('movie.searcher.try_next', self.tryNextReleaseView, docs = {
|
||||||
'desc': 'Marks the snatched results as ignored and try the next best release',
|
'desc': 'Marks the snatched results as ignored and try the next best release',
|
||||||
'params': {
|
'params': {
|
||||||
'id': {'desc': 'The id of the movie'},
|
'media_id': {'desc': 'The id of the media'},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user