Refined fix for index out of range error

This closes #8. It should now be mergeable.

The old fix would look at media.items[0].parts[0].file and if this fails at media.seasons[1].episodes[1].items[0].parts[0].file.

This will fail too however, if there is no season 1 and/or episode 1. The refined fix will change the second look to use whatever season or file is found.

My use case is Profiler. I don't like that show enough to have all episodes, but I have some of them. The agent will fail to recognize these without the refined fix.

I hope this explains the reason for the additional change a little better than the last PR.

greetings

SlrG