Jump to content

Synology Setup


Luke
 Share

Recommended Posts

I installed Emby for the first time on my DS415+, I have not done the update part of the front page installation.

I am using this with Kodi running on my Nvidia Shield TV.

Two things I noticed, it runs library updates constantly. I was expecting to see the popup on Kodi when something new was added to the library folders as happens with the Watchdog add on (this add on was disabled). Any time I accessed the media to watch anything, as soon as I stopped, the Emby would scan the library again. It would then happen at other time frequently when I could not associate a reason for it to occur. Is there a setting I have missed that controls the frequency of these scans?

 

Secondly, and a greater concern. It causes the RAM (I have 2GB) usage to double. Traditionally when I watch a program, both Mono and Python use about 120MB each. Emby is causing another process of Mono to run using RAM of about 240-260MB.

Here are some screen shots to show usage and the effect of Emby and you can clearly see when I disable it. These were all taken playing back the same media file at rouchly the same time frame.

I installed Emby for the first time on my DS415+, I have not done the update part of the front page installation.

I am using this with Kodi running on my Nvidia Shield TV.

Two things I noticed, it runs library updates constantly. I was expecting to see the popup on Kodi when something new was added to the library folders as happens with the Watchdog add on (this add on was disabled). Any time I accessed the media to watch anything, as soon as I stopped, the Emby would scan the library again. It would then happen at other time frequently when I could not associate a reason for it to occur. Is there a setting I have missed that controls the frequency of these scans?

 

Secondly, and a greater concern. It causes the RAM (I have 2GB) usage to double. Traditionally when I watch a program, both Mono and Python use about 120MB each. Emby is causing another process of Mono to run using RAM of about 240-260MB.

Here are some screen shots to show usage and the effect of Emby and you can clearly see when I disable it. These were all taken playing back the same media file at rouchly the same time frame.

 

Shield with Kodi (no Emby)

 

Il2d98b.jpg

 

Shield Kodi with Emby

 

jc5LQyH.png

 

Shield Kodi Emby being turned off.

 

AqCxwln.png

Link to comment
Share on other sites

Ok, yea that's getting a little old now. That version is from a few months ago and there have been a lot of improvements since then regarding library scanning. i'll see if i can get the package builder to build the latest.

  • Like 1
Link to comment
Share on other sites

 

2. Download and install winSCP http://winscp.net/eng/download.php login as root to synology

 

 

I had trouble at this point. It might be worthwhile adding that you first need to enable SSH from within DSM5.

To do this, go to Control Panel -> Terminal and SNMP -> Terminal tab and tick the "Enable SSH Service" box. Click apply.

Edited by 66LUX
  • Like 1
Link to comment
Share on other sites

AdrianPal

Safari, or Chrome...

In fact, I have finally been able to see the page, which tells me to choose the language... But the language list doesn't load.... It's EXTREMLY slow.... EXTREMLY !...

Link to comment
Share on other sites

fodbrothers

Is there also a ffmpeg package for Alpine architecture (DS715) or can i use package provided by SynoCommunity? 

hi i used the x64 which installed ok but I have an issue play anything. if you find it works fine for you or have the same issue please let me know

Link to comment
Share on other sites

Darkjeje

Hello,

 

What should I do to update Emby ?
My version is 3.0.5597.1 Evansport .
Should I follow this :

 

Updating

 

1. Go to https://github.com/M...e/master/Server and download MediaBrowser.Mono.zip then extract into a folder

2. Download and install winSCP http://winscp.net/eng/download.php login as root to synology

3. Make sure the Emby service is stopped

4. Copy the contents of the MediaBrowser.Mono folder into /volume1/@appstore/emby/share/emby (or wherever it has been installed, the contents of your MediaBrowser.Mono.zip should look like the contents of the folder you are copying into)

5. At this point (till there is a new build) you need to edit /volume1/@appstore/emby/chare/emby/ImageMagicSharp.dll.config

Change the Q8 to Q16 so the thumbnails work.

 

