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

[Feature request] Docker image support #72

Open
beilke opened this issue Apr 12, 2024 · 9 comments
Open

[Feature request] Docker image support #72

beilke opened this issue Apr 12, 2024 · 9 comments
Assignees
Labels
enhancement New feature or request

Comments

@beilke
Copy link

beilke commented Apr 12, 2024

Is it possible to add docker support? This would help people with NAS to get the games directly from their NAS to the PS4 or PS5.

@Gkiokan
Copy link
Owner

Gkiokan commented Apr 13, 2024

#66 Probably the same request from a technical aspect.
It will be a cool feature, but is not a high Prio.

For now it's probably better to use my HB-Store Server CLI Version and combine it with the HB-Store on your PS4/5 and gain access to all files.

@HVR88
Copy link

HVR88 commented Apr 23, 2024

Docker would be great, tons of folks running Proxmox, Unraid, etc. And typically these systems are also great for pulling content - (example, RDT, JD, etc.)

With a web view, any device is able to control the full pipeline without any local app/dependency installs.

@Gkiokan
Copy link
Owner

Gkiokan commented Apr 23, 2024

I wonder if you can use your NAS/Server - or whatever dedicated Storage Service you have - as the basePath which would probably work already. The application itself does handle the GUI and have a server for hosting this files for the Consoles.
This is for the local use-case which works fine so far.

There is something in my ToDo as a feature "share your pkg files to users" which might be in the right direction.
There will be a CLI client, that will share the files - which could be run as docker then - and and you can just join your host and have access to all the files.

The Dedicated UI is something that I want to build as a Chrome/FF Extension, so you could have the features without having the application itself or even access the UI though IP:port.

All possible things which are chained somehow together but I am missing time for the development right now.
Next update Queue is probably end of Q2 if everything works fine on my other Projects.

But this is something that I have on my ToDo, don't worry.

@Gkiokan Gkiokan added the enhancement New feature or request label Apr 23, 2024
@Gkiokan Gkiokan self-assigned this Apr 23, 2024
@beilke
Copy link
Author

beilke commented Apr 23, 2024

For sure it works. You can map the network drive and then use as a path for sending the PKGs to the console but the performance would not be nice as you would have to get the PKG from your NAS into your PC and then send to the console. Having the docker image inside of the console would make it faster as you have direct access to the files to be send.

@Gkiokan
Copy link
Owner

Gkiokan commented Apr 23, 2024

For sure it works. You can map the network drive and then use as a path for sending the PKGs to the console but the performance would not be nice as you would have to get the PKG from your NAS into your PC and then send to the console. Having the docker image inside of the console would make it faster as you have direct access to the files to be send.

Not really. The GUI and server does only respond to the RPI on the Console with the Full URI of the File. So if we get a full qualified URI for the File on the NAS, that one will be send to the RPI and hence RPI takes it straight from the NAS.
You can verify that by Opening the Server Debug Window and check for the Found Files Objects in the Router.

Is anyone free to test this and report back?

@HVR88
Copy link

HVR88 commented Apr 23, 2024

Unfortunately it's not possible to get a URI for the file on a server while using a PC or Mac app that uses only local pathing.

Any path available to the app is presented as a local path (mount point), even if it's on a server somewhere else. So for example, in my case, I use NFS on my Mac to access my server shares. if I add a base path, it's referenced as /Volumes/Share-path

That path is a mount point on my Mac which in turn is using the OS's NFS to connect to the server. That means when the URI is passed to the PS4 it's going to be through the Mac. So going backwards, it's PS4 -> Mac URI -> Mac Mount Point -> NFS server share

Running in a docker with an imported path, the docker image can have direct access to the local storage on the same server system. So it would be PS4 -> Docker URI (which is directly serving the file)

In other words, one single network hop versus two.

Even if you prefix the URL, the app will use my Mac's IP, so nothing changes, still two hops. If the app can't access the file directly, it can't just pass some URI to a resource that requires a specific protocol to access - the PS4 wouldn't be able to access my share directly unless it had support for NFS for example. At least that's the way I understand it.

@HVR88
Copy link

HVR88 commented Apr 24, 2024

I've set up a web/http filesharing service on my Unraid system with which I can generate direct links to any file on my shares. Paste a link into any browser and it download the file just like from any site on the web. Such a link passed to the PS4 would work without passing the data through my client machine where I'm running the sender sw.

However, I don't see how to add such a link/path/uri

I've tested using another app, Direct Sender which doesn't use RPI but instead goldhen's own binloader and that works as expected.

@Masamune3210
Copy link

There is already an AppImage being built, just take that, extract the image, shove it into a docker container. biggest thing would be UI access and interaction.

@Gkiokan
Copy link
Owner

Gkiokan commented Apr 24, 2024

That explains quite a bit. Got it.

I think the CLI Client would be enough for this as I described before.
Once it's done, you guys can take care of the Docker part (with instructions) for the crowd.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants