fixed a typo in last commit
This commit is contained in:
parent
eec5350926
commit
0edbba5625
@ -20,6 +20,8 @@
|
||||
* All spelling dictionaries are included by default for the following languages: Russian, English, German, French, italian, Polish, spanish and Turkish. Before, some dictionaries were missing and the spelling checker was failing.
|
||||
* Fixed an error in the default configuration template used for new sessions in the application. This error was making Socializer to fail when loading any conversation buffer.
|
||||
* Fixed an error in the algorithm to detect friends disconnecting from VK. This problem was interrupting the connection with the chat server every time it was happening, thus chat server's connection should be more reliable now.
|
||||
* The audio player should behave better in situations where a song is interrupted. Before, if you pressed "next song" while the currently playing sound was interrupted due to internet connection issues, two or more songs were played at the same time.
|
||||
* The bug reporting feature works normally again.
|
||||
|
||||
### Changes
|
||||
|
||||
|
@ -63,7 +63,7 @@ class audioPlayer(object):
|
||||
if "url" in object and object["url"] =="":
|
||||
pub.sendMessage("notify", message=_("This file could not be played because it is not allowed in your country"))
|
||||
return
|
||||
if self.stream != None and (self.stream.is_playing == True or self.stream.is_stayed == True):
|
||||
if self.stream != None and (self.stream.is_playing == True or self.stream.is_stalled == True):
|
||||
try:
|
||||
self.stream.stop()
|
||||
except BassError:
|
||||
@ -196,7 +196,7 @@ class audioPlayer(object):
|
||||
""" check if the player is already playing a stream. """
|
||||
if self.stream == None:
|
||||
return False
|
||||
if self.stream != None and self.stream.is_playing == False and self.stream.is_stayed == False:
|
||||
if self.stream != None and self.stream.is_playing == False and self.stream.is_stalled == False:
|
||||
return False
|
||||
else:
|
||||
return True
|
Loading…
Reference in New Issue
Block a user