[Solved]Getting Moonlight to run without..
-
Based on what you wrote there, something tells me your path is not correct. The path you have above leads to the ports directory where the shell script was created. Is that really where the Moonlight executable resides? Remember, the shell script we created is different than the actual Moonlight executable. The path needs to point to the latter.
-
@mediamogul
I THINK it's under /usr/bin
Lemme try that.Edit:
Nope. I tried to change the path to:
/usr/bin/moonlight stream [My IP Address]
That is my Moonlight.shIt's still telling me:
sh: 1: /home/pi/RetroPie/roms/ports/Moonlight.sh: not found -
Just for clarity, I have to ask if the
/usr/bin/
location was a guess or did actually check to see if it was there first? -
@mediamogul
xD I checked. I'm still looking through my other folders, but thats where I see moonlight.
If you have any form of IM to make this quicker i'm ok with that. Just let me know what you have.Edit:
Just tried running that moonlight from the /usr/bin folder and that is the right path -
Based on the ability to run the command as you originally listed from the file manager without doing anything more, you might want to try:Edit: Well, I have to admit, I'm at a bit of a loss. I'm probably missing something because it's late. I'll continue to think on it, but in the mean time, if anyone else out there can see what the barrier might be, feel free to chime in.
-
@mediamogul
Right. I didn't think of using the origional path but I don't know what's going on either. Figured a simple script should fix this.
All good. If you think of anything, i'll check this as often as I can to see if anythign works.
I just cant figure out why it says it's not found. -
After some more thought, I still don't have much as to why this isn't working. The error you're getting reports that the problem is with line 1 of the script, so my only advice is to examine it closely for any potential issues.
-
@mediamogul
I have been. No idea what's going on. I guess i'll just have to type it in through the File Manager if I wanna use it.
Thanks for all your help though. I appreciate it. -
Is it at all possible that the script has even temporarily been on a Windows/Mac drive or been through Windows/Mac software?
-
@mediamogul
Yeah. I have it saved on the RetroPie, but I opened and edited it through Samba and use Notepad++, save it, then reload emulationstation.
Only reason I did that is because for some reason when I try to type a poun sign(#) on the command line on the Pi, I get the symbol for a Euro. xD or well it looks like a Euro symbol.
I can always SSH into it and do it that was it that would work since it's still creating it on the Pi itself. -
-
You crazy Brits with your kooky keyboards and Spotted Dick. Actually, you'll have to forgive me. The only knowledge I have of the region comes from 'King Ralph'.
-
@mediamogul said in Getting Moonlight to run without..:
You crazy Brits with your kooky keyboards and Spotted Dick. Actually, you'll have to forgive me. The only knowledge I have of the region comes from 'King Ralph'.
I'm actually from the US. xD Mine just isn't set to be US.
@herb_fargus said in Getting Moonlight to run without..:
When I try this, it doesn't save. Mine has an extra step I don't see in your video about asking what my Model of Keyboard is. It's a Logitech Wireless Keyboard. So i'm running through most the logitech options now.
EDIT:
Keyboard is working properly. Had to do a restart. Going to try to add the script in manually now. -
@Exmix keyboard type doesn't really matter. Default 105 keyboard works fine.
-
@herb_fargus
Yeah I got it now. :P@mediamogul
Update:
So I manually added Moonlight.sh to the /home/pi/RetroPie/roms/ports/ directory.
I try to run it, it says:
sh: 1: /home/pi/RetroPie/roms/ports/Moonlight.sh: Permission deniedSO I try to do a:
chmod +x /home/pi/RetroPie/roms/ports/Moonlight.shIt tells me:
chmod: changing permissions of /home/pi/RetroPie/roms/ports/Moonlight.sh : Operation not permitted -
@Exmix said in Getting Moonlight to run without..:
chmod +x /home/pi/RetroPie/roms/ports/Moonlight.sh
Try
sudo chmod +x /home/pi/RetroPie/roms/ports/Moonlight.sh
-
@mediamogul
Mother Effin PERFECT!
It's working perfeclty now.
I'll update my first post to try to help if anyone else has this issue ever. -
@Exmix said in Getting Moonlight to run without..:
Mother Effin PERFECT!
Q-Bert couldn't have said it better. I'm glad to see this resolved. A while back, I was helping someone out with a similar issue for launching DOOM wads from ES and I believe this might have been the same problem. I'll have to track that post down & point it back here for reference.
God save the Queen.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.