Giter VIP home page Giter VIP logo

Comments (7)

oxtyped avatar oxtyped commented on June 21, 2024 7

No worries at all! Thanks for the reply!

Been busy working on this feature. Hoping I can get it out by next week 🤞

Sorry that its taking a while, there's quite a bit of other work commitments lately.

from gpodder2go.

oxtyped avatar oxtyped commented on June 21, 2024 2

Hey all, just some updates, I've pushed out v0.2.0 release which contains the sync endpoint function that was just merged into main.

This release adds support for the 2 /sync-device endpoints.

Right now you'll have to manually call the API endpoints to sync the devices (ref: https://gpoddernet.readthedocs.io/en/latest/api/reference/sync.html) but I will be working on adding a wrapper to the endpoints as a cli command soon. (if anyone wants to take a stab at that, please don't let me stop you).

Do let me know if you run into any issues! 🙏

from gpodder2go.

oxtyped avatar oxtyped commented on June 21, 2024 1

Thanks for this! There isn't synchronization yet but it shouldn't be too hard to implement it.

Let me try and work on this, this week! In the meantime, leaving this open to make sure we don't lose track of this issue!

from gpodder2go.

oxtyped avatar oxtyped commented on June 21, 2024

@peterpepo

Just to understand this a little better, synchronization appears to be a one-time effort where once synchronized, new subscriptions or deletions on one device will always affect the other device?

Does this expect episode actions (eg. playing till a certain timestamp) on one device to also be synced?

from gpodder2go.

oxtyped avatar oxtyped commented on June 21, 2024

Just for my own reference, gpodder/mygpo seem to treat the first value of the device in the synchronize request body as the main device to have other devices synchronize to.

https://github.com/gpodder/mygpo/blob/master/mygpo/api/advanced/sync.py#L75-L81

And it would appear that sync does not handle deletion, instead it propagate all new podcast subscriptions on any of the devices to the other devices in its sync group

https://github.com/gpodder/mygpo/blob/80c41dc0c9a58dc0e85f6ef56662cdfd0d6e3b16/mygpo/users/models.py#L188-L212

from gpodder2go.

peterpepo avatar peterpepo commented on June 21, 2024

@peterpepo

Just to understand this a little better, synchronization appears to be a one-time effort where once synchronized, new subscriptions or deletions on one device will always affect the other device?

Does this expect episode actions (eg. playing till a certain timestamp) on one device to also be synced?

My understanding and expected use is any changes (new, removed subscriptions, played status, playback position, etc..) to be always reflected on all devices. So if I play on device A, then jump onto device B, sync, and everything is mirrored.

Sorry for late reply, it has been a while, since I listened to podcasts on separate device, and forgot about this feature request. I wanted to look and get into topic, before replying your question. :)

from gpodder2go.

oxtyped avatar oxtyped commented on June 21, 2024

Closing this issue. Please feel free to reopen if there's any other sync-related issues, or open a new one.

from gpodder2go.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.