Skip to content

Commit

Permalink
Fix movie list (empty list bug)
Browse files Browse the repository at this point in the history
  • Loading branch information
skaman committed Feb 18, 2012
1 parent e1a0fb9 commit c74cffa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plugin/controllers/models/movies.py
Expand Up @@ -25,6 +25,9 @@ def getMovieList(directory=None, tag=None):
if directory == None:
directory = resolveFilename(SCOPE_HDD)

if directory[-1] != "/":
directory += "/"

root = eServiceReference("2:0:1:0:0:0:0:0:0:0:" + directory)

for bookmark in config.movielist.videodirs.value:
Expand Down

0 comments on commit c74cffa

Please sign in to comment.