Jump to content


Photo
- - - - -

Emby Server for Western Digital NAS


  • Please log in to reply
170 replies to this topic

#1 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 108886 posts
  • Local time: 11:54 AM

Posted 03 June 2018 - 01:08 PM

Installation

Download from the Emby website:

https://emby.media/download



#2 nyplayer OFFLINE  

nyplayer

    Advanced Member

  • Members
  • 443 posts
  • Local time: 08:54 AM

Posted 03 June 2018 - 02:09 PM

Great thanks putting it right up.



#3 nyplayer OFFLINE  

nyplayer

    Advanced Member

  • Members
  • 443 posts
  • Local time: 08:54 AM

Posted 03 June 2018 - 02:27 PM

I tried install both the dl2100 and pr4100 and both failed unable to install app. I used manuall install app on both my nases is there something special that needs to be done?


Edited by nyplayer, 03 June 2018 - 02:31 PM.


#4 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 108886 posts
  • Local time: 11:54 AM

Posted 03 June 2018 - 02:53 PM

What error message did it give?



#5 alucryd OFFLINE  

alucryd

    Advanced Member

  • Members
  • 279 posts
  • Local time: 05:54 PM
  • LocationLille, France

Posted 03 June 2018 - 03:54 PM

What's your model? There's one package for each specific WD models, they won't install on other models.



#6 nyplayer OFFLINE  

nyplayer

    Advanced Member

  • Members
  • 443 posts
  • Local time: 08:54 AM

Posted 03 June 2018 - 04:29 PM

5b1450546ec70_Capture.pngWhat's your model? There's one package for each specific WD models, they won't install on other models.

 

I have both dl2100 and pr4100 niether worked.


Edited by nyplayer, 03 June 2018 - 04:32 PM.


#7 alucryd OFFLINE  

alucryd

    Advanced Member

  • Members
  • 279 posts
  • Local time: 05:54 PM
  • LocationLille, France

Posted 03 June 2018 - 05:14 PM

Could you ssh into either of them and go to /mnt/HD/HD_a2/Nas_Prog ? Is there an emby-server folder? Or is it still inside the _install directory?



#8 Ranger One OFFLINE  

Ranger One

    Member

  • Members
  • 21 posts
  • Local time: 12:54 PM

Posted 03 June 2018 - 05:22 PM

I have the 4TB Model: WDBCTL0040HWT. Are any of those files for my model?

 

Thank's

Dave



#9 nyplayer OFFLINE  

nyplayer

    Advanced Member

  • Members
  • 443 posts
  • Local time: 08:54 AM

Posted 03 June 2018 - 05:30 PM

Could you ssh into either of them and go to /mnt/HD/HD_a2/Nas_Prog ? Is there an emby-server folder? Or is it still inside the _install directory?

 

it is in the _install directory

 

root@MyCloudPR4100 _install # ls
emby-server    module.tar.gz
root@MyCloudPR4100 _install #

 


Edited by nyplayer, 03 June 2018 - 05:32 PM.


#10 tafelpoowt OFFLINE  

tafelpoowt

    Member

  • Members
  • 21 posts
  • Local time: 06:54 PM

Posted 04 June 2018 - 03:14 AM

Thanks for the package.

 

The scripts get these arguments:
 

install.sh /mnt/HD/HD_a2/Nas_Prog/_install /mnt/HD/HD_a2/Nas_Prog    # temporary install dir to Nas_Prog (note it doesn't have emby-server in path)
init.sh /mnt/HD/HD_a2/Nas_Prog/emby-server                           # initialize emby-server: add icon to webdir so it can be 'Enabled' nicely in the webUI
start.sh /mnt/HD/HD_a2/Nas_Prog/emby-server                          # start the server - 'Enable' in the webUI
stop.sh /mnt/HD/HD_a2/Nas_Prog/emby-server                           # stop the server - 'Disable' in the webUI
clean.sh                                                             # clean up symlinks and any other requisites of the package
remove.sh                                                            # remove any leftover pids etc, the emby-server directory gets removed anyway

All code looks good, but I believe the install.sh should copy (cp -r) the data instead of moving.

install.sh

UPLOAD_DIR=$1
NAS_PROG=$2

cp -rf $UPLOAD_DIR $NAS_PROG

