NAS / linux flavours: will it work on my device?

UPDATE: WITH RECENT CODE CHANGES PLEXCONNECT SHOULD NOW WORK ON MOST NAS DEVICES (UNRAID, SYNOLOGY, QNAP, READYNAS, ETC). 

IF YOU MEDIA IS NOT IN ATV COMPATIBLE FORMAT PLEASE CHECK THE PLEX WIKI TO SEE IF IT IS POWERFUL ENOUGH TO TRANSCODE THE MEDIA, IF NOT THEN YOU MAY NEED TO REMUX OR CONVERT YOUR MEDIA IF YOU WISH TO USE THIS SOLUTION.

 

 

 

I would like to try and compile a list of NAS devices and Linux flavours that PlexConnect is working or not working with.

Could you please report your results here (if you are having issues with your device please troubleshoot them in a separate thread first or your post will be deleted to keep the thread clean). Hopefully it will help the developers see where there are issues.

 

Please include where relevant:

  1. Device and model number 
  2. OS/firmware (include version number)
  3. Any build to order options e.g. where there is a choice of CPU
  4. Is the NAS capable of transcoding?
  5. Is the NAS capable of direct streaming?
  6. Anything special you had to do to get it running (e.g. change web management port)
  7. Any error messages (only after troubleshooting the issue in another thread)

Hi, I tried to run the script on my Synology 712+ NAS (python version 2.7.3-011) but unfortunately it didn't work:

PlexConnect : ***
PlexConnect : PlexConnect
PlexConnect : Press ENTER to shut down.
PlexConnect : ***
Traceback (most recent call last):
  File "./PlexConnect.py", line 36, in
    cmd_DNSServer = Queue()
  File "/usr/local/lib/python2.7/multiprocessing/__init__.py", line 218, in Queue
    return Queue(maxsize)
  File "/usr/local/lib/python2.7/multiprocessing/queues.py", line 63, in __init__
    self._rlock = Lock()
  File "/usr/local/lib/python2.7/multiprocessing/synchronize.py", line 147, in __init__
    SemLock.__init__(self, SEMAPHORE, 1, 1)
  File "/usr/local/lib/python2.7/multiprocessing/synchronize.py", line 75, in __init__
    sl = self._semlock = _multiprocessing.SemLock(kind, value, maxvalue)
OSError: [Errno 38] Function not implemented

Thanks for the info, it seems to be a common error on some Synology NAS devices.

Hi,

Running a Synology RS812+, all the latest updates, and using the synocommunity version of Python with no luck.

The output when I try is:

PlexConnect : ***
PlexConnect : PlexConnect
PlexConnect : Press ENTER to shut down.
PlexConnect : ***
Traceback (most recent call last):
  File "/volume1/PlexConnect/PlexConnect.py", line 36, in 
    cmd_DNSServer = Queue()
  File "/volume1/@appstore/python/lib/python2.7/multiprocessing/__init__.py", line 218, in Queue
    return Queue(maxsize)
  File "/volume1/@appstore/python/lib/python2.7/multiprocessing/queues.py", line 63, in __init__
    self._rlock = Lock()
  File "/volume1/@appstore/python/lib/python2.7/multiprocessing/synchronize.py", line 147, in __init__
    SemLock.__init__(self, SEMAPHORE, 1, 1)
  File "/volume1/@appstore/python/lib/python2.7/multiprocessing/synchronize.py", line 75, in __init__
    sl = self._semlock = _multiprocessing.SemLock(kind, value, maxvalue)
OSError: [Errno 38] Function not implemented

Not sure if repeats of very similar information are useful, but figured I'd add my results.

  1. Device and model number:  Synology DS713+
  2. OS/firmware (include version number):  DSM 4.2-3202
  3. Any build to order options e.g. where there is a choice of CPU:  None
  4. Is the NAS capable of transcoding?:  Yes.
  5. Is the NAS capable of direct streaming?  Yes.
  6. Anything special you had to do to get it running (e.g. change web management port)
  7. Any error messages (only after troubleshooting the issue in another thread)

I'm running Python 2.7.3-011 installed as a package (developed by Synology).

