stephane-r / HoloPlay

React-Native app using Invidious API for listening Youtube audio source.
https://holoplay.io
MIT License
175 stars 7 forks source link

Use a self hosted instance #143

Closed SnakeGator closed 3 years ago

SnakeGator commented 3 years ago

Is there a way, or can a way be added, to use a self hosted instance of invidious with HoloPlay?

stephane-r commented 3 years ago

Hey @SnakeGator

This feature is on my todo and will be released soon :)

stephane-r commented 3 years ago

Hello @SnakeGator

The release will be published soon. It will be possible to add several instances and delete them.

Here is an example with a local instance of Invidious :

holoplay-custom-instance

SnakeGator commented 3 years ago

Cool, thanks!

Good work on the app too, when an instance is working the app works well but I often have to switch instances so hopefully this will make things a bit more stable.

stephane-r commented 3 years ago

Feature released on 1.10.1 :)

Updated will be available in ~48-72h if you use Fdroid. Now for github apk file :+1:

Thank you

SnakeGator commented 3 years ago

Thanks for the update.

Are there any configuration changes I need to make on my instance to to get it going properly? Currently, thumbnails don't load and the now playing interface doesn't appear.

stephane-r commented 3 years ago

Only add your url on settings screen.

With my private instance it working. Is it possible to share me your url (on PM) for run some test ?

stephane-r commented 3 years ago

Hey @SnakeGator

Thank you for sharing your domain.

I've test your API and the problem is with your configuration. The empty image is about domain URL with the port 3000. See : https://YOUR-DOMAIN.net/api/v1/search?q=eminem%20live&type=video (replace with your domain :))

Example :

It also seems that other data does not go up, like the popular API: https://YOUR-DOMAIN.net/api/v1/popular

I think if you adjust your configuration by removing the port from your URLs, everything should work better :) Could you keep me informed when you update this ?

SnakeGator commented 3 years ago

Oh wow, my bad. I didn't have 'external_port: 443' set properly to run behind my reverse proxy.

Thanks for finding that for me. After making that change, thumbnails and the now playing interface both load properly.

And again, thanks for the great work on the app.

stephane-r commented 3 years ago

No problem :)

Thank you :+1: