initial commit

This commit is contained in:
vollstock
2018-09-20 15:38:43 +02:00
parent c029a5d07b
commit 0186a946dc
54 changed files with 994 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
Package: tooloop-video-player
Version: 0.9.0
Maintainer: vollstock
Homepage: https://www.vollstock.de
Bugs: https://github.com/vollstock/Tooloop-Examples
Section: tooloop/presentation
Architecture: all
Depends: mplayer
Description: Video Player
The tooloop video player is using mplayer to loop over all videos it find in `/assets/data`.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,14 @@
# Super simpler video player
The super simple video player is an example of how to use the Tooloop media
server and provide apps for it.
It's in the public domain.
# MPlayer
[MPlayer](http://www.mplayerhq.hu) is available under the [GNU General Public
License version 2](https://www.gnu.org/licenses/old-licenses/gpl-2.0.html).
It is not available under any other licensing terms, not even for substantial
amounts of money. If you have questions about the GNU GPL, consult the GPL FAQ.
@@ -0,0 +1,7 @@
# Super simple video player
In this example we are using [mplayer](http://mplayerhq.hu) to play and loop a list of videos in fullscreen.
## Customizing
Check out the start script if you want to fiddle with some mplayer options. [Here's the docs](http://www.mplayerhq.hu/design7/documentation.html).
@@ -0,0 +1,5 @@
#!/bin/bash
mplayer -fs -zoom /assets/data/Tooloop\ Greeter\ Intro.mp4 /assets/data/Tooloop\ Greeter\ Loop.mp4 -loop 0 &
exit 0
@@ -0,0 +1,8 @@
#!/bin/bash
# here comes everything, you need to stop the running presentation
# basically kill or stop everything you started in `start-presentation.sh`
kill $(pidof mplayer)
exit 0
@@ -0,0 +1,18 @@
{
"name": "Simple Video Player",
"description": "Uses [mplayer](http://mplayerhq.hu) to play and loop a list of videos in fullscreen.",
"media": [],
"version": "1.0",
"last_updated": "2018-02-13",
"license": "Public domain",
"category": "Examples",
"tags": ["example"],
"developer": "vollstock",
"homepage": "http://www.vollstock.de/",
"compatibility": {
"s": "False",
"m": "True",
"l": "True",
"xl": "True"
}
}
@@ -0,0 +1,4 @@
#!/bin/sh
apt update
apt -y install mplayer
Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

@@ -0,0 +1,7 @@
#!/bin/sh
# remove all files we have copied to data folder
rm /assets/data/tooloop-greeter*
# we have installed it, we should remove it also
apt -y purge mplayer