this post was submitted on 30 Jul 2024
9 points (84.6% liked)

Plex

3996 readers
1 users here now

A community for discussing Plex Media Server. Plex Media Server is a smart software that makes playing movies, tv shows, and other media on your computer simple.

Ask questions, get support, and be part of the community here on Lemmy!

Join the c/Plex community on Matrix!

Rules

Rule 1 - Don't be a dick

Don't be a dick. This includes any kind of trolling, baiting, etc. Bigotry may result in an instant permaban.


Rule 2 - No misleading or non-descriptive titles

No misleading or non-descriptive titles. Try to be brief but detailed.


Rule 3 - Keep post and comments relevant

Posts must be related to Plex and Plex-related products, apps. etc. Try to keep comments relevant to the parent comment and to the post.


Rule 4 - Keep discussions of "media aqcuistion" limited to means and methods only.

Discussions regarding media acquisition should be limited to the "how" not the "what", as this is not the place to discuss piracy of specific media. There are other communities for that, and we don't want to get this community defederated from instances where it's a forbidden topic. Posts/comments discussing specific acts of piracy ("How do I find X show?" or "Where can I download Y film?")will be removed. For further clarification see this post


Rule 5 - No asking / offering Plex shares.

No asking / offering Plex shares. There are other communities for that.


Rule 6 - No low-effort / spam / meme posts

No low-effort / meme posts. These are considered spam, and will be removed. Repeat offenses may result in a ban.


Rule 7 - No referral / self-promotion / affiliate links, personal voting / campaigning / funding, or selling posts

No referral / self-promotion / affiliate links, personal voting / campaigning / funding, or selling posts. These are considered spam, and will be removed. Repeat offenses may result in a ban.


Useful Resources


^This^ ^is^ ^a^ ^community^ ^page^ ^and^ ^is^ ^not^ ^affiliated^ ^with^ ^Plex,^ ^Inc.^ ^in^ ^any^ ^way.^

founded 1 year ago
MODERATORS
 

I followed the trash guide and have sonaar and sabnzbd working brilliantly together in portainer.

My plex media folders when I was on win11 were on external disks. After moving to ubuntu I can find them under /media//....

Plex is able to read from them, so it was quick to rebuild the library. My question is, how can I give sonarr access to them? I want to be able to import them and have sonarr able to write to them (when I download episodes).

Is there a clever way to put them into the /data structure that I followed in the trash guide?

Thanks!

top 6 comments
sorted by: hot top controversial new old
[–] friend_of_satan@lemmy.world 3 points 3 months ago* (last edited 3 months ago)

The feature you're looking for is called bind mounts. https://docs.docker.com/storage/bind-mounts/

If I understand what you want to do, it is 100% possible, and I'm doing almost the exact same thing with my Plex.

[–] ArbiterXero@lemmy.world 2 points 3 months ago (1 children)

If you spend a little extra time and create a docker compose file, you’ll save yourself in the long run

[–] assassin6@lemmy.dbzer0.com 1 points 3 months ago

Lol I will. If only you knew how long I have spent getting this right so far. But worth it, it's working perfectly at the moment .

[–] facow@hexbear.net 1 points 3 months ago* (last edited 3 months ago) (1 children)

Take a look at the docker-compose example in your link

volumes:

 - /media/<your folder on host machine>:/<location you want to mount to inside docker container>
[–] assassin6@lemmy.dbzer0.com 1 points 3 months ago* (last edited 3 months ago) (1 children)

That's great, thank you, will get on it tomorrow. Will I need to change permissions on the media folders?

[–] facow@hexbear.net 1 points 3 months ago

Potentially. It'll all depend on the permissions in the host (they're inherited iirc) and the user you're running your docker container as. I think if I remember correctly I made them 775 and all of the video stack related programs shared a group