mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[Group] Jellyfin.db EFCore refactor bugs & issues #6474
Reference in New Issue
Block a user
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?
Originally created by @JPVenson on GitHub (Nov 17, 2024).
Originally assigned to: @JPVenson on GitHub.
This is the group issue for Bugs releated to the refactor of library.db into the jellyfin.db.
@crobibero commented on GitHub (Nov 24, 2024):
Guid.ToString("D")but then queried asGuid.ToString("N"). Consider changing theBaseItemEntity.ChannelIdto be aGuidinstead ofstring@gnattu commented on GitHub (Nov 24, 2024):
Can’t really use guid for channel id for LiveTV because some LiveTV plugins will not generate valid channel ID because it was not required to be a guid, and this field may be very hard to migrate for those plugins.
@joshuaboniface commented on GitHub (Nov 26, 2024):
Can't replicate @crobibero 's issue 2, at least for a few shows on my migrated library. It does take 2-3 seconds to load the episodes, but then they load.
@TheMelmacian commented on GitHub (Jan 27, 2025):
At the moment the OwnerId of BaseItemEntity is of type
stringwhile all other fields that reference the Id (Id, ParentId, TopParentId, SeriesId, SeasonId) are of typeGuid:7684986fa1/Jellyfin.Data/Entities/BaseItemEntity.cs (L137)While both Id and OwnerId are defined as text in the database, due to the different types in the code the former is saved as upper case and the latter is saved as lower case. This makes any comparison between these two fields inconvenient and inefficient.
So maybe it makes sense to convert OwnerId to a Guid?
@FerronN commented on GitHub (Jun 7, 2025):
I read about the refactoring in the RC release notes. Does this also enable us to use other EF Core database providers like postgresql or mysql?