diff --git a/server.js b/server.js new file mode 100644 index 0000000..b7ea472 --- /dev/null +++ b/server.js @@ -0,0 +1,6 @@ +var http = require('http'); +http.createServer(function (req, res) { + res.writeHead(200, {'Content-Type': 'text/plain'}); + res.end('Hello World\n'); +}).listen(8124, "10.0.0.41"); +console.log('Server running at http://127.0.0.1:8124/'); diff --git a/v1/plexPy/plexPlaying.xml b/v1/plexPy/plexPlaying.xml index d641e35..420b624 100644 --- a/v1/plexPy/plexPlaying.xml +++ b/v1/plexPy/plexPlaying.xml @@ -1,6 +1,6 @@ - diff --git a/v1/plex_watching.py b/v1/plex_watching.py index 4806187..021bd2b 100755 --- a/v1/plex_watching.py +++ b/v1/plex_watching.py @@ -53,4 +53,4 @@ def plex_watching(): return 'Null playing' if __name__ == '__main__': - plex_watching() + print(plex_watching())