Skip to content

TV Search By Network #402

@bbakermmc

Description

@bbakermmc

The search network = network seems to return everything. Not sure if Im using it right?

NETWORKS = ["Disney+", "Apple TV+", "Netflix"]

for networkName in NETWORKS:
    print(networkName)
    for playlist in plex.playlists():
        if playlist.title == networkName:
            r = requests.delete('{}/playlists/{}?X-Plex-Token={}'.format(baseurl, networkName, token))
            print('{} already exists. Deleting it and will rebuild.'.format(networkName))

tv_shows_section: Union[ShowSection, PhotoSection, MovieSection, MusicSection] = plex.library.section('TV Shows')
episode_list = []
for networkName in NETWORKS:
    print(networkName)
    for show in tv_shows_section.searchShows(network=networkName):
        print(show)

Metadata

Metadata

Assignees

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