Empty Collection/Playlist when Movies/Series are added #177

Closed
opened 2025-04-25 16:47:17 +00:00 by martenumberto · 1 comment
martenumberto commented 2025-04-25 16:47:17 +00:00 (Migrated from github.com)

As a Workaround to enabled auto-playback of a Series, i thought it was a good idea to simply create a Playlist or Collection of that Series. Adding the Item looks successfull but viewing that Collection/Playlist results in an Empty one.
I dont know atm if this Porblem is related to this Plugin, to Jellyfin or to https://github.com/Kevinjil/Jellyfin.Xtream/pull/150 (but i dont think its related to this PR since Movies does have the same behavior).
I'll dive deeper into that. If you have any Infos that could help, dont hasitate to share.

[2025-04-25 15:11:13.566 +00:00] [WRN] [150] MediaBrowser.Controller.Entities.BaseItem: Unable to find linked item at path "http://xtream-api.example/myfile.mp4"

EDIT: I've found the corresponding class in the Jellyfin Source:

    private BaseItem FindLinkedChild(LinkedChild info)
    {
        var path = info.Path;

        if (!string.IsNullOrEmpty(path))
        {
            path = FileSystem.MakeAbsolutePath(ContainingFolderPath, path);

            var itemByPath = LibraryManager.FindByPath(path, null);

            if (itemByPath is null)
            {
                Logger.LogWarning("Unable to find linked item at path {0}", info.Path);
            }

            return itemByPath;
        }

        if (!string.IsNullOrEmpty(info.LibraryItemId))
        {
            var item = LibraryManager.GetItemById(info.LibraryItemId);

            if (item is null)
            {
                Logger.LogWarning("Unable to find linked item at path {0}", info.Path);
            }

            return item;
        }

        return null;
    }
As a Workaround to enabled auto-playback of a Series, i thought it was a good idea to simply create a Playlist or Collection of that Series. Adding the Item looks successfull but viewing that Collection/Playlist results in an Empty one. I dont know atm if this Porblem is related to this Plugin, to Jellyfin or to https://github.com/Kevinjil/Jellyfin.Xtream/pull/150 (but i dont think its related to this PR since Movies does have the same behavior). I'll dive deeper into that. If you have any Infos that could help, dont hasitate to share. > [2025-04-25 15:11:13.566 +00:00] [WRN] [150] MediaBrowser.Controller.Entities.BaseItem: Unable to find linked item at path "http://xtream-api.example/myfile.mp4" EDIT: I've found the corresponding class in the Jellyfin Source: > private BaseItem FindLinkedChild(LinkedChild info) > { > var path = info.Path; > > if (!string.IsNullOrEmpty(path)) > { > path = FileSystem.MakeAbsolutePath(ContainingFolderPath, path); > > var itemByPath = LibraryManager.FindByPath(path, null); > > if (itemByPath is null) > { > Logger.LogWarning("Unable to find linked item at path {0}", info.Path); > } > > return itemByPath; > } > > if (!string.IsNullOrEmpty(info.LibraryItemId)) > { > var item = LibraryManager.GetItemById(info.LibraryItemId); > > if (item is null) > { > Logger.LogWarning("Unable to find linked item at path {0}", info.Path); > } > > return item; > } > > return null; > }
Kevinjil commented 2025-05-03 10:02:56 +00:00 (Migrated from github.com)

The Jellyfin feature we use to implement libraries is not (well) tested in the Jellyfin source and no official plugins use it. I kind of expect these kind of compatibility issues with other features like collections. If you need this, you could open an issue upstream.

The Jellyfin feature we use to implement libraries is not (well) tested in the Jellyfin source and no official plugins use it. I kind of expect these kind of compatibility issues with other features like collections. If you need this, you could open an issue upstream.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Sirherobrine23/Jellyfin_Xtream#177
No description provided.