X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/fe813cde98c0c550137b47dd7a75ec2d4d9e6f34..b6f7217e7bdfe86a3b3d1da4d43fcb357b94c789:/lib/python/Components/MovieList.py diff --git a/lib/python/Components/MovieList.py b/lib/python/Components/MovieList.py index 003302b3..5b07791f 100644 --- a/lib/python/Components/MovieList.py +++ b/lib/python/Components/MovieList.py @@ -83,9 +83,8 @@ class MovieList(HTMLComponent, GUIComponent): movieList = [ ] while 1: - s = eServiceReference() - if list.getNext(s): - del s + s = list.getNext() + if not s.valid(): del list break movieList.append(s)