From: Dmitry Shalnoff Date: Fri, 10 Jul 2020 01:30:07 +0000 (+0200) Subject: README, minor corrections X-Git-Url: https://git.shalnoff.com/BABOOSHKA.TV/commitdiff_plain/HEAD README, minor corrections --- diff --git a/README.md b/README.md index c5c5010..4edf902 100644 --- a/README.md +++ b/README.md @@ -89,7 +89,7 @@ Update repository list and install dependencies Try to install freefonts (required by omxplayer) - apt install freefonts + apt install ttf-freefont By some reason recently *freefonts* package has been removed from official RPi repository. So in case of unsuccess just copy included freefonts to /usr/share/fonts/truetype/... do it with *sudo* @@ -121,8 +121,8 @@ First try to find you device using irdb-get find YOUR_DEVICE -In case of unsiccess try to find and copy YOUR_DEVICE.conf for your remote controller to */etc/lirc/lircd.conf.d/* -Here is a [list of devices](http://lirc-remotes.sourceforge.net/remotes-table.html) supported by Lirc 'from the box'. However, you always can record your own, see below... +If you did it, copy YOUR_DEVICE.conf to */etc/lirc/lircd.conf.d/* +In case of unsiccess try to find and copy here: [List of devices](http://lirc-remotes.sourceforge.net/remotes-table.html) supported by Lirc 'from the box'. However, you always can record your own, see below... Copy template lircd.conf @@ -202,6 +202,7 @@ Create /usr/local/bin/irsend and make it executable #! /bin/sh exec /usr/bin/irsend --device=/var/run/lirc/lircd-tx "$@" + chmod +x /usr/local/bin/irsend Start lircd-tx (with *sudo*) @@ -249,6 +250,26 @@ Force raw record mode (normally not required) irrecord -f -d /dev/lirc0 ~/lirc.conf +## IR remote setup and button assignment + +If everything went fine and your remote reading by Raspbery, you have to choose buttons that you going to use for Babooshka control. Here is a list of current commands: + +- next +- prev +- forward +10min +- backward -10min +- play/pause toggle +- pause on switching-off +- stop +- audio track switch +- subtitles switch + +This is how they marked in *remoteir.sh* + +To assign comands you need to edit "ARR_DOWN", "ARR_UP" and so on in *remoteir.sh*. Change it for that you see in *irw* stdout when pressing buttons. + + irw + ## Main package installation cd /home/pi/ @@ -285,7 +306,7 @@ Activate the service Add this line to */etc/rc.local* - sudo -H -u pi /home/pi/babooshka.tv/start.babooshka.sh > /dev/null & + sudo -H -u pi /home/pi/BABOOSHKA.TV/start.babooshka.sh > /dev/null & reboot and test :) @@ -321,7 +342,7 @@ If' you're going to watch videos from YouTube, Vimeo and so on, this packages wo ## Usage -converting video (note -level 3.0 option! it is required for RPi HW codec) +converting video. Note *-level 3.0* option! it is required for RPi HW codec. I've been breaking by brain until found that RPi HW codec can't play *low profile* (or maybe it is driver limitation). However [here is](https://superuser.com/questions/489087/what-are-the-differences-between-h-264-profiles) some technical details, if you interested in. ffmpeg -i FILEIN -vcodec libx264 -preset slow -level 3.0 -b 700k -s 720x404 FILEOUT @@ -375,6 +396,10 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. +## Donate + +If you would like to contribute to a project, you can always [help with a penny](https://paypal.me/shalnov). +