removed ssdp support, fixed EADDRINUSE bug ( closes #67 )

Esse commit está contido em:
Simon Kusterer
2015-02-19 23:48:08 +01:00
commit 236145b7a4
3 arquivos alterados com 2 adições e 10 exclusões
-2
Ver Arquivo
@@ -70,8 +70,6 @@ contains subtitles.
* `--bypass-srt-encoding` Disable automatic UTF8 encoding of SRT subtitles.
* `--ssdp` Use SSDP instead of MDNS for scanning.
* `--help` Display help message.
### player controls
-6
Ver Arquivo
@@ -38,7 +38,6 @@ if (opts.help) {
'--type <val> Explicity set the mime-type (e.g. "video/mp4")',
'--bypass-srt-encoding Disable automatic UTF8 encoding of SRT subtitles',
'--seek <value> Seek to the specified time on start using the format hh:mm:ss or mm:ss',
'--ssdp Use SSDP instead of MDNS for scanning',
'--help This help screen',
'',
@@ -72,11 +71,6 @@ if (opts.verbose || process.env.DEBUG) {
ui.hide();
}
if (opts.ssdp) {
delete opts.ssdp;
opts.scanType = 'ssdp';
}
ui.showLabels('state');
var last = function(fn, l) {
+2 -2
Ver Arquivo
@@ -1,6 +1,6 @@
{
"name": "castnow",
"version": "0.4.9",
"version": "0.4.10",
"description": "commandline chromecast player",
"main": "index.js",
"bin": {
@@ -30,7 +30,7 @@
"array-loop": "^1.0.0",
"castv2-client": "0.0.8",
"chalk": "^0.5.1",
"chromecast-player": "0.1.9",
"chromecast-player": "0.1.10",
"debounced-seeker": "^1.0.0",
"debug": "^2.1.0",
"fs-extended": "^0.2.0",