vincelwt / RaspberryCast

:tv: Transform your Raspberry Pi into a streaming device. Videos can be sent from mobile devices or computers (Chrome extension).
MIT License
871 stars 138 forks source link

make server.py Python3 compatible #65

Closed jarondl closed 6 years ago

jarondl commented 6 years ago

This makes server.py compatible with both Python2 and Python3. The expect as e syntax works since Python 2.6, including all versions of Python3. The urllib changed structure between Python2 and Python3

process.py was already 2/3 compatible. rcast.py needs a lot of work, but can be done separately since it is run on another host. YoutubeFullUrl.py is not used anywhere.

Fixes #56

vincelwt commented 6 years ago

Thank you!