Skip to content

Commit

Permalink
DLNA周りのミスコミットを修正したりとかなんとか
Browse files Browse the repository at this point in the history
  • Loading branch information
kanreisa committed Sep 20, 2015
1 parent 321bead commit 41254f1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 25 deletions.
20 changes: 2 additions & 18 deletions .gitignore
Expand Up @@ -17,21 +17,5 @@
/usr
/usr/*
/node
/node_modules/dateformat
/node_modules/easy-table
/node_modules/http-auth
/node_modules/oauth
/node_modules/mtwitter
/node_modules/opts
/node_modules/socket.io
/node_modules/xml2js
/node_modules/.bin
/node_modules/mocha
/node_modules/should
/node_modules/sinon
/node_modules/spdy
/node_modules/mkdirp
/node_modules/string
/node_modules/hoard
/node_modules/execsync
/node_modules/geoip-lite
/node_modules/*
!/node_modules/chinachu-common
11 changes: 4 additions & 7 deletions app-wui.js
Expand Up @@ -39,7 +39,7 @@ var socketio = require('socket.io');
var chinachu = require('chinachu-common');
var S = require('string');
var geoip = require('geoip-lite');
var UPnPServer = require('/home/kanreisa/store/store/kanreisa/dev/upnpserver');
var UPnPServer = require('chinachu-upnp-server');

// Directory Checking
if (!fs.existsSync('./data/') || !fs.existsSync('./log/') || !fs.existsSync('./web/')) {
Expand Down Expand Up @@ -777,17 +777,14 @@ function ioServerSocketOnDisconnect(socket) {
if (config.wuiDLNAServerEnabled === true) {
var dlnaServer = new UPnPServer({
log: true,
logLevel: 'INFO',
logLevel: 'TRACE',
ssdpLog: true,
ssdpLogLevel: 'INFO',
ssdpLogLevel: 'DEBUG',
name: 'Chinachu (beta)',
httpPort: 20773,
uuid: '49ee272d-f140-4cf0-a8cf-b7caa23ff772'
}, [
{
path: path.resolve(config.recordedDir),
mountPoint: '/recorded'
}
path.resolve(config.recordedDir)
]);

dlnaServer.start();
Expand Down

0 comments on commit 41254f1

Please sign in to comment.