|
@@ -56,7 +56,7 @@ class __PlayServer__(object):
|
|
self.__play_progress__(__episode_id__)
|
|
self.__play_progress__(__episode_id__)
|
|
|
|
|
|
def __play_progress__(self, __episode_id__):
|
|
def __play_progress__(self, __episode_id__):
|
|
- if not __episode_id__:
|
|
|
|
|
|
+ if not __episode_id__ or not (__episode_id__ in self._times):
|
|
return
|
|
return
|
|
|
|
|
|
current = self._times[__episode_id__]
|
|
current = self._times[__episode_id__]
|
|
@@ -68,7 +68,8 @@ class __PlayServer__(object):
|
|
|
|
|
|
def __play_end__(self, __episode_id__):
|
|
def __play_end__(self, __episode_id__):
|
|
self._started = False
|
|
self._started = False
|
|
- if not __episode_id__:
|
|
|
|
|
|
+
|
|
|
|
+ if not __episode_id__ or not (__episode_id__ in self._times):
|
|
return
|
|
return
|
|
|
|
|
|
current = self._times[__episode_id__]
|
|
current = self._times[__episode_id__]
|