Closed ghost closed 7 years ago
It's already casted to int, just look at your quote @eatmoretv.
Sorry, I should have been clearer, the quote is my fix not from your code. The environmental variable, TVH_TUNER_COUNT, is parsed to 'tunerCount' as text. Resulting in an incorrect tuner count being shown in plex. For example, TVH_TUNER_COUNT=4 becomes 1 tuner in plex. p.s. Thanks for your code it makes Plex DVR actually usable :)
My bad! 😆
Pushed and fix now
tvhProxy.py:
'tunerCount': int(os.environ.get('TVH_TUNER_COUNT')) or 6, # number of tuners in tvh