<configuration>
  <dllmap dll="CORE_RL_Wand_.dll" target="libMagickWand-6.Q16.so" os="linux"/>
  <dllmap dll="CORE_RL_Wand_.dll" target="libMagickWand-6.so" os="freebsd,openbsd,netbsd"/>
  <dllmap dll="CORE_RL_Wand_.dll" target="./MediaInfo/osx/libmediainfo.dylib" os="osx"/>
</configuration>

 

5. Start Emby

 

This is the procedure to update automatically Emby ?

Thanks for your help.

 

Jérémy

Link to comment
Share on other sites

schumi2004

hi i used the x64 which installed ok but I have an issue play anything. if you find it works fine for you or have the same issue please let me know

That wouldn't make sense imo. Since there is a emby package for alpine. On the other hand , there isn't a emby package for x64  :huh:

Link to comment
Share on other sites

AlwinHummels

Do you know if there will also be a updated ffmpeg package?

AFAIK not but maybe Cytec will pick this up when he have some spare time ;-)

https://github.com/SynoCommunity/spksrc/issues/1346#issuecomment-144200827 and https://github.com/SynoCommunity/spksrc/pull/1673

Edited by AlwinHummels
Link to comment
Share on other sites

schumi2004

AFAIK not but maybe Cytec will pick this up when he have some spare time ;-)

https://github.com/SynoCommunity/spksrc/issues/1346#issuecomment-144200827 and https://github.com/SynoCommunity/spksrc/pull/1673

Thanks, monitoring pages now.

Meanwhile i'll just try to compile ffmpeg myself and hopefully it won't throw errors ;)

 

/edit

Okay, no more errors after fixing and applying patch, now the compiling part.

 

Alpine ffmpeg package [not yet tested] https://www.dropbox.com/s/200nwxqnfsrxv1g/ffmpeg_alpine-5.2_2.6-3.spk?dl=0

 

/edit2:

Almost there for 5.1 toolchain, if someone can give me a hint on what is going on? (above is 5.2)

 

CC libavdevice/v4l2.o

CC libavdevice/v4l2enc.o

AR libavdevice/libavdevice.a

/home/ubuntu/github/spksrc/toolchains/syno-alpine-5.1/work/arm-cortex_a15-linux-gnueabi/bin/arm-cortex_a15-linux-gnueabi-ranlib: '-D': No such file

make[3]: *** [libavdevice/libavdevice.a] Error 1

make[3]: Leaving directory `/home/openelec/github/spksrc/spk/ffmpeg/work-alpine-5.1/ffmpeg-2.6'

make[2]: *** [compile_target] Error 2

make[2]: Leaving directory `/home/openelec/github/spksrc/cross/ffmpeg'

make[1]: *** [depend_target] Error 2

make[1]: Leaving directory `/home/openelec/github/spksrc/spk/ffmpeg'

make: [arch-alpine-5.1] Error 2 (ignored)

Edited by schumi2004
Link to comment
Share on other sites

Hi all,

 

I successfully have emby server up on my DS2413+ and currently am scanning my libraries.  I am using Emby Server 3.0.574.5 and installed the x64 version of ffmpeg.

 

One installation instruction item that I'd like to point out - on the  initial instructions from 2015-06-30 the address for cytec.us is incorrect as it is an https site, not http.

 

I tried playing a Blu-Ray movie that I have on the server (while the library is being scanned) and the movie pegged the CPU utilization and so the playback was halting - 5 seconds of play and 15 sec of pause.

 

I wonder if I have this installed correctly...

 

The movie library is relatively large - and the scan is about 55% complete after 30-40 minutes.

 

Thanks in advance!

 

Lon

 

Hmm... I'm watching the DSM resource monitor and the library scan alone is pinning the CPU at 99% and the memory use is also high.

Edited by Lonald
Link to comment
Share on other sites

Hey guys! Thanks for this - i've hit a bit of a snag.

 

  1. Install ImageMagick from Package center --> Community Tab

     

    is not available in the package center. 

Edited by bry
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...