Edited by tafelpoowt, 04 June 2018 - 03:23 AM.


#11 alucryd OFFLINE  

alucryd

    Advanced Member

  • Members
  • 279 posts
  • Local time: 05:54 PM
  • LocationLille, France

Posted 04 June 2018 - 03:39 AM

Thanks, I'll try that tonight. mv worked fine on my ex2 ultra though.



#12 tafelpoowt OFFLINE  

tafelpoowt

    Member

  • Members
  • 21 posts
  • Local time: 06:54 PM

Posted 04 June 2018 - 04:37 AM

The configure button in the web UI doesn't work... so it doesn't redirect you to the application page, even when it's running though (http://ipaddress/emby-server works).

This is caused by the use of CenterType in apkg.rc.

 

And the use of AddonUsedPort: 8096 causes the "configure" button to redirect to http://ipaddress:809...rver/index.html which causes

 

 

Unable to find the specified file.

 

So I suggest to leave CenterType and AddonUsedPort empty.

 

Edit: minor suggestion - plex saves the appdata in /mnt/HD/HD_a2/Nas_Prog/plex_config and then symlinks that dir to /mnt/HD/HD_a2/plex_config ... not sure if that really makes sense, but whatever.


Edited by tafelpoowt, 04 June 2018 - 04:45 AM.


#13 nyplayer OFFLINE  

nyplayer

    Advanced Member

  • Members
  • 443 posts
  • Local time: 08:54 AM

Posted 04 June 2018 - 09:42 AM

Are we going to get a new package that correctly copies emby-server ?



#14 tafelpoowt OFFLINE  

tafelpoowt

    Member

  • Members
  • 21 posts
  • Local time: 06:54 PM

Posted 04 June 2018 - 11:35 AM

Here is my version with the proposed changes (available for a few days only)

 

https://tafelpoowt.s...rQC9a3fTTuBQk5f

 

I used the packages in OP, dd to cut off the header (200 bytes) , rename to tar and extract. Made my changes and repackaged.



#15 nyplayer OFFLINE  

nyplayer

    Advanced Member

  • Members
  • 443 posts
  • Local time: 08:54 AM

Posted 04 June 2018 - 11:42 AM

Here is my version with the proposed changes (available for a few days only)

 

https://tafelpoowt.s...rQC9a3fTTuBQk5f

 

I used the packages in OP, dd to cut off the header (200 bytes) , rename to tar and extract. Made my changes and repackaged.

 

Thank You that worked.



#16 nyplayer OFFLINE  

nyplayer

    Advanced Member

  • Members
  • 443 posts
  • Local time: 08:54 AM

Posted 04 June 2018 - 12:15 PM

Great job works great using PR4100... transcoding working ... livetv working. Everything appears to be working … one thing I would like to do is change the ports to 8097 and 8921 but it appears I cannot to test outside access they revert back to defaults..... I want to temporarily keep EMBY running on my PC for now.

 

Edit

Ignore the part on the ports figured it out.

 

 

Remote transcoding working QuickSync hardware encoding working on PR4100.


Edited by nyplayer, 04 June 2018 - 12:47 PM.


#17 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 108886 posts
  • Local time: 11:54 AM

Posted 04 June 2018 - 12:58 PM

@tafelpoowt, thanks for helping us figure this out !

 

@nyplayer, thanks for the testing feedback.



#18 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 108886 posts
  • Local time: 11:54 AM

Posted 04 June 2018 - 05:19 PM

New builds are up in the first post. Thanks everyone.



#19 nyplayer OFFLINE  

nyplayer

    Advanced Member

  • Members
  • 443 posts
  • Local time: 08:54 AM

Posted 04 June 2018 - 05:46 PM

New builds are up in the first post. Thanks everyone.

 

Just a minor thing since I changed the port to 8097 using "configure" in the NAS app it tries to use 8096. 


Edited by nyplayer, 04 June 2018 - 05:50 PM.


#20 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 108886 posts
  • Local time: 11:54 AM

Posted 04 June 2018 - 05:50 PM

 

 

using config in the NAS app

 

What do you mean by this? You have to change it inside of Emby, in order for it to attempt to use a different port. In addition to that, it may require configuration on the NAS side to allow that port.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users