PlexConnect on a NAS drive (ReadyNAS).?

I did read it, and it says: ReadyNAS Ultra 2 x86 ATOM D425 1.8Ghz Yes No No No No..

What does that mean exactly for me. Isn't it possible for me to have a good setup with this unit and the ATV3?

It means you need to ensure that your media is in a format natively playable by the ATV3.

If it is not try something like iFlicks to remux the movies (it only take a few minutes a movie - maybe slightly longer if your NAS's network throughput is the bottleneck).

I saw in some other posts that there were better solutions that did not require to change the apache port number, so I worked on applying this to the readynas setup.

The disadvantages of the previous method is that some readynas plugins suchs as "Nas Monitor" could not be launched any more from front view as they relied on the 80 port number, another drawback is by changing the standard httpd.conf file, the modification was overwritten with firmware update (in my case from 4.2.22 to 4.2.23)

After some struggling, I finally succeeded to use the new method (with readynas x86 OS 4). The installation procedure in the header post is updated accordingly

Should be easier now to write a readynas add-on too.

Hi, 

my Readynas Pro 6 just arrived and i do some testing with just one HDD installed.

I have to backup several Terrabytes so it will take time for me to finally running Plexconnect on my new NAS.

Sadly i'm no programmer and can't help out to write a real Readynas add-on.

Some Plex Programmers do use a Readynas as PMS too. I hope one of them chill in and will write a official Add-On :wub:  

But for now: big thanks to Chrobrego for this work. Will test your guide as soon as possible!

It means you need to ensure that your media is in a format natively playable by the ATV3.

If it is not try something like iFlicks to remux the movies (it only take a few minutes a movie - maybe slightly longer if your NAS's network throughput is the bottleneck).

Is that only .m4v, .mp4, and .mov? If so, why would anyone buy a ATV for Plex? Seems like Roku would have been the best choice by far for me.

Is that only .m4v, .mp4, and .mov? If so, why would anyone buy a ATV for Plex? Seems like Roku would have been the best choice by far for me.

Because:

  1. Most people do not have an underpowered NAS and therefore can use any file format
  2. It takes about 3-5 minutes per movie to remux it using iFlicks to an ATV compatible format (it will even tag all the metadata inside the new file and add to iTunes as well if you want) - you can also do this in batches
  3. A lot of people prefer the PlexConnect interface (it is also about to improve significantly) and speed on the ATV2 and some prefer the hardware remote of the ATV2

I have to add that I personally don’t have any major issues playing 1080p MKV files between my ReafyNAS ultra 2 and my ATV3.


I did have to play around with the settings quite a bit… I’ll post them when I’m home for people to have a play around with…

I have to add that I personally don't have any major issues playing 1080p MKV files between my ReafyNAS ultra 2 and my ATV3.
I did have to play around with the settings quite a bit.. I'll post them when I'm home for people to have a play around with..


Maye it is powerful enough to remux the files but not transcode.

Now I have the pleasure to propose to the community a first readynas bin package file (for x86, OS 4th generation - eg Ultra and Pro)

It basically applies the above install procedure and guided by the suggestion of wilsoncd2 I created a modified version of PlexConnect.py so it can run as a daemon

I will update the header post to include a link to the package file but will let the manual install instructions in any case

Now I have the pleasure to propose to the community a first readynas bin package file (for x86, OS 4th generation - eg Ultra and Pro)

It basically applies the above install procedure and guided by the suggestion of wilsoncd2 I created a modified version of PlexConnect.py so it can run as a daemon

I will update the header post to include a link to the package file but will let the manual install instructions in any case

Cool, hopefully this will be added to the main code in the near future.

Is this based on PlexConnect 0.1 code or a later commit?

Did you add proper startup and shutdown scripts or does it just kill the process when rebooting the NAS?

Cool, hopefully this will be added to the main code in the near future.

Is this based on PlexConnect 0.1 code or a later commit?

Did you add proper startup and shutdown scripts or does it just kill the process when rebooting the NAS?

That is based on today's code - but I checked that the main functions were not broken (nice job done with the GUI, btw  :) )

I added start and stop scripts according to readynas templates but I had an issue with python that created 3 instances of PlexConnect process (not sure why). Thus in the shutdown script, even after the daemon was shut down I had to additionnaly kill the two others which were left...

The package didn’t work for me first time… I’m assuming I still have to edit the settings file with my DNS address from ATV.?


If so where do I find it on my ReadyNAS.?

is it difficult to port/make this for os6?

The package didn't work for me first time.. I'm assuming I still have to edit the settings file with my DNS address from ATV.?

If so where do I find it on my ReadyNAS.?

You should first undo your previous modifications and in particular delete the Virtual.conf file in the apache addons directory (the installer will create PlexConnect_Virtual.conf instead).

If you launch this command, can you see PlexConnect processes (there should be three):

ps -ef | grep "PlexConnectDaemon" | grep -v grep

The binaries are located in  

/etc/frontview/addons/bin/PLEXCONNECT 

From there you can start PlexConnect with

./start.sh

(It is normal to not see output as it runs in the background)

Normally the installer starts it automatically and as a result in the installed addons page of front view you should see a green status icon next to PlexConnect Add on.

to stop it (can also be done from front view):

./stop.sh

From there if you need to modify the Settings.cfg file you can access it in the PlexConnect sub-directory (but theoretically that should not be necessary)

Maybe it would worth also to restart apache (eveen though the installer should do it)

Let me know how it goes

is it difficult to port/make this for os6?

As I know OS6 is also based on debian so similar procedure could apply but a few things (eg paths) may vary.

Regarding guidelines on how to create a package, maybe you should look on the readynas addon forum too.

Big thanks to Chrobrego for making this happen!


Will test your Addon this evening or tomorrow (my Readynas gets filled right now).


One Question: is there a solution to update to the latest commit, or do you have do rebuild the Addon time by time? (e.g. Latest Commit fixes the Play Command)


Many thanks to the Plexconnect Dev Team and Chrobrego!

One Question: is there a solution to update to the latest commit, or do you have do rebuild the Addon time by time? (e.g. Latest Commit fixes the Play Command)

In the begining I did want to fetch the PlexConnect code with git from inside the addon so basically the addon would almost not need to be updated. But that did not work. So the addon embeds the PlexConnect code, this is surely more reliable but less dynamic...

However you possibly could update the PlexConnect code used by the addon with using ssh:

cd /etc/frontview/addons/bin/PLEXCONNECT/PlexConnect
env GIT_SSL_NO_VERIFY=true git pull

This being said the addon does not launch PlexConnect.py because that one does not work as daemon. So a modified version PlexConnectDaemon.py is used instead so if PlexConnect.py file is updated, a new PlexConnectDaemon.py will have to be produced, eg by a new version of the addon. I will document that change (suggested by user wilsoncd2) so that the Plex dev team maybe could incorporate this in the standard files in a way or another. If I don't update the addin, users could recreate that change too.

Works like a charm. Thank you!

Just looking to get some good settings for 1080p viewablity, using a Ultra 2. Buffering all over the place. :)

Works like a charm. Thank you!

Just looking to get some good settings for 1080p viewablity, using a Ultra 2. Buffering all over the place. :)

