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
plex: use buildFHSUserEnv; update to 1.13.9.5439 #48506
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This breaks reverse compatibility though, which is why I was hesitant to merge it.
Is it the plugin stuff that is not backward/reverse compatible? I had tried upgrading to your rewritten module, and then removing your changes and Plex was still able to startup normally and had my library contents. Otherwise, I'm not sure I understand the problem. |
I think local SQLite DB is not reverse-compatible, i.e. you will have to relogin. I might be wrong, though. |
I'm not sure I understand why the data would be affected by the module changes. There's two things I can think about:
The database also stores the media metadata. It seemed to work with and without your changes when I tested it - forward and backward. And if there were a login/logout, maybe it was the systemd unit restart (stores cookies in mem?)? If that's the only side effect, it seems small to me. |
Oh, OK, meaning I was wrong about SQLite DB. I thought it's now being stored in a different path. Let's merge then. |
b2bfb9b
to
c7e51fd
Compare
@yegortimoshenko So, I accidentally dropped your fix for the removed options, was trying to recreate it, and now I understand what you're concerned about. I don't really understand how the Plex library plugins work, but it looks like the symlinking of the "skeleton directory" was customizable previously via the Unfortunately, I am less confident that this won't break things if someone was using If it was just as simple as redirecting the entire (Also, if you have a branch with the renamed/removed options, can you repush it? Thanks.) |
Just merged update to 1.13.9.5456 #49715 |
The NixOS options need to be marked as removed, see |
I just ran into #25502, which I think this fixes; anything I can do to help get this merged? |
@andrew-d Some context from my very fuzzy recollection:
Basically, I've been carrying this PR locally for months. I'd love to see it merged as well, but I need someone who uses dataDir option to weigh in, or I need someone with more weight to say that we can merge and deal with consequences later. |
I think this can be closed now that #56565 is merged |
NOTE: Credit for this work and change all goes to @yegortimoshenko who actually did this module rewrite. I've just rebased it.
Motivation for this change
The original motivation is that Plex now downloads plugins at runtime and expects to be able to randomly execute such binaries.
channels/nixos-unstable
)buildFHSUserEnv
rewrite. according to discussion on Airtame 3.1.1 -> 3.3.0 #48505, this is sufficient)Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)