[GH-ISSUE #678] Ebooks are always generated with the same content uuid #341

Closed
opened 2026-02-25 23:33:59 +03:00 by kerem · 4 comments
Owner

Originally created by @fmartingr on GitHub (Jul 27, 2023).
Original GitHub issue: https://github.com/go-shiori/shiori/issues/678

Originally assigned to: @Monirzadeh on GitHub.

Data

Describe the bug / actual behavior

Ebooks use the same UUID: https://github.com/go-shiori/shiori/blob/master/internal/core/ebook.go#L152

Expected behavior

Research the field and provide an adequate value.

Originally created by @fmartingr on GitHub (Jul 27, 2023). Original GitHub issue: https://github.com/go-shiori/shiori/issues/678 Originally assigned to: @Monirzadeh on GitHub. ## Data - **Shiori version**: Latest master as of today: https://github.com/go-shiori/shiori/commit/faa1ae94356d7b723074d41b4b1a9fddfd1c0854 - **Database Engine**: N/A - **Operating system**: N/A - **CLI/Web interface/Web Extension**: CLI/Web ## Describe the bug / actual behavior Ebooks use the same UUID: https://github.com/go-shiori/shiori/blob/master/internal/core/ebook.go#L152 ## Expected behavior Research the field and provide an adequate value.
kerem 2026-02-25 23:33:59 +03:00
Author
Owner

@Monirzadeh commented on GitHub (Jul 27, 2023):

Thanks, I will fix that soon.
is it create any specific issue on any device?

<!-- gh-comment-id:1653225243 --> @Monirzadeh commented on GitHub (Jul 27, 2023): Thanks, I ~~will~~ fix that ~~soon~~. is it create any specific issue on any device?
Author
Owner

@fmartingr commented on GitHub (Jul 29, 2023):

Thanks, I will fix that soon.
is it create any specific issue on any device?

Honestly I don't know of specifics, but maybe some readers will replace books with the same UUID? I haven't made any research into that. Should the UUID be created from the file contents?

<!-- gh-comment-id:1656578647 --> @fmartingr commented on GitHub (Jul 29, 2023): > Thanks, I ~will~ fix that ~soon~. > is it create any specific issue on any device? Honestly I don't know of specifics, but maybe some readers will replace books with the same UUID? I haven't made any research into that. Should the UUID be created from the file contents?
Author
Owner

@Monirzadeh commented on GitHub (Jul 29, 2023):

UUID in this case is something similar, ISBN (not exactly just similar). It should start with alphabet and some other rule. I'm working on that.

<!-- gh-comment-id:1656592547 --> @Monirzadeh commented on GitHub (Jul 29, 2023): UUID in this case is something similar, ISBN (not exactly just similar). It should start with alphabet and some other rule. I'm working on that.
Author
Owner

@fmartingr commented on GitHub (Aug 19, 2023):

UUID in this case is something similar, ISBN (not exactly just similar). It should start with alphabet and some other rule. I'm working on that.

Field type specify it should be uuid: urn:uuid

<!-- gh-comment-id:1684888501 --> @fmartingr commented on GitHub (Aug 19, 2023): > UUID in this case is something similar, ISBN (not exactly just similar). It should start with alphabet and some other rule. I'm working on that. [Field type specify it should be `uuid`](https://github.com/go-shiori/shiori/blob/master/internal/core/ebook.go#L152): `urn:uuid`
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shiori#341
No description provided.