This repository has been archived by the owner on Jun 14, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
BrainFooLong
committed
Dec 3, 2016
1 parent
16d7083
commit 664583b
Showing
13 changed files
with
191 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,34 @@ | ||
# Web GUI for OMX Player on a Raspberry Pi | ||
This web GUI give you easy control of the OMX player, directly via your browser. Start your video and audio files directly via your smartphone or desktop browser. This GUI is the successor to the first, simpler version of omxwebgui. | ||
This web GUI give you easy control of your OMX player, directly via your browser. Start your video and audio files directly with your smartphone, tablet or desktop browser. This GUI is the successor to the first, simpler version of omxwebgui at https://github.com/brainfoolong/omxwebgui/. | ||
|
||
# Not yet finished | ||
The player does not yet work, interface is not finished. Please wait just a few weeks. For now you can play with https://github.com/brainfoolong/omxwebgui | ||
## Features | ||
* Responsive design - Great for desktop, smartphone or tablets | ||
* Play/Stop videos through the browser | ||
* All hotkeys from omxplayer mapped to the webpage | ||
* Multilanguage | ||
* Permanent playlist - Just add folders, files and streams | ||
* Search for filenames with wildcards | ||
* Mark of already viewed videos | ||
|
||
## How to contribute | ||
Feel free to send pull requests. Create an issue for a new feature BEFORE you do some coding. We should talk about that before. Translations are pretty straight forward, you can just add them without an issue. | ||
|
||
## Requirements | ||
It is strongly recommended to use it just with the php-cli. Do not use it in combination with a webserver, it will not work. Just use it as described bellow. Only PHP is required. It is also PHP7 compatible. | ||
`sudo apt-get install php5-cli` | ||
|
||
## Installation | ||
Download/Clone/Unpack the whole script to a folder you like. To create a simple php webserver listening on port 4321, you can change the port to whatever you want. Start this with the same user that you need to play the videos. Please do not use apache or other server#s to run the php script, it will probably not work. | ||
|
||
`php -S 0.0.0.0:4321 -t YOURPATHTOOMXWEBGUIFOLDER > /dev/null 2>&1 &` | ||
|
||
Open the webpage with http://IPTOYOURPI:4321 | ||
|
||
## Autostart | ||
To enable autostart on reboot just add the following line to your crontab. Do this with the same user that you need to play the videos. No `sudo` required. | ||
Add the following line to crontab with `sudo crontab -e` to start the simple php webserver on reboot | ||
|
||
`@reboot php -S 0.0.0.0:4321 -t YOURPATHTOOMXWEBGUIFOLDER > /dev/null 2>&1 &` | ||
|
||
## Troubleshooting | ||
* If you have troubles with write permissions just give the `data` and `tmp` folder the 777 permission. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.