Browse Source

Add movie to list, fix.

pull/358/merge
Ruud 13 years ago
parent
commit
f6afd4a0a2
  1. 2
      couchpotato/core/plugins/movie/main.py
  2. 4
      couchpotato/core/plugins/movie/static/list.js

2
couchpotato/core/plugins/movie/main.py

@ -302,7 +302,7 @@ class MoviePlugin(Plugin):
onComplete = self.createOnComplete(m.id)
fireEventAsync('library.update', params.get('identifier'), default_title = params.get('title', ''), on_complete = onComplete)
do_search = False
search_after = False
elif force_readd:
# Clean snatched history
for release in m.releases:

4
couchpotato/core/plugins/movie/static/list.js

@ -10,7 +10,7 @@ var MovieList = new Class({
},
movies: [],
movies_added: [],
movies_added: {},
letters: {},
filter: {
'startswith': null,
@ -106,7 +106,7 @@ var MovieList = new Class({
m.fireEvent('injected');
self.movies.include(m)
self.movies_added.include(movie.id);
self.movies_added[movie.id] = true;
},
createNavigation: function(){

Loading…
Cancel
Save