How to set up emby media server

[zombtux@manjaro ~]$ ls /run/media && ls /run/media/*
zombtux
a80b6f7e-3b31-4610-ab6b-cbb6aba371cf
[zombtux@manjaro ~]$

Yeah … I think what you should probably do is mount it anyways since its always going to be connected.
In /etc/fstab you need to add line

UUID=a80b6f7e-3b31-4610-ab6b-cbb6aba371cf      	/mnt/storage 	ext4      	defaults,noatime	0 0

So yours will look like this:

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a device; this may
# be used with UUID= as a more robust way to name devices that works even if
# disks are added and removed. See fstab(5).
#
# <file system>             <mount point>  <type>  <options>  <dump>  <pass>
UUID=9A41-1D82                            /boot/efi      vfat    umask=0077 0 2
UUID=f7524506-676d-4607-9feb-e433b8dbba62 /              ext4    defaults,noatime 0 1
UUID=03963560-e379-41f8-b704-ed66e7e3df83 swap           swap    defaults,noatime 0 2
UUID=a80b6f7e-3b31-4610-ab6b-cbb6aba371cf /mnt/storage   ext4    defaults,noatime 0 0

Reboot and tell me if you see it mounted as /mnt/storage

When i try enter the first line have error message no file or no folder in this type

What do you mean?
I didnt provide any commands … it was a line you need to add to a file…
In order to edit the file … just open it with kate.
Or you can do it in the terminal:

sudo nano /etc/fstab

ok i have past in terminal what key for save ?

Huh?
You mean to exit nano? Its Ctrl+X

ok i reboot

ls /mnt/
ls /mnt/storage/

after reboot i got this

[zombtux@manjaro ~]$ ls /mnt/
storage
[zombtux@manjaro ~]$ ls /mnt/storage/
Emby  lost+found
[zombtux@manjaro ~]$

Cool.
Can you now access the folder using emby in browser ?
(by navigating to /mnt/storage/Emby)

YES :smiley:

with your command we have change location ? now is in mnt not in run/media ?

We changed where it mounts. Now that partition will always mount to /mnt/storage
and we created the emby folder with the correct permissions

Alright… I am going to modify my first ‘roundup’ instructions here.

How to use a secondary drive or partition as an emby media library:

First install and enable emby media server:

sudo pacman -S emby-server
systemctl enable emby-server --now

Now edit /etc/fstab to mount your external partition. We will use /mnt/storage.
Find your storage drive/partition UUID with

lsblk -f

Then add line (using your own UUID and filesystem format)

UUID=a80b6f7e-3b31-4610-ab6b-cbb6aba371cf      	/mnt/storage 	ext4      	defaults,noatime	0 0`

Then we will create our emby library and give emby permissions

sudo mkdir /mnt/storage/emby-library
sudo chown emby:emby /mnt/storage/emby-library

Then browse to http://localhost:8096 and set up your things.

1 Like

i drop my movie in same place on my hdd right ?

I am not entirely sure what you mean.
If you select that directory for emby to use … then thats its library.
(as in where the movies/files/whatever go I assume)

ok its just emby dont view my movie i need give access to each movie or ?

I dont think so.
How are you adding them?
(again … I have never used emby … I dont know if you use the application itself to add them … or you drop them in that folder … or …)

ok emby have scan my movie now thx verry much cscs verry apreciate

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.