kkppgvr 1 Posted March 25, 2024 Posted March 25, 2024 I have set up an emby server using docker. here is the code : services: emby: image: lscr.io/linuxserver/emby:latest container_name: emby environment: PUID=1000 PGID=1000 TZ=Etc/UTC volumes: /path/to/library:/config /path/to/tvshows:/data/tvshows /path/to/movies:/data/movies /opt/vc/lib:/opt/vc/lib #optional ports: 8096:8096 8920:8920 #optional devices: /dev/dri:/dev/dri #optional /dev/vchiq:/dev/vchiq #optional /dev/video10:/dev/video10 #optional /dev/video11:/dev/video11 #optional /dev/video12:/dev/video12 #optional restart: unless-stopped . I have some movies in my /home/jon/movies directory. while setting up emby, adding new library content type =movies display name =movies folders + (here is the problem) I searched everywere I could't find my home diretory. can someone help me with this please?
Luke 40068 Posted March 25, 2024 Posted March 25, 2024 HI, what do you mean by "your home directory"? Where are you looking for it? 1
kkppgvr 1 Posted March 25, 2024 Author Posted March 25, 2024 I mean I failed to find /home/jon/movies when adding new library. there were lot of directories but i'm unable to find one that have my all movies stored.(I have some movies in my /home/jon/movies directory.)
darkassassin07 619 Posted March 25, 2024 Posted March 25, 2024 Quote /path/to/library:/config /path/to/tvshows:/data/tvshows /path/to/movies:/data/movies Did you actually configure these at all? Using docker, you'll never see your home directory, unless you explicitly map it to the container. Within emby you should see /data/movies and /data/tvshows, but unless you actually have content at the paths '/path/to/movies' and 'path/to/tvshows' they'll be empty. Modify the compose you found to actually match paths on your system, those are just placeholders.... Speaking of which: You're also not using the official emby docker release or compose file, but one provided by lscr.io.... No idea if/when that gets updated. You should be using the releases found at https://hub.docker.com/r/emby/embyserver 1
kkppgvr 1 Posted March 26, 2024 Author Posted March 26, 2024 @darkassassin07 I have the movies in my /home/jon/movies directory. can u please tell me what chages I have to make in these section /path/to/library:/config /path/to/tvshows:/data/tvshows /path/to/movies:/data/movies. like
Solution darkassassin07 619 Posted March 26, 2024 Solution Posted March 26, 2024 The paths on the left side of the colon are paths in the host file system; and the right side are paths in the containers filesystem, ie what emby sees. For emby to see the media that's stored in /home/jon/movies, you'll want the line: - /home/jon/movies:/media/movies In your compose file. Then emby will see those files at the path /media/movies. Within the container: /config is where emby stores its configuration files. Currently you have them stored at /path/to/library on your host. This will function, but is kinda messy. Personally, I'd move them to something like /srv/emby/config, then change that top line to match: - /srv/emby/config:/config 1
kkppgvr 1 Posted March 26, 2024 Author Posted March 26, 2024 darkassassin07 man great. It's worked. Thanks 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