theothernt / AerialViews

A screensaver for Android TV devices including Nvidia Shield, Fire TV, and Chromecast with Google TV. Inspired by Apple TV's video screensaver.
GNU General Public License v3.0
460 stars 34 forks source link

Support Immich albums as media source #163

Open bugfest opened 2 weeks ago

bugfest commented 2 weeks ago

Immich (https://immich.app) is a popular self-hosted media management server. It provides a very well documented API over HTTP.

This media source would let AerialViews to access an Immich album (pictures and videos) including these assets metadata (e.g: file-type, description, location).

PS. I've prepared an implementation for your consideration. I'll open a PR

theothernt commented 2 weeks ago

Thanks for the PR, I've only had a quick look but it looks good so far. My plan would be to put this into the v1.7.3 as v1.7.2 is nearly ready.

Part of the reason is that as I add more 'providers', I thought I could detect them via the URL (http:// vs smb:// vs file://) but that doesn't seem to work well. So I will add a type/enum to each provider so it's easier to parse for playback in either ImagePlayer or VideoPlayer.

Also translations, which are done by the community, can take a week or two.

bugfest commented 2 weeks ago

That sounds fantastic. Do you have a tentative date for the release so that I can start migrating this implementation?

theothernt commented 2 weeks ago

I hope to release v1.7.2 next week. There will be a beta tomorrow for a few users to test some requested features - if no issues are reported, then it'll be released.

Also, I will add that type/enum piece tomorrow.

bugfest commented 2 weeks ago

Great. I'll move #164 to draft in the mean time!

RyanShahidi commented 2 weeks ago

If its of interest I made a fork that also supports immich. I really only made it for my personal use and only got to the point to get images working but its been working well enough on a shield: https://github.com/RyanShahidi/AerialViewsImmich