Skip to content

UI is broken if only one Video is available #25

@solisinvictum

Description

@solisinvictum

Long Story Short:

If only one video is available:

grafik

But in the Logs:

[2023-08-16 15:45:25.595 +02:00] [INF] [41] Jellyfin.Plugin.LocalIntros.LocalIntrosController: Found 1 items in library.
[2023-08-16 15:45:25.600 +02:00] [INF] [41] Jellyfin.Plugin.LocalIntros.LocalIntrosController: Retrieving files from directory at /mnt/nfs_terra/Media/Prerolls
[2023-08-16 15:45:25.615 +02:00] [INF] [42] Jellyfin.Plugin.LocalIntros.LocalIntrosController: Removing /mnt/nfs_terra/Media/Prerolls/Jellyfin.mp4 from library.
[2023-08-16 15:45:25.619 +02:00] [INF] [42] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Video", Name: "", Path: "/mnt/nfs_terra/Media/Prerolls/Jellyfin.mp4", Id: a01ef48e-e349-4fb8-9fbb-5559c16244b7
[2023-08-16 15:48:04.860 +02:00] [INF] [55] Jellyfin.Plugin.LocalIntros.LocalIntrosController: Found 0 items in library.
[2023-08-16 15:48:04.860 +02:00] [INF] [55] Jellyfin.Plugin.LocalIntros.LocalIntrosController: Retrieving files from directory at /mnt/nfs_terra/Media/Prerolls
[2023-08-16 15:48:04.860 +02:00] [INF] [55] Jellyfin.Plugin.LocalIntros.LocalIntrosController: Adding /mnt/nfs_terra/Media/Prerolls/Jellyfin.mp4 to library and adding to results.
[2023-08-16 15:48:04.896 +02:00] [INF] [55] Jellyfin.Plugin.LocalIntros.LocalIntrosController: Flagging for config update.
[2023-08-16 15:48:04.897 +02:00] [INF] [55] Jellyfin.Plugin.LocalIntros.LocalIntrosController: No existing items in library, erasing configuration.
[2023-08-16 15:48:04.897 +02:00] [INF] [55] Jellyfin.Plugin.LocalIntros.LocalIntrosController: No configured videos found, adding first video to default.
[2023-08-16 15:48:04.897 +02:00] [INF] [55] Jellyfin.Plugin.LocalIntros.LocalIntrosController: Updating configuration file.

And it works too. So its only a UI Bug.

If atleast 2 Videos are available:

grafik

Then the UI works correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions