From e25fbb35dc47bdfbbf8d610c61e2a0cc61fdd3c1 Mon Sep 17 00:00:00 2001 From: Thomas Adamcik Date: Sat, 4 Jun 2011 00:14:17 +0200 Subject: [PATCH] Note why get_state is needed --- mopidy/scanner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mopidy/scanner.py b/mopidy/scanner.py index 695cda27..c3eda9ae 100644 --- a/mopidy/scanner.py +++ b/mopidy/scanner.py @@ -96,7 +96,7 @@ class Scanner(object): self.next_uri() def get_duration(self): - self.pipe.get_state() + self.pipe.get_state() # Block untill state change is done. try: return self.pipe.query_duration( gst.FORMAT_TIME, None)[0] // gst.MSECOND