Good to hear!

There are two types of Blu-ray discs the ones encoded with H264 and the others encoded in VC1

The ones encoded with H264 should play fine in AppleTV with DirectPlay and without Transcoding

The other ones (VC1) are problematic because they require transcoding which require a NAS with a powerful CPU

Good to hear!

There are two types of Blu-ray discs the ones encoded with H264 and the others encoded in VC1

The ones encoded with H264 should play fine in AppleTV with DirectPlay and without Transcoding

The other ones (VC1) are problematic because they require transcoding which require a NAS with a powerful CPU

Alright, that makes sense. Sorry for asking dumb questions though, I'm not 100% aware of these things.

Right now, just about all of the HD movies I got on my NAS is buffering really slow and is pretty much unplayable, when played on the ATV3. I've tried turning on the "Force DirectPlay" in Settings of PlexConnect of ATV3, but then nothing will load, as it says there is some error when I pres play.

I just downloaded a program called "MediaInfo" to determn my HD files, and what they are to specify it better, here is what the info says:

Complete name                            : \\NAS\media\Videos\Film\The.Amazing.Spiderman.2012.DKSUBS.1080p.BluRay.x264-iRL\amazingspiderman1080p.mkv
Format                                   : Matroska
Format version                           : Version 2
File size                                : 9.83 GiB
Duration                                 : 2h 16mn
Overall bit rate                         : 10.3 Mbps
Encoded date                             : UTC 2012-10-25 14:15:23
Writing application                      : mkvmerge v5.8.0 ('No Sleep / Pillow') built on Sep  2 2012 15:37:04
Writing library                          : libebml v1.2.3 + libmatroska v1.3.0

Video
ID                                       : 3
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4.1
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 5 frames
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 2h 16mn
Bit rate                                 : 8 370 Kbps
Width                                    : 1 920 pixels
Height                                   : 804 pixels
Display aspect ratio                     : 2.40:1
Frame rate mode                          : Constant
Frame rate                               : 23.976 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.226
Stream size                              : 7.77 GiB (79%)
Title                                    : Team Irene :)
Writing library                          : x264 core 128 r2216 198a7ea
Encoding settings                        : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x113 / me=umh / subme=8 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=12 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=240 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=2pass / mbtree=1 / bitrate=8370 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:1.00
Language                                 : English
Default                                  : Yes
Forced                                   : No

Audio #1
ID                                       : 1
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Mode extension                           : CM (complete main)
Format settings, Endianness              : Big
Codec ID                                 : A_AC3
Duration                                 : 2h 16mn
Bit rate mode                            : Constant
Bit rate                                 : 448 Kbps
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz
Bit depth                                : 16 bits
Compression mode                         : Lossy
Stream size                              : 437 MiB (4%)
Title                                    : DD5.1 AC3
Language                                 : English
Default                                  : No
Forced                                   : No

Does this make sense, that it's buffering that much?

Does this make sense, that it's buffering that much?

If the "Force Direct Play" leads to a play back error it means that Plex wants to transcode it. In your case the video format is fine (H264) so that should be because of the sound that is AC-3

Try the option in Plex Web interface / Settings / Show advanced Settings: Enable Dolby Digital during AirPlay (AC3 = Dolby digital)

You will need a receiver that can handle it because Apple TV can not decode it.

Chrobrego daemon compatible code is planned :slight_smile: