mirror of
https://github.com/RafaelSolVargas/Vulkan.git
synced 2025-10-29 16:57:23 +00:00
Adding a verification to error when playing song
This commit is contained in:
@@ -157,6 +157,8 @@ class PlayerProcess(Process):
|
|||||||
self.__playerLock.release()
|
self.__playerLock.release()
|
||||||
|
|
||||||
def __playNext(self, error) -> None:
|
def __playNext(self, error) -> None:
|
||||||
|
if error is not None:
|
||||||
|
print(f'[ERROR PLAYING SONG] -> {error}')
|
||||||
with self.__playlistLock:
|
with self.__playlistLock:
|
||||||
with self.__playerLock:
|
with self.__playerLock:
|
||||||
if self.__forceStop: # If it's forced to stop player
|
if self.__forceStop: # If it's forced to stop player
|
||||||
|
|||||||
Reference in New Issue
Block a user