PlexConnect will not start, giving the following error:

DiskStation> ./PlexConnect.py
PlexConnect : ***
PlexConnect : PlexConnect
PlexConnect : Press ENTER to shut down.
PlexConnect : ***
Traceback (most recent call last):
  File "./PlexConnect.py", line 36, in 
    cmd_DNSServer = Queue()
  File "/usr/local/lib/python2.7/multiprocessing/__init__.py", line 218, in Queue
    return Queue(maxsize)
  File "/usr/local/lib/python2.7/multiprocessing/queues.py", line 63, in __init__
    self._rlock = Lock()
  File "/usr/local/lib/python2.7/multiprocessing/synchronize.py", line 147, in __init__
    SemLock.__init__(self, SEMAPHORE, 1, 1)
  File "/usr/local/lib/python2.7/multiprocessing/synchronize.py", line 75, in __init__
    sl = self._semlock = _multiprocessing.SemLock(kind, value, maxvalue)
OSError: [Errno 38] Function not implemented
DiskStation> 

I can gladly report that I've been able to get PlexConnect working on a QNAP TS-459 Pro II :)

I had no real issues with the install. I've even got an auto-run script working which loads PlexConnect.py at NAS startup. I can also report that playback is quick and smooth, and all artwork and information seem to be loading fine. Subtitles are working BUT my NAS struggle with them as it has before when using iOS devices as clients.

  1. Device and model number  QNAP TS-459 Pro II
  2. OS/firmware (include version number)  3.8.2 Build 20130301
  3. Any build to order options e.g. where there is a choice of CPU 3GB RAM
  4. Is the NAS capable of transcoding? Yes
  5. Is the NAS capable of direct streaming? Yes
  6. Anything special you had to do to get it running (e.g. change web management port) Installed Python 2.7 and changed web server port
  7. Any error messages (only after troubleshooting the issue in another thread) None

A SPK has been released by someone over at the Synology forums:

https://github.com/iBaa/PlexConnect/wiki/Supported-operating-systems-for-application-install

Looks like this person only packaged the files in a Synology package. I installed it, which went okay, but it did not run. The problem is exactly the same as with the original. By the way, all python files in this package are the same as the original.

It seems that the SemLock method (from the _multiprocessing package) fails. The message says it is not implemented. I think this method needs the shared memory file /dev/shm which is not available on the Synology. Could be the culprit.

Hopefully somebody posts a working package soon.

Looks like this person only packaged the files in a Synology package. I installed it, which went okay, but it did not run. The problem is exactly the same as with the original. By the way, all python files in this package are the same as the original.
 
It seems that the SemLock method (from the _multiprocessing package) fails. The message says it is not implemented. I think this method needs the shared memory file /dev/shm which is not available on the Synology. Could be the culprit.
 
Hopefully somebody posts a working package soon.


Thanks, I have updated the wiki.
Has anyone tried to add in the /dev/shm to a Synology to see if it fixes the issue?

