XBMC Metadata fixes
This commit is contained in:
1 parent
780fb35b45
commit
154a5dc099
10 files changed
+91
-73
No files matched your search
@@ -8,7 +8,7 @@ from couchpotato.core.plugins.base import Plugin
|
||||
from couchpotato.core.settings.model import Movie, Library, LibraryTitle
|
||||
from couchpotato.environment import Env
|
||||
from sqlalchemy.orm import joinedload_all
|
||||
from sqlalchemy.sql.expression import func, or_, asc, not_
|
||||
from sqlalchemy.sql.expression import or_, asc, not_
|
||||
from string import ascii_lowercase
|
||||
from urllib import urlencode
|
||||
|
||||
@@ -43,7 +43,7 @@ class MoviePlugin(Plugin):
|
||||
def get(self, movie_id):
|
||||
|
||||
db = get_session()
|
||||
m = db.query(Movie).filter_by(movie_id = movie_id).first()
|
||||
m = db.query(Movie).filter_by(id = movie_id).first()
|
||||
|
||||
return m.to_dict(self.default_dict)
|
||||
|
||||
|
||||
@@ -211,7 +211,7 @@ Block.Search.Item = new Class({
|
||||
if(info.actors){
|
||||
Object.each(info.actors, function(actor){
|
||||
new Element('span', {
|
||||
'text': actor.name
|
||||
'text': actor
|
||||
}).inject(self.starring)
|
||||
})
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user