Giter Site home page Giter Site logo

pyplex's Introduction

Pyplex

Introduction

This is an implementation of an idea on the Plex forums - that the Raspberry Pi could use a Plex client that had no interface, and was just designed to be operated using an iOS device or similar as a remote. Only the very barest bones functionality is here, but I hope that it is reasonably easy to extend.

Before you install

sudo apt-get update && sudo apt-get upgrade
sudo wget https://raw.github.com/Hexxeh/rpi-update/master/rpi-update
sudo cp rpi-update /usr/local/bin/rpi-update
sudo chmod +x /usr/local/bin/rpi-update 
sudo rpi-update
cd /boot
sudo vim config.txt > to set arm_freq to 1000 and gpu_mem to 192
sudo reboot
sudo apt-get install avahi-daemon
sudo apt-get install python-pip
sudo pip install tornado
sudo pip install pexpect
sudo apt-get install python-avahi 
sudo aptitude install python-gobject

installation

git clone https://github.com/megawubs/pyplex.git

How to use

Launch with

python pyplex [hdmi] &

Where [hdmi] is optional to make sure audio is going over hdmi, leaving it out will devault to the 3,5mm jack output. The & makes it run in the background.

Then 'Raspberry Plex' should appear as a player you can choose in your Plex client. Choose your media, and select this as the player to play it on. It should begin playing on your Raspberry Pi!

Stop with

python pyplex stop

To make it run in the background at boottime do crontab -e and add

@reboot python /path/to/pyplex

Control

To control playback you can use the remote tab on your iDevice or android device. Currently the following commands are supported:

Play
Pauze
Fastforward
Fastbackward
Stop

Debugging and logging

In the root folder of pyplex do

tail -f pyplex.log

to see all logging information. Support can be found on the Plex forum

If you want to know more about the pyplex code and how it works take a look here

pyplex's People

Contributors

dalehamel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.