Xplorer4x4 1 Posted June 2 Posted June 2 So I spend 95% of my time in Linux, but for that other 5% of the time, I was wondering if it would be possible to link my database from Linux to Windows to actively reflect which videos have or have not been watched. Using the Win-BTRFS driver in Windows eliminates file system differences/issues. Would it be possible to create a shortcut in Windows that points to library.db or would I need to create shortcuts to other files as well? Would this even work? Thanks!
pwhodges 2066 Posted June 2 Posted June 2 If you have a single server, there is nothing to do wherever it is. Are you, then, running multiple servers, and wanting to share user information (which is where the watch information is stored) between them? Paul
Xplorer4x4 1 Posted June 2 Author Posted June 2 Well, the linux server isn't going to run under Windows and vice versa, so it would be 2 different servers. So yes, I want to she the infromation.
Jdiesel 1451 Posted June 2 Posted June 2 How about using something like WatchState? https://github.com/arabcoders/watchstate
howllor 33 Posted June 2 Posted June 2 But why don't you just use a client on the Linux system and connect to the envy server on the Windows machine?
Xplorer4x4 1 Posted June 2 Author Posted June 2 (edited) 34 minutes ago, howllor said: But why don't you just use a client on the Linux system and connect to the envy server on the Windows machine? Same machine, just a dual boot system but still requires 2 different servers per say to function, as the Windows server won't run on Linux (natively) and vice versa. Edited June 2 by Xplorer4x4
Xplorer4x4 1 Posted June 2 Author Posted June 2 45 minutes ago, Jdiesel said: How about using something like WatchState? https://github.com/arabcoders/watchstate Hmm this doesn't sound like this is what I need but maybe I am misunderstanding its purpose. Wouldn't the Docker environment have to be running at all times? So if I shut down Linux/Docker, Windows isn't going to know what has or hasn't been watched, and what is watched in Windows, won't be fed back to linux.. Thanks for the suggestion, but did I misunderstand the tools purpouse here?
howllor 33 Posted June 2 Posted June 2 13 minutes ago, Xplorer4x4 said: Same machine, just a dual boot system but still requires 2 different servers per say to function, as the Windows server won't run on Linux (natively) and vice versa. Okay that makes sense. I have no suggestions on how to solve it though.
Xplorer4x4 1 Posted June 2 Author Posted June 2 Just now, howllor said: Okay that makes sense. I have no suggestions on how to solve it though. Thanks for trying; no thoughts on crosslinking the library.db?
howllor 33 Posted June 2 Posted June 2 Maybe either a (third) shared partition, or using an external drive that both the Linux and windows system can access?
Xplorer4x4 1 Posted June 2 Author Posted June 2 I have an external drive (well, and an SD card) that would be perfect for that. I guess I would just point all the files there rather than the default dir?
howllor 33 Posted June 2 Posted June 2 In theory, yes. But I think someone who knows more about the structure of emby on win Vs linux needs to weigh in on if it's doable.
pwhodges 2066 Posted June 2 Posted June 2 (edited) Is there a way to set up the same docker (running Emby) to run in either Linux or Windows? I don't know how complete or compatible the Windows docker system is. When I googled "running same docker alternately in either windows or linux" the AI response gave detailed (and rather complex) instructions - but the links alongside the instructions didn't seem to answer the same question. Paul Edited June 2 by pwhodges
Lessaj 506 Posted June 2 Posted June 2 What do you do for the 5% of the time in Windows that you still need to dual boot? Could the same be done in a virtual machine of Windows instead? I run a primarily Linux setup with a Windows VM for gaming - only certain games don't work due to anti-cheat but that's not an issue for me.
Xplorer4x4 1 Posted June 3 Author Posted June 3 3 hours ago, pwhodges said: Is there a way to set up the same docker (running Emby) to run in either Linux or Windows? I don't know how complete or compatible the Windows docker system is. When I googled "running same docker alternately in either windows or linux" the AI response gave detailed (and rather complex) instructions - but the links alongside the instructions didn't seem to answer the same question. Paul That sounds doable possibly, but at a glance I think it would cost me, and I don't have a dime to spare atm, but you did give me an idea. I might be able to run a really light weight linux in a VM off a spare partition if I kill my RAID0 SSD and use them independently. I just don't know that an sd card could handle a full on Linux distro unless it was super lightweight, similar to do Docker. Normally I stay away from Docker just because I can achieve everything I need without adding the extra overhead. 2 hours ago, Lessaj said: What do you do for the 5% of the time in Windows that you still need to dual boot? Could the same be done in a virtual machine of Windows instead? I run a primarily Linux setup with a Windows VM for gaming - only certain games don't work due to anti-cheat but that's not an issue for me. Just 2 things. Occasionally I get a stubborn game that won't install via Lutris, so I install it in Windows and copy it over to Linux. In that case, I am not so concerned, as I am in and out. However, I'd like to get back to playing GTA V. Both the Legacy and Enhanced versions run fine under CachyOS, but the very popular LCPDFR Mod currently is only fully functional under the legacy edition, and even then it's a real pain to get it working under Linux in general, so I would like to be able to have the TV on as well.
Lessaj 506 Posted June 3 Posted June 3 I'm not sure if you could re-use the Docker storage between a linux Docker environment and a Windows Docker Desktop either unfortunately, even if it was on an NTFS partition... Depending on your hardware, having a VM for gaming might be a solution, but you'd need a 2nd GPU either dedicated or iGPU. I've been doing that for probably about 8 years now. I can still boot Windows natively if I want, and I can still game on Linux if I want, though the Windows VM has the better GPU. Otherwise I guess you'd need to run Emby server on another device dedicated for it.
Luke 42555 Posted Wednesday at 09:30 PM Posted Wednesday at 09:30 PM You can use the backup feature to import watch data for users. It is not a live sync but it's the closest thing available. 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now