blawar / nut

GNU General Public License v3.0
1.08k stars 189 forks source link

A guide on how to use the Remote Pull #465

Open felipecrs opened 1 year ago

felipecrs commented 1 year ago

I'm trying to use the Remote Pull to download updates to my NSPs, but it simply does not work.

Is there a chance we can have some video or some comprehensive instructions on how to use it?

shoyrock commented 1 year ago

I tested it on macOS and Windows but no lock, hope a fix is added sometime soon

blawar commented 1 year ago

It definitely works, the tinfoil metadata server uses it for pulling in new content to extract metadata from. Can you post more detailed information about what you are trying?

shoyrock commented 1 year ago

this is what I got when I tried using the pull option Screenshot 2023-06-18 202349 Screenshot 2023-06-18 202625

blawar commented 1 year ago

I have only used pull with ftp and local file system (mounted gdrive). Try mounting your gdrive to the local file system using rclone or google file stream, then configuring NUT to pull from the local path.

felipecrs commented 1 year ago

I was expecting I could use a remote pull server like pixelshop (https://github.com/carcaschoi/tinfoil-json) to download updates for my NSPs from within NUT.

Is my expectation correct?

shoyrock commented 1 year ago

I was expecting I could use a remote pull server like Pixelshop (https://github.com/carcaschoi/tinfoil-json) to download updates for my NSPs from within NUT.

Is my expectation correct?

this is what I really wanted but I didn't see any way to get that done that's why I moved to pull from gdrive

shoyrock commented 1 year ago

I have only used pull with ftp and local file system (mounted gdrive). Try mounting your gdrive to the local file system using rclone or google file stream, then configuring NUT to pull from the local path.

image image

seem to work, I don't think that I would be able to use this option with the docker version of nut

felipecrs commented 1 year ago

seem to work

By simply clicking "Setup GDrive OAuth"? I wonder where does it pull assets from :)

I don't think that I would be able to use this option with the docker version of nut

shoyrock commented 1 year ago

seem to work

By simply clicking "Setup GDrive OAuth"? I wonder where does it pull assets from :)

I don't think that I would be able to use this option with the docker version of nut

I'm using Nut via Unraid if this would work. ill be trying to mount Gdrive if that works then maybe, but still not a good fix

andrea-ap commented 1 year ago

i try setup gdrive OAuth , I followed the guide, created credentials, downloaded and hooked credentials.json file without errors, but when I go to remote pull paths and add gdrive , I get this error in Nut: WARNING:googleapiclient.discovery_cache:file_cache is unavailable when using oauth2client >= 4.0.0 or google-auth Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/googleapiclient/discovery_cache/file_cache.py", line 33, in from oauth2client.contrib.locked_file import LockedFile ModuleNotFoundError: No module named 'oauth2client'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/googleapiclient/discovery_cache/file_cache.py", line 37, in from oauth2client.locked_file import LockedFile ModuleNotFoundError: No module named 'oauth2client'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/googleapiclient/discovery_cache/init.py", line 44, in autodetect from . import file_cache File "/usr/local/lib/python3.9/site-packages/googleapiclient/discovery_cache/file_cache.py", line 40, in raise ImportError( ImportError: file_cache is unavailable when using oauth2client >= 4.0.0 or google-auth error