So this edge case popped up today I guess where the Mets vs Nats game was listed in the API but it has no actual radio or TV broadcast thus giving this wonderful error:
File "/config/Library/Application Support/Plex Media Server/Plug-ins/Lazyman.bundle/Contents/Code/game.py", line 62, in fromContent
for stream in content["media"]["epg"] if stream["title"] in ["MLBTV", "NHLTV"]
KeyError: 'epg'
See API result here,tickets)&language=en) (it's game 1).
So this edge case popped up today I guess where the Mets vs Nats game was listed in the API but it has no actual radio or TV broadcast thus giving this wonderful error:
See API result here,tickets)&language=en) (it's game 1).