Skip to content

[BUG] slskd indexer disabled after repeated "Sequence contains no elements" #33

@blungooo

Description

@blungooo

Tubifarry Version

1.8.0

Lidarr Version

2.11.1.4613

Operating System

Windows

Bug Description

Slskd as indexer is repeatedly being disabled due to "An error occurred while processing feed. : Sequence contains no elements"

In my event log I see tons of these:

10:56am SlskdIndexer An error occurred while processing feed. : Sequence contains no elements

System.InvalidOperationException: Sequence contains no elements
at System.Linq.ThrowHelper.ThrowNoElementsException()
at System.Linq.Enumerable.Min[TSource](IEnumerable1 source, Func2 selector)
at Tubifarry.Indexers.Soulseek.SlskdRequestGenerator.GetSearchRequests(AlbumSearchCriteria searchCriteria)
at NzbDrone.Core.Indexers.HttpIndexerBase1.FetchReleases(Func2 pageableRequestChainSelector, Boolean isRecent) in ./Lidarr.Core/Indexers/HttpIndexerBase.cs:line 89

They also show under lidarr -> events as errors with the bug icons.

Steps to Reproduce

I have multiple wanted albums. When I hit search all, i quickly get flooded with multiple errors that have "sequence contains no elements" and slskd indexer gets disabled

I believe, but am not sure, that this happens under the following circumstances: if an album was added via RSS from another indexer but is not available on musicbrainz, I think it's passing insufficient info to the searcher and it throws an error and disables itself

The albums in question doesn't have a release date listed (it's new) and therefor has no release date etc listed

Expected Behavior

See above

Log Files

Logs
2025-05-20 11:14:08.7|Debug|Api|[GET] /api/v1/trackFile?artistId=144: 200.OK (211 ms)
2025-05-20 11:14:10.2|Trace|Scheduler|Pending Tasks: 0
2025-05-20 11:14:12.1|Trace|Http|Req: 16759 [GET] /api/v1/release?albumId=15990 (from 10.0.0.241 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36)
2025-05-20 11:14:12.1|Debug|Lidarr.Http.Authentication.ApiKeyAuthenticationHandler|AuthenticationScheme: API was successfully authenticated.
2025-05-20 11:14:12.1|Info|ReleaseSearchService|Searching indexers for [VNV Nation - Construct (0)]. 1 active indexers
2025-05-20 11:14:12.1|Trace|SlskdRequestGenerator|Generating search requests for album: Construct by artist: VNV Nation
2025-05-20 11:14:12.1|Trace|EventAggregator|Publishing ProviderStatusChangedEvent<IIndexer>
2025-05-20 11:14:12.1|Error|SlskdIndexer|An error occurred while processing feed. 

[v2.11.1.4613] System.InvalidOperationException: Sequence contains no elements
  at System.Linq.ThrowHelper.ThrowNoElementsException()
  at System.Linq.Enumerable.Min[TSource](IEnumerable`1 source, Func`2 selector)
  at Tubifarry.Indexers.Soulseek.SlskdRequestGenerator.GetSearchRequests(AlbumSearchCriteria searchCriteria)
  at NzbDrone.Core.Indexers.HttpIndexerBase`1.FetchReleases(Func`2 pageableRequestChainSelector, Boolean isRecent) in ./Lidarr.Core/Indexers/HttpIndexerBase.cs:line 89


2025-05-20 11:14:12.1|Debug|ReleaseSearchService|Total of 0 reports were found for [VNV Nation - Construct (0)] from 1 indexers
2025-05-20 11:14:12.1|Debug|ReleaseSearchService|Setting last search time to: 5/20/2025 4:14:12 PM
2025-05-20 11:14:12.1|Info|DownloadDecisionMaker|No results found
2025-05-20 11:14:12.1|Trace|Http|Res: 16759 [GET] /api/v1/release?albumId=15990: 200.OK (38 ms)
2025-05-20 11:14:12.1|Debug|Api|[GET] /api/v1/release?albumId=15990: 200.OK (38 ms)

Screenshots

Screenshots

Metadata

Metadata

Assignees

No one assigned

    Labels

    SoulseekFor features related to SoulseekbugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions