Skip to content
This repository has been archived by the owner on Feb 17, 2022. It is now read-only.

lbalogh/OMXPlayer-Remote

Repository files navigation

OMXPlayer-Remote

Control OMXPlayer from iPhone and Apple Watch

Prerequisites

Install

On the Raspberry Pi

Install python-omxplayer-wrapper :

sudo apt-get install python-setuptools
git clone https://github.com/willprice/python-omxplayer-wrapper.git
cd python-omxplayer-wrapper
sudo python setup.py install

Get the server script :

wget https://raw.githubusercontent.com/lbalogh/OMXPlayer-Remote/master/OMXPlayerServer.py

And start it :

python OMXPlayerServer.py -a 192.168.10.109 -p 10026 -d /mnt/Downloads

-a : ip address of the Raspberry PI
-p : listening port
-d : home path when browsing from the phone

To make the server start automatically on boot, add this to ~/.config/autostart/omxplayer-remote.desktop :

[Desktop Entry]
Encoding=UTF-8
Name=OMXPlayer Remote autostart
Exec=/usr/bin/lxterminal -e 'python /home/pi/OMXPlayerServer.py -a 192.168.10.109 -p 10026 -d /mnt/Downloads'

On MacOS X

Open the OMXPlayer Remote project in XCode. On the toolbar, select OMXPlayer Remote, a destination device (eg. iPhone 6), then click Play. The app should start in the simulator.

Enter the ip/port specified in the server (OMXPlayerServer.py) and click Browse to browse the content of the Pi. Click on a movie to start playing.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published