diff --git a/changelog.md b/changelog.md
new file mode 100644
index 0000000..01d864f
--- /dev/null
+++ b/changelog.md
@@ -0,0 +1,11 @@
+# Changelog
+## Versions
+
+| Version | Date | Tag | Changelog |
+| ------- | ---- | --- | --------- |
+| [v0.7.5](https://github.com/romanin-rf/SeaPlayer/releases/tag/v0.7.5) | 03.12.2023 | **STABLE** | - Updated the `Rich Discord Status` plugin (v0.2.1)
- Updated the `PluginLoader` (v0.3.0)
- Changed the backlight in the logs
- Transferred some methods to `functions.py`
- Removed excess (remaining from other updates) |
+| [v0.7.4](https://github.com/romanin-rf/SeaPlayer/releases/tag/v0.7.4) | 01.12.2023 | **HOTFIX** | - Correction of errors in custom modules |
+| [v0.7.3](https://github.com/romanin-rf/SeaPlayer/releases/tag/v0.7.3) | 01.12.2023 | **DEPRECATED** | - Added log on loading of `SeaPlayer`
- Updated README.md
- Updated dependencies
- Updated class `Log`
- Fixed the `NotAContainer` bug
- Fixed *CLI* operation
- Fixed the `pip install` startup error |
+| [v0.7.2](https://github.com/romanin-rf/SeaPlayer/releases/tag/v0.7.2) | 29.11.2023 | **DEPRECATED** | - Added small optimizations |
+| [v0.7.1](https://github.com/romanin-rf/SeaPlayer/releases/tag/v0.7.1.post1) | 28.11.2023 | **DEPRECATED** | - Optimization due to more transplanting to a newer version of `playsoundsimple` |
+| [v0.7.0](https://github.com/romanin-rf/SeaPlayer/releases/tag/v0.7.0) | 28.11.2023 | **DEPRECATED** | - Added installation of modules from a file `requirements.txt` in the folder of any plugin, if there is one
- Added more intuitive logging |
diff --git a/plugins/RichDiscordStatus/__init__.py b/plugins/RichDiscordStatus/__init__.py
index c92e5c1..fddeff8 100644
--- a/plugins/RichDiscordStatus/__init__.py
+++ b/plugins/RichDiscordStatus/__init__.py
@@ -2,12 +2,9 @@
import time
import asyncio
import nest_asyncio
-from pypresence import Presence, DiscordNotFound
+from pypresence import Presence, DiscordNotFound, PipeClosed, ResponseTimeout
from seaplayer.plug import PluginBase
-# ! Vars
-AD_ENABLE = True
-
# ! Initialization
nest_asyncio.apply()
@@ -47,7 +44,7 @@ async def __status__(self) -> None:
while self.running:
rpc.update(**self.get_status())
await asyncio.sleep(1)
- except DiscordNotFound:
+ except (DiscordNotFound, PipeClosed, ResponseTimeout):
await asyncio.sleep(3)
def on_init(self) -> None:
@@ -62,12 +59,12 @@ async def on_compose(self):
self.__status__,
"Rich Discord Status",
"seaplayer.plugins.discord.status",
- thread=True,
- exit_on_error=False
+ thread=True
)
async def on_quit(self) -> None:
self.running = False
+ await self.thread.wait()
# ! Registration Plugin Class
plugin_main = RichDiscordStatus
\ No newline at end of file