Browse Source

try next release, use media_id

pull/3004/head
Ruud 11 years ago
parent
commit
27e4800ed2
  1. 2
      couchpotato/core/media/movie/_base/static/movie.actions.js
  2. 2
      couchpotato/core/media/movie/searcher.py

2
couchpotato/core/media/movie/_base/static/movie.actions.js

@ -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')
} }
}); });

2
couchpotato/core/media/movie/searcher.py

@ -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'},
}, },
}) })

Loading…
Cancel
Save