Bug 454674 - Feature request: custom server URL for syncing
Summary: Feature request: custom server URL for syncing
Status: RESOLVED FIXED
Alias: None
Product: kasts
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: bart
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-31 18:51 UTC by nathan
Modified: 2022-06-10 21:49 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nathan 2022-05-31 18:51:38 UTC
It would be nice to be able to enter a custom sync url for those who self-host gpodder instances; I'd love to switch from the  gpodder desktop app to Kasts.
Comment 1 bart 2022-06-01 06:16:23 UTC
Oh, so there are still people running their own gpodder service. :p
I deliberately didn't implement custom gpodder host names in order to avoid confusion for people not familiar with the service, and because I thought nobody would use it anyway.

Technically, it's not that hard to implement.  Will just need to think about how to expose it in the GUI without it confusing new users.
Comment 2 nathan 2022-06-01 12:36:21 UTC
haha, yes. I run it on my YunoHost server. Maybe something like a checkbox labelled "Use custom server" and a greyed-out text-input field for the URL that becomes accessible when the checkbox is checked? I'd be happy to do some mockups if you would find that helpful.
Comment 3 Moritz 2022-06-02 07:17:25 UTC
Just as an additional reason to change it: the official gpodder.net site fails at adding new users and I had to change to an alternative provider.
Comment 4 bart 2022-06-10 19:53:58 UTC
Git commit c4f12227a213c6ffd8b6ded0d5d208cf84a247c5 by Bart De Vries.
Committed on 10/06/2022 at 19:29.
Pushed by bdevries into branch 'master'.

Add capability to define custom gpodder server

M  +15   -5    src/qml/Settings/SynchronizationSettingsPage.qml
M  +28   -15   src/sync/sync.cpp

https://invent.kde.org/plasma-mobile/kasts/commit/c4f12227a213c6ffd8b6ded0d5d208cf84a247c5
Comment 5 bart 2022-06-10 19:55:35 UTC
Just pushed the implementation to the master branch.
If you would be able to compile the app from the master branch and test this functionality I would be very grateful.  No problem if you can't or don't know how to do this.
Comment 6 nathan 2022-06-10 21:29:49 UTC
(In reply to bart from comment #5)
> Just pushed the implementation to the master branch.
> If you would be able to compile the app from the master branch and test this
> functionality I would be very grateful.  No problem if you can't or don't
> know how to do this.

Thank you for implementing this! 
I was able to compile successfully; all appears to be working so far:

* Login functionality works
* Adding new device through Kasts GUI works
* Sync works to get podcasts from server
* Add podcast & sync successfully adds new podcast to server
* Delete podcast and sync successfully removes podcast from server
* Podcasts synced from server download and play successfully
Comment 7 bart 2022-06-10 21:49:02 UTC
Thank you so much for testing!

This feature will end up in the next stable release, which should happen sometime later this month.