In which file is the bug?
Describe the setup (arguments and their values, how it was run, etc.):
- In Tautulli running in a docker on Unraid. Testing using on play trigger.
Describe what the bug is:
Traceback (most recent call last):
File "/config/scripts/rolling_tv_channel.py", line 133, in <module>
response = rolling_tv_channel(ssn=ssn, playlist_name=args.PlaylistName)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/scripts/rolling_tv_channel.py", line 75, in rolling_tv_channel
playlist_output = ssn.get(f'{base_url}/playlists/{playlist_ratingkey}/items').json()['MediaContainer']['Metadata']
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
KeyError: 'Metadata'
Describe what should be happening:
Playlist has been created but remains empty and get the above error.
In which file is the bug?
Describe the setup (arguments and their values, how it was run, etc.):
Describe what the bug is:
Describe what should be happening:
Playlist has been created but remains empty and get the above error.