Jump to content

Recommended Posts

ginjaninja

Emby For Roku

Setup Guide

 

 

 

 

 

Assumptions

  • The Author only had access to a Roku 3 (Model 4200X Software v5.4 2240) . It is assumed that all Rokus behave in the same way in respect of this guide.

Prerequisites

  • Install EMBY Server. Create an EMBY User. Optionally (and recommended) make user an EMBY Connect User (by registering on community forums and adding the valid MB community username to the user account under server configuration and authorising via email) http://emby.media/connect/
  • Follow the Roku product installation instructions to register your email address/Roku account.
  • Ensure the Roku has a valid IP route to your EMBY server and ensure the necessary rules are applied on any intermediary firewalls. See Client<>Server Connection Troubleshooting.

Guide Chapters

 

Note many of the pictures in this guide need updating for the latest version and new product name. Media Browser is now EMBY

  • Like 12
Link to post
Share on other sites
ginjaninja

Adding the Emby Channel to Your Roku

 

Channels can be added to your Roku via the Roku Web Site or from within the Roku user interface. This section will cover adding the EMBY channel to the Roku via the ROKU UI.

Enter the Channel Store

Select the EMBY Channel, under Film and TV

Choose Add channel


Choose Go to Channel

 

 

Connect EMBY Roku Client to the EMBY Server

 

Connection Options

  • {Default} EMBY Connect - Recommended when you have an EMBY Connectuser configured on your server and particularly  when you are connecting to a server on foreign network (e.g. over internet). (Emby Connect handles the server IP acquisition on local and foreign networks). Registration requires the client and server have internet connectivity
  • Scan Network - Recommended when you do not have an EMBY enabled user on your server
  • Manual Addition - Recommended only for troubleshooting or if the client is on a different broadcast domain to the server.

Connect Via EMBY Connect {Default}

This will be the default option when starting the client for the first time. (Roku and EMBY server require internet access)

The client will negotiate a pin with the EMBY Internet Service..

WelcometoEmby.jpgEmbyConnect.jpg

 

Visit http://emby.media/pin/ from your pc and enter your community username and password and this pin

Pin.png

Successful entry will result in a message on the web page "Pin Confirmed. Thank you.". The Roku Client registers success from EMBY Internet Service, along with the internal and external IPs/Hostnames of your EMBY Server. The client is now connected to the server and you will be logged in as user slaved to the EMBY connect user you entered on the http://emby.media/pin/ web page. The client will remember the authentication information by default and will use it automatically next time.

 

Connect Via Scan Network

Chose Skip (Connect to Server Manually)

EmbyConnect.jpg

If the necessary network connectivity between the Roku and the EMBY server is in place, then the detected server and port will be shown.

server-add-scan2.jpg

Problems detecting your server? Review Client<>Server Connectivity Troubleshooting.

 

Choose your preferred Display Name for the server. Choose Okay.

Choose your server and choose Connect
server-add-man5.jpgserver2.jpg
Problems connecting? Review Client<>Server Connectivity Troubleshooting.

 

You will be presented with your user authentication screen.
login.jpglogin-manual.jpglogin-manual2.jpg

Connect Via Manually Add Server
Use cases for manual addition:

  • Users with multiple EMBY servers who do not wish to use the first detected EMBY server.
  • Users with an EMBY server on a remote network / subnet or on internet which would not respond to the Scan Network detection process. Users whose firewall configuration blocks the Scan Network broadcast. (The Server installation should ensure this broadcast is not blocked)

Steps:

  • Enter the IP Address or host name of the EMBY server and choose Okay .
  • Users connecting over the Internet might use their router's public IP address / host name, which should be already configured to forward EMBY client communications to the server.
  • Enter the EMBYserver Http server Port # (Default is 8096), as configured on the EMBY server under configuration>advanced>hosting>Local http port number:

server-add-man1.jpgserver-add-man3.jpgserver-add-man4.jpg
 

If there are no connectivity issues, you will be presented with the Server Setup / Display Name screen, Continue as per Display Name instructions above.

 

 

Connection/Authentication Success

Upon successful authentication you will be presented with the client home page.
main.jpg

  • Like 4
Link to post
Share on other sites
ginjaninja

Client<>Server Connection Troubleshooting


Whilst It is beyond the scope of this guide to provide a comprehensive description of generic client/server connection troubleshooting, DNS, IP addressing and  Firewalls;

The key Roku client connection specifics are covered below:

 

Roku Network Communications
Ports used during Network Scan

  • Client (Roku) broadcasts on UDP 7359 (Fixed)
  • EMBY service responds to Client

Ports Used to connect to a server (after automatic detection/manual addition)

  • Client establishes HTTP connection with the EMBY server:
  • Roku > Server - TCP Dynamic > Local Port Number:

Ports used during navigation

  • Client initiates HTTP connection with the EMBY server:
  • Roku > Server - TCP Dynamic > Local Port Number:

Ports used during Playback

  • Client initiates HTTP connection with EMBY server to request playback:
  • Roku > Server - TCP Dynamic > Local Port Number:

 

The default HTTP server port, Local http port number:(Configured on the EMBY server) is 8096*

Screenshot%202015-06-07%2020.31.12.png

 

General

  • The Roku client is served over HTTP, as configured on the EMBY Server under configuration>advanced>server>Local http port number:. Note the default TCP port is 8096.
  • The EMBY server installation should automatically configure the Windows firewall appropriately for client connections to the server. The default firewall rules are
    • Named EMBY Server under inbound rules (of advanced configuration of Windows firewall)
    • Allow all TCP and UDP through EMBY Service 'mediabrowser.serverapplication.exe'
  • Turn off firewalls temporarily to exclude/identify a firewall issue.
  • Use Roku>settings>network>yournetworktype to confirm the roku ip and gateway.

Typical Connection Errors and Causes

If UDP 7359 hosted by the EMBY server service is not accessible from the client broadcast, you can expect to see a "No Server Found" message during a Scan Network process on the Roku client.

If the Roku is blocked from the EMBY server application (mediabrowser.serverapplication.exe) on the configured HTTP server port (Local http port number:), the Roku will show an "Unable to Connect" error.

8096Closed.jpg8096OpenAppCLosed.jpg

Check your firewall configuration between the Roku and Server (Typically Windows Firewall on EMBY server), align to the network communications ports above.
 

*Explanation of other network options on Configuration>Server>Settings>Advanced

 

  • Public Port Number - The port your (roku) clients are using out on the internet when connecting to your routers public interface. Of course this port will always be 8096 unless you have manually configured a server connection on a different port and the same corresponding port for the NAT on your router.
  • Enable Automatic Port Mapping (Optional): If your router is enabled for UPNP, the EMBY server will attempt to configure your router to pass through EMBY communications from internet based clients (including Roku) on Public Port Number: to the EMBY Server
  • External DDNS (optional): EMBY server communications with internet clients will be referenced to the public DDNS name of server (configured separately, to aid connectivity with internet clients)
Edited by ginjaninja
  • Like 8
Link to post
Share on other sites
  • 1 year later...
×
×
  • Create New...