The search network = network seems to return everything. Not sure if Im using it right?
NETWORKS= ["Disney+", "Apple TV+", "Netflix"]
fornetworkNameinNETWORKS:
print(networkName)
forplaylistinplex.playlists():
ifplaylist.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= []
fornetworkNameinNETWORKS:
print(networkName)
forshowintv_shows_section.searchShows(network=networkName):
print(show)
The search network = network seems to return everything. Not sure if Im using it right?