Another confirmation: does not work yet on Synology DS713+ (same error as mentioned above). I have also tried after replacing the standard Synology Python package with a non-Synology Python package that was developed by others (see here: http://packages.synocommunity.com/), but alas no luck. The PlexConnect package will install, but will not run. Hope somebody is able to fix, would be awesome <_<

Thanks, I have updated the wiki.
Has anyone tried to add in the /dev/shm to a Synology to see if it fixes the issue?

How would one go about doing that? Simply add that folder/file? Or would it require something more complex?

How would one go about doing that? Simply add that folder/file? Or would it require something more complex?


https://github.com/overviewer/Minecraft-Overviewer/issues/569

I have the same NAS. Can you please guide me how to get this going and how you installed the extra ram. I am a noob but would love to get this running. ANy help would be greatly appreciated. Have you been able to stream 1080p movies at all? Thanks so much

I can gladly report that I've been able to get PlexConnect working on a QNAP TS-459 Pro II :)

I had no real issues with the install. I've even got an auto-run script working which loads PlexConnect.py at NAS startup. I can also report that playback is quick and smooth, and all artwork and information seem to be loading fine. Subtitles are working BUT my NAS struggle with them as it has before when using iOS devices as clients.

  1. Device and model number  QNAP TS-459 Pro II
  2. OS/firmware (include version number)  3.8.2 Build 20130301
  3. Any build to order options e.g. where there is a choice of CPU 3GB RAM
  4. Is the NAS capable of transcoding? Yes
  5. Is the NAS capable of direct streaming? Yes
  6. Anything special you had to do to get it running (e.g. change web management port) Installed Python 2.7 and changed web server port
  7. Any error messages (only after troubleshooting the issue in another thread) None

I have the same NAS. Can you please guide me how to get this going and how you installed the extra ram. I am a noob but would love to get this running. ANy help would be greatly appreciated. Have you been able to stream 1080p movies at all? Thanks so much

It's very simple to install extra RAM on the QNAP. Follow this guide: http://www.qnap.com/index.php?lang=en&sn=4605

But, it's not necessary to add extra RAM in order to run Plex Media Server or PlexConnect. You can follow my guide here to get PlexConnect working. And yes, it streams 1080p video :)

https://github.com/overviewer/Minecraft-Overviewer/issues/569

OK thanks. I tried following the instructions in that link. I get:

Wasmachine> mount | grep /dev/shm                               
Wasmachine> mount tmpfs /dev/shm -t tmpfs -o nodev,nosuid,noexec
mount: mounting tmpfs on /dev/shm failed: No such file or directory

What next? I'm comfortable with the terminal, but I'm definitely no Linux wizard and actually I have no idea what /dev/shm is. Should I try creating a file or a directory there and re-run the above commands? Many thanks and cheers, J

OK thanks. I tried following the instructions in that link. I get:

Wasmachine> mount | grep /dev/shm                               
Wasmachine> mount tmpfs /dev/shm -t tmpfs -o nodev,nosuid,noexec
mount: mounting tmpfs on /dev/shm failed: No such file or directory

What next? I'm comfortable with the terminal, but I'm definitely no Linux wizard and actually I have no idea what /dev/shm is. Should I try creating a file or a directory there and re-run the above commands? Many thanks and cheers, J

What version of Python is running on your NAS?

What version of Python is running on your NAS?


Python 2.7.5-6. I also tried the Python package that Synology distributes (2.7.3-011) but that one wouldn't even let the PlexConnect package install.

Try creating the missing directory and rerunning those commands.

  • Device and model number: QNAP TS-212, crazy huh? No?
  • OS/firmware (include version number): 3.8.3 Build 20130426 
  • Any build to order options e.g. where there is a choice of CPU: N/A
  • Is the NAS capable of transcoding?: N/A
  • Is the NAS capable of direct streaming?: N/A
  • Anything special you had to do to get it running (e.g. change web management port): Installed unofficial Plex Media Server v0.9.7.11.386 ARM x19 by MrTom. QNAP thread here. Installed Python 2.7 in QPKG Center and changed the port of my Web Server.
  • Any error messages (only after troubleshooting the issue in another thread): Select (center) button of Apple Remote does not work. Gives me 'Trailer is unavailable' error. BUT it does work with play/pause (lower right) button - explanation and solution here. I also can't play MP3's - explanation here.

Not running directly off my SAN but I am running CentOS as the PMS, bind (DNS) and Plexconnect.  CentOS is hosted on a ESXi server with direct access to a HP SAN

  1. Device and model number ESXi 5.1 on HP Proliant 360 G7 with HP 3par F200
  2. OS/firmware (include version number) CentOS 6.4
  3. Any build to order options e.g. where there is a choice of CPU N/A
  4. Is this Build capable of transcoding? Yes
  5. Is this Build capable of direct streaming? Yes
  6. Anything special you had to do to get it running (e.g. change web management port) Installed Python 2.7 and also used Bind for DNS
  7. Any error messages (only after troubleshooting the issue in another thread) None.

Also worked for my friend who VPN-in to the firewall we tested it by having his ATV3 point to my DNS server and he was able to use it.

My ATV3 is running the current 5.4 Beta 1 (iOS7) and I haven't had any issues.