Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

forced moonlight to use the moonlight config #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion GenerateGamesList.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
RefreshListScript = 'Refresh.sh'

BashHeader = '#!/bin/bash\n'
StreamString = 'moonlight stream -720 -app '
StreamString = 'moonlight stream -config /home/pi/moonlight-embedded/moonlight.conf -app '
roms_directory = '/home/pi/RetroPie/roms/moonlight/'


Expand Down
29 changes: 17 additions & 12 deletions Install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@ echo -e "****************************************************************\n"
echo -e "Select an option:"
echo -e " * 1: Complete Install and Setup"
echo -e " * 2: Install Moonlight"
echo -e " * 3: Pair Moonlight to PC"
echo -e " * 4: Install Moonlight Menu in RetroPie"
echo -e " * 5: Install Moonlight Refresh Script in RetroPie"
echo -e " * 6: Install Moonlight themes"
echo -e " * 7: Remove Launch Scripts"
echo -e " * 8: Exit"
echo -e " * 3: Configure Moonlight"
echo -e " * 4: Pair Moonlight to PC"
echo -e " * 5: Install Moonlight Menu in RetroPie"
echo -e " * 6: Install Moonlight Refresh Script in RetroPie"
echo -e " * 7: Install Moonlight themes"
echo -e " * 8: Remove Launch Scripts"
echo -e " * 9: Exit"

read NUM
case $NUM in
Expand All @@ -26,28 +27,32 @@ case $NUM in
sudo bash ./Scripts/Install_moonlight.sh
sudo bash ./Install.sh
;;
3)
3)
sudo bash ./Scripts/Configure_moonlight.sh
sudo bash ./Install.sh
;;
4)
sudo bash ./Scripts/Pair_moonlight.sh
sudo bash ./Install.sh
;;
4)
5)
sudo bash ./Scripts/Install_moonlight_menu.sh
sudo bash ./Install.sh
;;
5)
6)
sudo bash ./Scripts/Install_Scripts.sh
sudo bash ./Install.sh
;;
6)
7)
sudo bash ./Scripts/Install_themes.sh
sudo bash ./Install.sh
;;
7)
8)
echo -e "\nRemoving all Moonlight launch scripts..."
rm -rf /home/pi/RetroPie/roms/moonlight
sudo bash ./Install.sh
;;
8)
9)
exit 1
;;
*) echo "INVALID NUMBER!" ;;
Expand Down
4 changes: 4 additions & 0 deletions Scripts/Configure_moonlight.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash
echo -e "\nOpening Moonlight Configuration file..."
sudo nano "/home/pi/moonlight-embedded/moonlight.conf"