Created
January 23, 2024 12:26
-
-
Save kyori19/20df44e13ee37063e03d8ce5fd60d241 to your computer and use it in GitHub Desktop.
Mirakurun custom startup script to install Plex customized recpt1
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
#!/bin/bash | |
# see also: https://github.com/Chinachu/Mirakurun/blob/master/doc/Platforms.md#-how-to-use-non-dvb-devices | |
if !(type "recpt1" > /dev/null 2>&1); then | |
apt-get update | |
apt-get install -y --no-install-recommends cmake git libpcsclite-dev unzip wget | |
git clone https://github.com/stz2012/libarib25.git /tmp/libarib25 --depth 1 | |
cd /tmp/libarib25 | |
cmake . | |
make | |
make install | |
cd /tmp | |
wget http://plex-net.co.jp/download/linux/Linux_Driver.zip | |
unzip Linux_Driver.zip | |
cd Linux_Driver/MyRecpt1/MyRecpt1/recpt1 | |
sed -i 's/-DTV/video/g' pt1_dev.h | |
make clean | |
sh ./configure --enable-b25 | |
make | |
make install | |
fi | |
recpt1 -v |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment