Cannot use Nextcloud Search with app enabled #57
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi there, very cool app you are building here.
System: Nextcloud-aio, Nextcloud 27.1.5, php 8.1
When the app is enabled, I cannot use the Nextcloud Search.
The error message I get is:
Declaration of OCA\RePod\Service\SearchProvider::getOrder(string $route, array $routeParameters): ?int must be compatible with OCP\Search\IProvider::getOrder(string $route, array $routeParameters): int at /var/www/html/custom_apps/repod/lib/Service/SearchProvider.php#32
So it's maybe only necessary to change the return type of
getOrder()
toint
?Thank you for reporting this !
In Nextcloud 28, this function can return null, so I mistakly copied the definition.
The change you hint is indeed the way to fix the issue.
A new version has been deployed, you'll have it in a few minutes.
I would like to take this opportunity to thank you for your commit inside the gPodder Sync repository to include RePod in the list of compatible gPodder Sync app.
b4739dff02
Perfect, thanks for fixing this!
You're welcome :) always happy when I can sync podcasts with a new client - and that there now is a Nextcloud app is just great!
Btw: any chance you are at FOSDEM this weekend?
I didn't know that is this week !
I live in Nantes and Brussels is pretty far for me to be there now sadly.
Maybe next year ^^
Too bad, that would have been too nice. First time for me this year, but next year sounds good as well ^^
If you by any chance have time and are interested in even more podcast synchronization, I recommend taking a look at openpodcastapi.org. We are working on a protocol there that will hopefully replace Gpodder at some point. (Though the project is still in an early stage). And there even will be a lightning talk at FOSDEM about it: https://fosdem.org/2024/schedule/event/fosdem-2024-3390-introducing-the-open-podcast-api/
Oh nice ! I will look forward to this new API but it won't change much for RePod since it relies at 100% to gPodder Sync.
But if gPodder Sync changes, I'll adapt my software as well ^^