10000 Fix: Improved compliance to the XDG Base Directory Specification #46 by throwaway-lmao · Pull Request #47 · dhonus/jellyfin-tui · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix: Improved compliance to the XDG Base Directory Specification #46 #47

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

Merged
merged 3 commits into from
Jun 16, 2025

Conversation

throwaway-lmao
Copy link

This should move everything from $XDG_CACHE_HOME into $XDG_DATA_HOME. I'm not experienced with Rust, so I'm not confident the actual migration code is implemented properly; I tried to check the cases of no database, database in cache, and database in data, and they seemed to work, but do make sure that works.

@throwaway-lmao
Copy link
Author

Actually, I left track download fragment files in the cache, but I think I forgot to create the parent directory first. Let me fix that before merging.

@throwaway-lmao
Copy link
Author

Fixed that.

Oh yeah, and this should close #46.

@dhonus
Copy link
Owner
dhonus commented Jun 16, 2025

Yeah this looks good to me :) I like the part file in cache. It runs fine on my machines too. I'll merge this into a dev branch for now. Thank you for the work! And uh sorry for losing your downloads haha

@dhonus dhonus changed the base branch from main to fix/v1.2.1 June 16, 2025 19:20
@dhonus dhonus merged commit 0a3b5c2 into dhonus:fix/v1.2.1 Jun 16, 2025
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.

2 participants
0