Plex plugin to to play various online streams (mostly Latvian).

compat.py 232B

123456789101112
  1. from .core import *
  2. from .codec import *
  3. def ToASCII(label):
  4. return encode(label)
  5. def ToUnicode(label):
  6. return decode(label)
  7. def nameprep(s):
  8. raise NotImplementedError("IDNA 2008 does not utilise nameprep protocol")