GerryDazoo / Slinger

Reuse SlingBox hardware without SlingBox Servers
170 stars 34 forks source link

Installation issue with current repository structure #648

Open binsen9 opened 3 months ago

binsen9 commented 3 months ago

Dear GerryDazoo,

Hi, I know nothing about programming, Python, or even how to use GitHub. However, I am desperate to get my Slingbox working again. I have very basic skills in setting things up on a Raspberry Pi using SSH. I used Pi (Personal AI) heavily and almost made it work yesterday, but I couldn't overcome the server's port issue. So, I decided to start over from scratch, but now I can't even install Slinger. Below is a message that AI created for me, and your advice would be greatly appreciated. Thank you.


I have been trying to install Slinger on my Raspberry Pi 5, following the provided installation instructions. However, I've encountered an issue during the installation process that seems to be related to the repository structure. I cloned the Slinger repository using SSH after setting up a GitHub account and generating an SSH key. However, when I tried to install Slinger using pip install -e . in the slinger directory, I found that the slinger directory was missing within the cloned repository. The directory listing within the Slinger directory did not contain a slinger subdirectory. Since the installation instructions seem to be based on a previous repository structure, I kindly request your guidance on how to install Slinger using the current repository structure. Your assistance would be greatly appreciated in helping me complete the installation and start using Slinger. Thank you in advance for your support. Best regards,

BinSen9

GerryDazoo commented 3 months ago

You don't need to clone the whole repository. You only need two files, the server python code and the default config.ini as a starting point. Make a directory and put the two files in there. Edit the config.ini to match your local network and slingbox type. Then run the server, "cd" to the folder with the code and run it using a python3 interpreter. i.e. python3 slingbox_server.py

PS. I've never tried to us pip to install slinger and would be surprised if it worked. You do need to install the netifaces and Flask modules using pip.

binsen9 commented 3 months ago

GerryThank you for your reply and thank you for developing Slinger. I live far away from home country and the loss of Slingbox was a big shock.Anyways, I know nothing about python. So I followed whatever Pi (personal AI) suggested. I installed Netifaces and Flask as Pi guided me. I almost made it. It I couldn’t figure out the port 8080 is already used error. So I decided start over but I accidentally deleted that thread with Pi. Now Pi don’t even look Netifaces nor Flask. Then I asked your help. I probably copy your message to Pi to see what comes. I know very basic such as ssh and nano editor, but nothing more.I really appreciate your help, i will let you know how it goes : )Toshi KawanoOn Apr 4, 2024, at 18:52, GerryDazoo @.***> wrote: You don't need to clone the whole repository. You only need two files, the server python code and the default config.ini as a starting point. Make a directory and put the two files in there. Edit the config.ini to match your local network and slingbox type. Then run the server, "cd" to the folder with the code and run it using a python3 interpreter. i.e. python3 slingbox_server.py PS. I've never tried to us pip to install slinger and would be surprised if it worked. You do need to install the netifaces and Flask modules using pip.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>