trigu75
Posts: 3
Joined: Fri Dec 07, 2018 2:22 am

Stremio on RPI (Finally , kind of .. )

Fri Dec 07, 2018 3:06 am

I'm new to RPI , but after some tweaks I kind of made it work

I tried to compile it , but there is a missing module and for some reason apt-get doesn't find it as well ..

as for their website

" If you find: Project ERROR: Unknown module(s) in QT: webengine

Then install:

sudo apt-get install libkf5webengineviewer-dev "

libkf5webengineviewer-dev is not found on RPI repository ... so ... this is what I did

you need to have node.js installed

1. download Stremio engine/cast server

wget https://dl.strem.io/four/v4.4.10/server.js ; wget https://dl.strem.io/four/v4.4.10/stremio.asar

once we have these files , we need to do a small tweak to make it work with omxplayer (full gpu acceleration)

edit the downloaded file server.js , and search for MPV (caps)

it will look like this

Code: Select all

mpv: {
            title: "MPV",
            args: ['--no-terminal'],
            subArg: '--sub-file=', // DOESN'T WORK ON MAC
            timeArg: '--start ',
            playArg: '',
            darwin: {
                path: ["/usr/local/bin/mpv", "/opt/local/bin/mpv", "/sw/bin/mpv"] // Homebrew, MacPort, Fink
            },
            linux: {
                path: ["/usr/bin/mpv"]
            },
            win32: {
                path: []
            }
        },

add this after that and save

omx: {
          title: "OMX",
          args: [''],
          subArg: '', // DOESN'T WORK ON MAC
          timeArg: '',
          playArg: '',
          darwin: {
              path: ["/usr/local/bin/mpv", "/opt/local/bin/mpv", "/sw/bin/mpv"] // Homebrew, MacPort, Fink
          },
          linux: {
              path: ["/usr/bin/omxplayer"]
          },
          win32: {
              path: []
          }
      },
that's it , open a terminal window , execute node server.js , if everything is ok you will get

pi@raspberrypi:~ $ node server.js
hls executables located -> { ffmpeg: '/usr/bin/ffmpeg', ffsplit: null }
Using app path -> /home/pi/.stremio-server
Enabling casting...
Discovery of new external device "vlc" - VLC
Discovery of new external device "omx" - OMX
EngineFS server started at http://127.0.0.1:11470
EngineFS HTTPS endpoint at https://local.strem.io:12470

open the web browser and go to app.strem.io , login (to get your saved addons and library) , or go straight to addons and install the addons you use

select a video from the library , once it starts playing (with no GPU acceleration , WHY CANT WE SET AN EXTERNAL PLAYER FOR THE BROWSER ????????????????? ) , right click , choose play in OMX , and that's it , the browser will stop playing , OMXplayer will start playing the stream (while stremio engine continues to download)

I will keep looking if I can make an RPI version ... let me know what you think

trigu75
Posts: 3
Joined: Fri Dec 07, 2018 2:22 am

Re: Stremio on RPI (Finally , kind of .. )

Fri Dec 07, 2018 11:41 pm

OK

I managed to find all the packages needed to compile it , and succesfully created their Client

and it works , but still needs some tweaking to be perfect (add omxplayer to the main binary)

maybe someone here can step in and help?

I will keep you updated

screenshot attached
Attachments
screen1.jpg
stremio on RPI3
screen1.jpg (112.94 KiB) Viewed 784 times

Return to “Off topic discussion”