this post was submitted on 09 Jun 2024
6 points (87.5% liked)

Nix / NixOS

1758 readers
51 users here now

Main links

Videos

founded 1 year ago
MODERATORS
 

I download and store music in my home folder for my desktop user, but also would like to share it with my jellyfin server, but obviously I cannot select a folder from my home folder as a library folder.

Is there any simple and clean way to make this folder available on a server?

all 7 comments
sorted by: hot top controversial new old
[–] Hovel@lemmy.world 6 points 5 months ago (1 children)

Hey there. LocalSend or SyncThing might be what you are looking for. Cheers.

[–] NationProtons@sh.itjust.works 1 points 5 months ago

I'm already using LocalSend and Syncthing to transfer files between devices (they work great!) But this was more meant as a question how to share files between the jellyfin user and my own local user on the same device. I want to avoid copying the files with syncthing or rsync.

I suppose the best option is to make a new folder somewhere on my computer and set the ownership to a user group. Then put my local user and the jellyfin user in that group so they can both access this folder.

And possibly symlink the folder to my home folder for easy access.

But I feel like I'm making it more complicated than it could be.

[–] mlaga97@lemmy.mlaga97.space 1 points 5 months ago (1 children)

You could potentially download to a mounted share drive via the desktop.

That is to say, set up an SMB server on the NAS and when you download music on the desktop, choose the SMB share as the download location.

It's sorta goofy, but your LAN speed is almost certainly at least twice your internet speed.

[–] mlaga97@lemmy.mlaga97.space 1 points 5 months ago

From some of the other comments, it seems like maybe the jellyfin server might be running on the desktop PC, in which case you can set the file permissions to be readable/writable by a group that both you and the jellyfin user are in.

another option is to archive/zip the folder,

  • then sending/sharing the archive via Kdeconnect

configuration.nix:

  environment.systemPackages = [
    pkgs.libsForQt5.kdeconnect-kde
  ];
[–] huskypenguin@sh.itjust.works 1 points 5 months ago

I just came across Expanddrive. I haven't used it, but it looks amazing.