Skip to content

Hidden servers makes account.Servers() crash #105

@LukkiHyde

Description

@LukkiHyde

Is your feature request related to a problem? Please describe.
My Plex server has two old servers that I cant delete. They dont show up in plex. But I see them in ApiService.
When I run account.Servers() I get all servers in my APIservice. But when Servers() start looping through all the servers to call them, it crashes cause they dont exist.

Describe the solution you'd like
I think it would be nice with a Servers() took in AccountServerContainer so that you could use ServerSummaries() to specifie if you want to exclude servers beeing called.

Describe alternatives you've considered
Maybe take in just a List of either Name of server or IP to exclude severs

Additional context
image
0 and 1 does not exist and makes code crash

image
Calling first and second server

image
The only servers existing in my plex

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions