OPDS feed id should be unique
Bug #1756666 reported by
Mike Ferenduros
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
As of 3.19, the OPDS root feed's id is always 'urn:calibre:main', whereas Atom requires that this be a globally unique identifier.
I can't use the network address as a feed ID as it's not stable (eg DHCP), nor unique (eg. two feeds on two different LANs may share an IP or MDNS name).
Right now my app is identifying all calibre OPDS feeds as the same feed, which effectively means the user is only able to subscribe to a single such feed in the app.
Any chance of making this id globally unique? I'm unfamiliar with the code (and Python), but is library_id suitable for constructing a per-installation UUID?
To post a comment you must log in.
I'm somewhat unclear on what you are asking for. You want two different calibre installs to generate different ids? Why would a user be running two different calibre installs?
If so, I dont want to do that, as doing that might break other apps that depend on the id value to recognize calibre feeds. However, I'm willing to expose the calibre installation id which is unique per install elsewhere in the feed.