Jump to content

USB Media Hard Drives on CentOS Emby Server


Recommended Posts

Posted

I would like the ability use a NTFS USB drive for the Emby server media instead of root - Similar to the manner in which Roku allows one to play moves from an attached NTFS USB terabyte drive (via /media/). There are several problems here, however:

 

1. In order to play media, Emby requires emby ownership of the media resource - However, chown and chattr won't work on the USB drive, which is owned by my local linux account. Example follows:

 

[root@myserver]# ls -l /media/
total n

....

drwx------ 6 miker miker 16384 Dec  4 01:06 MiksanBooks

....

[root@myserver]# chown emby:emby /media/MyBooks/Avenger/
chown: changing ownership of `/media/MyBooks/Avenger/': Operation not permitted
[root@myserver]# cd /media/MiksanBooks/Avenger/
[root@myserver Avenger]# chown emby:emby *
chown: changing ownership of `A Prolouge-The Murder.mp3': Operation not permitted
chown: changing ownership of `Chap 01-The Hard Hat.mp3': Operation not permitted
....

....

[root@myserver Avenger]

NOTE 1: All required ntfs related packages are installed and working - There are no problems copy, deleting, or moving files to and from the drive.

 

2. /media/ is owned by root - one doesn't give servers root access to root folders.

 

3. Most importantly, the Emby web interface does not allow any /media/ folder to be added as a Media Library! The web 'Media Library' function gets as far as /media/, but wipes the entry clean if any folder within /media/ is added.

 

NOTE 2: The user/owner of the /media/ folder is a member of the 'emby' group. Since chown and chattr have problems on /media/ USB drives, at some point in time, Emby will need to go beyond 'emby' folder ownership, and acknowledge the owner of the folder as a member of group emby. Otherwise, we will continue to fill up our root drives with media files.

 

NOTE 3: I never store my movie collection on root - The collection is way too big - Plus it loses the 'portability' advantage of USB drives. Instead the mp4s are on a 2TB drive, which is directly attach to a Roku2/3 and accessed on Roku Media Player. Movies are then added to the /media/ folder as desired. Unfortunately, Roku's MP3 player is, to be kind, inadequate.

 

 

Any hope for using USB drives on Emby? The MP3 handing is great (pause, resume, et Al). Anytime soon?

Please?

 

Posted

In my experience Emby just needs read access to the assets for playback. For files read is enough for directories read+execute of course.

Also can't you try to mount your usb drive under any other directory than media just for testing? You can mount the same volume several times under different mount points.

And last but not least if you are using NTFS try to use the noperm mount option that should help with the permission problem if any.

 

 

Sent from my iPad using Tapatalk

Posted

In my experience Emby just needs read access to the assets for playback. For files read is enough for directories read+execute of course.

Also can't you try to mount your usb drive under any other directory than media just for testing? You can mount the same volume several times under different mount points.

And last but not least if you are using NTFS try to use the noperm mount option that should help with the permission problem if any.

 

 

Sent from my iPad using Tapatalk

 

Well .... A mea culpa, et Al

CentOS (with NTFS compatibilty installed) reads, writes, executes, and deletes from/to my Windows systems and visa/versa (I also have Crossover on my main Linux box).

 

PROBLEM: I copied some audio books to the emby server root default audio book directory - which was a BIG mistake: emby-server service would NOT stay up. Took me several days to figure out what I had done to screww up the emby-server service.

 

I'm back to normal now. I'll copy my audio files somewhere in the home directory and test. TTYL.

Posted

I found that after the latest patches, I no longer have access to the Emby server setup (e.g. the media file source). Where did it go?

Posted

After the recent updates, I can not access the Emby server setup  - So... I cannot access the media libraries location (CentOS 6.7 using a media USB 2TB hard drive). Previously, the USB drive couldn't be accessed - And there's no IP address on a USB drive - Just a problem with Emby not recognizing drive owners, who are a member of the emby group (i.e. the actual file owner of the USB drive files).

 

But what happened to setup?????

Posted

After the recent updates, I can not access the Emby server setup  - So... I cannot access the media libraries location (CentOS 6.7 using a media USB 2TB hard drive). Previously, the USB drive couldn't be accessed - And there's no IP address on a USB drive - Just a problem with Emby not recognizing drive owners, who are a member of the emby group (i.e. the actual file owner of the USB drive files).

 

But what happened to setup?????

 

Hi there. Please see how to report a problem so that we can best help you. Thanks.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...