ruddarr / app

A native iOS companion app for Radarr and Sonarr instances.
https://apps.apple.com/app/ruddarr/id6476240130
MIT License
117 stars 6 forks source link

Spotlight integration not working #335

Closed alessandro-newzoo closed 1 month ago

alessandro-newzoo commented 1 month ago

Hello, and thank you for finally building an alternative to Lunasea - I absolutely love Ruddarr <3

I noticed Spotlight integration isn't working for me. I'm not sure exactly what to expect, but when I search for a movie I have, it doesn't show up. It's not specific to any movie, none of the movies I have will show up.

Ruddarr 1.2.0 iOS 18.0 iPhone 14 Pro

251C721B-6A50-4928-AB3E-EB6AE939F6B3_1_102_o 685B085B-BDAF-454E-BD7A-64084F9312D1_1_102_o ScreenRecording_10-01-202410-43-49_1-ezgif com-resize

tillkruss commented 1 month ago

It takes a while to load all the posters. Scroll through your full library, or wait until the app fetched all content.

https://github.com/ruddarr/app/blob/ed5246a47af163ac3459bd331874ffe83d1e37bd/Ruddarr/Services/Spotlight.swift#L45-L49

alessandro-newzoo commented 1 month ago

@tillkruss I'm not sure what you mean, I've installed the update when it came out, which was days ago, and I use the app daily (and scrolled through my library several times), so I take it that should be enough time for the app to fetch the library?

tillkruss commented 1 month ago

@alessandro-newzoo Can you send me a dump of your /series and /movie endpoints, I'll check if it contains any data/characters that might throw off the indexer.

alessandro-newzoo commented 1 month ago

@tillkruss here you go, hope it's what you asked for: sonarr_radarr_dump.zip

tillkruss commented 1 month ago

I pushed build 273 to TestFlight that resolved a bunch of Spotlight issues I've had myself.

alessandro-newzoo commented 1 month ago

Yesterday I've updated to the beta version 1.2.1 (273), cleared image cache, deleted spotlight index, browsed through all my tv shows and movies several times, even opened some, and let 24 hours pass, still no luck.

I haven't tested them all, but here are the results of the entries I've checked:

Show up:

Don't show up:

tillkruss commented 1 month ago

I've refactored the indexer in 1.3.0, if that doesn't work I'll need access to your instances to replicate this.

alessandro-newzoo commented 1 month ago

Unfortunately nothing's changed, I've repeated the previous steps (update to 1.3.0, clear cache, delete spotlight index, browse all lists, and wait 24h).

I tried joining the Discord server but the link at https://ruddarr.com has expired, so I'm gonna send you the logins via email and we can continue the convo here if you like.

Side note: didn't know you were the guy behind Object Cache Pro and Redis Object Cache, no way! I use both extensively at work ♥️

Thank you!

tillkruss commented 1 month ago

@alessandro-newzoo Too funny 😂

Does this link not work for you in a browser? https://discord.gg/UksvtDQUBA

tillkruss commented 1 month ago

Adding your instances indexes content just fine for me and shows up in the spotlight search. Must be a configuration or some kind of issue with your device. Sorry 🤷🏻‍♂️

[info] #movies: Fetched movies (count: 31)
[info] #spotlight: Indexing [Movie] (instance: BBF01273-6B4A-4DC1-9BEE-9C53CB501E79; count: 31)
[info] #spotlight: Indexed [Movie] (instance: BBF01273-6B4A-4DC1-9BEE-9C53CB501E79; count: 31)

[info] #series: Fetched series (count: 56)
[info] #spotlight: Indexing [Series] (instance: 72B64F1E-0310-4204-821D-50C56A17F67B; count: 56)
[info] #spotlight: Indexed [Series] (instance: 72B64F1E-0310-4204-821D-50C56A17F67B; count: 56)
alessandro-newzoo commented 1 month ago

Does this link not work for you in a browser? https://discord.gg/UksvtDQUBA

Nope! I get this

CleanShotX - Arc  10 10 2024 at 10-22-12 @2x

Adding your instances indexes content just fine for me and shows up in the spotlight search. Must be a configuration or some kind of issue with your device. Sorry 🤷🏻‍♂️

😕

alessandro-newzoo commented 1 month ago

Update: the link doesn't work from the browser, but if I add the server through the Discord app and paste the link there, it works 🤷🏻

Seems to be a problem on my end.