Orange Stick TV Simulator
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


npm version node Build Status js-standard-style

Dongle TV Simulator


  • develop and test your web application locally
  • develop and test your mobile application with a sample web application


install node package manager for Windows/Linux/MacOs

  1. Download the Windows installer from the Nodes.js® web site.

  2. Run the installer (the .msi or .pkg file you downloaded in the previous step.)

  3. Follow the prompts in the installer

  4. Test Node. To see if Node is installed, open the Windows Command Prompt and type node -v


All code in this repository is covered by the Apache-2.0 license. See LICENSE file for copyright details.


$ npm install ocast-dongletv -g

Check installation:

$ d2r --help
$ d2r version

local usage

use only Chrome or Safari (pb with the lastest version of FireFox ) start the websocket server via:

$ export RECEIVER=
$ d2r start

launch command @see ##commands

$ d2r load mp4

remote usage (with stick)

start the stick and find ip adress by the mac adress in wireless network

$ arp -a

launch the App

$ d2r startApp NAME_OF_MY_APP

example 'la clé TV' or 'VODe' dev app

$ d2r startApp Orange-OrangeTVReceiverProd-SDK2016

launch command @see ##commands

$ d2r load mp4

Commands and examples

Help is your friend

$ d2r --help
$ d2r load --help
$ d2r play --help

Start the server for localhost

$ d2r start all

Load a media

This is what you usually want to do, load and play a media via the receiver webapp.

$ d2r load --help


Load a video and autoplay
$ d2r load video
Load a video and:
  • autoplay
  • give a title
  • gender
  • logo
  • title for next movie
  • beginning of program
  • end of program
  • Beginning of next program
  • title of next program
  • Forbidden to youth < 16yo
  • display product placement logo
  • display audio hearing logo
  • display audio description logo
$ d2r load video/ -t "New Title"
Load a music and autoplay
$ d2r load audio
Load an image
$ d2r load image


$ d2r play


$ d2r stop

With a position

$ d2r play -p 40

Return to home page

$ d2r close

Volume control

$ d2r mute
$ d2r unmute
$ d2r volume 0.5

Request status

$ d2r info


  • Implementation is mainly in lib/*.js
  • CLI interface is in cli.js