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

Rewrite #124

Merged
merged 24 commits into from
Jul 20, 2024
Merged

Rewrite #124

merged 24 commits into from
Jul 20, 2024

Conversation

Radiicall
Copy link
Owner

Jellyfin-RPC rewrite that makes code actually maintainable

this branch is an attempt to decrease the amount of insane technical debt this project has
the crate should focus on interacting with jellyfin, how to handle configs can be left up to the program
Moved button struct from config to jellyfin
Created a RawSession struct so i can have a Session struct without needing to unwrap NowPlayingItem
Added get_image() fn to Session
Added get_buttons() fn to Session
Created imgur file (empty for now)
Added reconnect to Client in case discord rpc disconnects
Added logic to set_activity() fn
Might be some small changes that ive forgot to include around here
Everything should in theory be able to display properly now, next step is to readd the features I originally had
@Radiicall Radiicall merged commit 6c903f7 into main Jul 20, 2024
6 checks passed
@Radiicall Radiicall deleted the refactor branch July 20, 2024 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant