@fadingrose said in How to add a custom port (Emby Theatre):
BTW if i pop into /opt/retropie/configs/ports/emby-theater/emulators.cfg there isn't any emby files in this on either the pi or laptop?
Right, so nothing that says runcommand in it is going to work.
The first step is going to be to get it running, on your Pi4, with something typed in from the command-line. Does that work?
To start emby theatre from the command line i just typed emby-theatre on the laptop and it loads.
How about on your Pi4, does it work the same, there?
I wanted to test emby-theater running in Retropi on my laptop first and then mirror the results on my actual Pi4 running Retropi once i know it worked
Solid plan.
so i created the emby-theater.sh file in /RetroPie/roms/ports on the laptop and included the following in the file which i copied from the Kodi.sh file.
#!/bin/bash "/opt/retropie/supplementary/runcommand/runcommand.sh" 0 _PORT_ "emby-theater" ""This then threw the error "no config found for system emby-theater" when i tried loading it in retropie,
Right, because runcommand is set up for kodi but not for emby.
I then updated the emby-theater.sh file and replace the above with the following.
#!/bin/bash "/usr/bin/emby-theater"When i then booted retropi on the laptop and tried booting emby-theater it booted but has a long line at the bottom of the screen like in the photo.
Okay so at least it starts...
I then have to open a terminal on my second screen and xkill to get out of emby/retropie.
...doesn't sound like it works properly, though. And you don't have this same problem, when starting it from console?
Anyway i then moved onto the Raspberry pi 4 with Retropie installed and did the following
...
tried booting emby-theater and was greeted with
Line 2: 1175 Segmentation fault /usr/bin/emby-theaterAnd this is how far i have gotten at the moment?
That "Segmentation fault" indicates that the script itself works, (inasmuch as it's getting run, anyway), just the program doesn't. So, we are back at the start. Can you launch it from console on the RPi4 with either emby-theater or /usr/bin/emby-theater, or anything else?