Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add changelog.md #27

Merged
merged 2 commits into from
Dec 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -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)<br>- Updated the `PluginLoader` (v0.3.0)<br>- Changed the backlight in the logs<br>- Transferred some methods to `functions.py`<br>- 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`<br>- Updated README.md<br>- Updated dependencies<br>- Updated class `Log`<br>- Fixed the `NotAContainer` bug<br>- Fixed *CLI* operation<br>- 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<br>- Added more intuitive logging |
11 changes: 4 additions & 7 deletions plugins/RichDiscordStatus/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down Expand Up @@ -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:
Expand All @@ -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