sunnyhd / homeintouch

A home automation project using socket.io
2 stars 0 forks source link

cant update music branch #171

Closed sunnyhd closed 11 years ago

sunnyhd commented 11 years ago

info - socket.io started now listening on 8081... XBMC RPC. Method: Playlist.GetPlaylists Params: null [{"playlistid":0,"type":"audio"},{"playlistid":1,"type":"video"},{"playlistid":2,"type":"picture"}] info - handshake authorized 12753943472057072036

/Users/kb/Desktop/homeintouch-mt05-media-music/node_modules/mongoose/lib/utils.js:413 throw err; ^ TypeError: Cannot call method 'toString' of undefined at Promise.exports.years (/Users/kb/Desktop/homeintouch-mt05-media-music/app/controllers/albums.js:66:38) at Promise.addBack (/Users/kb/Desktop/homeintouch-mt05-media-music/node_modules/mongoose/lib/promise.js:120:8) at Promise.EventEmitter.emit (events.js:96:17) at Promise.emit (/Users/kb/Desktop/homeintouch-mt05-media-music/node_modules/mongoose/lib/promise.js:59:38) at Promise.complete (/Users/kb/Desktop/homeintouch-mt05-media-music/node_modules/mongoose/lib/promise.js:70:20) at Query.execFind (/Users/kb/Desktop/homeintouch-mt05-media-music/node_modules/mongoose/lib/query.js:810:28) at model.Document.init (/Users/kb/Desktop/homeintouch-mt05-media-music/node_modules/mongoose/lib/document.js:199:11) at model.init (/Users/kb/Desktop/homeintouch-mt05-media-music/node_modules/mongoose/lib/model.js:182:36) at cb (/Users/kb/Desktop/homeintouch-mt05-media-music/node_modules/mongoose/lib/query.js:808:14) at exports.tick (/Users/kb/Desktop/homeintouch-mt05-media-music/node_modules/mongoose/lib/utils.js:408:16)

sunnyhd commented 11 years ago

Still getting this error message

XBMC RPC. Method: Playlist.GetPlaylists Params: null [{"playlistid":0,"type":"audio"},{"playlistid":1,"type":"video"},{"playlistid":2,"type":"picture"}] info - handshake authorized 553524300690120611

/Users/kb/Desktop/homeintouch-mt05-media-music/node_modules/mongoose/lib/utils.js:413 throw err; ^ TypeError: Cannot call method 'indexOf' of undefined at Promise. (/Users/kb/Desktop/homeintouch-mt05-media-music/app/controllers/albums.js:43:23) at Promise. (/Users/kb/Desktop/homeintouch-mt05-media-music/node_modules/mongoose/lib/promise.js:120:8) at Promise.EventEmitter.emit (events.js:95:17) at Promise.emit (/Users/kb/Desktop/homeintouch-mt05-media-music/node_modules/mongoose/lib/promise.js:59:38) at Promise.complete (/Users/kb/Desktop/homeintouch-mt05-media-music/node_modules/mongoose/lib/promise.js:70:20) at /Users/kb/Desktop/homeintouch-mt05-media-music/node_modules/mongoose/lib/query.js:810:28 at model.Document.init (/Users/kb/Desktop/homeintouch-mt05-media-music/node_modules/mongoose/lib/document.js:199:11) at model.init (/Users/kb/Desktop/homeintouch-mt05-media-music/node_modules/mongoose/lib/model.js:182:36) at cb (/Users/kb/Desktop/homeintouch-mt05-media-music/node_modules/mongoose/lib/query.js:808:14) at /Users/kb/Desktop/homeintouch-mt05-media-music/node_modules/mongoose/lib/utils.js:408:16