jacobwgillespie / plex-sync

:clapper: Command line utility for synchronizing Plex Media Server watched / seen status between multiple servers
https://www.npmjs.com/package/plex-sync
Other
305 stars 37 forks source link

Users sync #70

Open MoonshineSG opened 6 years ago

MoonshineSG commented 6 years ago

Trying to sync the view status of 2 users on the same server

DRY_RUN=1 plex-sync token_user1@192.168.1.11/2,r token_user2@192.168.0.111/2,w

and I always get

TypeError: Cannot read property '$' of undefined
    at _callee2$ (/usr/local/lib/node_modules/plex-sync/lib/plex.js:110:57)
    at tryCatch (/usr/local/lib/node_modules/plex-sync/node_modules/babel-runtime/node_modules/regenerator-runtime/runtime.js:64:40)
    at Generator.invoke [as _invoke] (/usr/local/lib/node_modules/plex-sync/node_modules/babel-runtime/node_modules/regenerator-runtime/runtime.js:355:22)
    at Generator.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/plex-sync/node_modules/babel-runtime/node_modules/regenerator-runtime/runtime.js:116:21)
    at step (/usr/local/lib/node_modules/plex-sync/node_modules/babel-runtime/helpers/asyncToGenerator.js:17:30)
    at /usr/local/lib/node_modules/plex-sync/node_modules/babel-runtime/helpers/asyncToGenerator.js:28:13
    at process._tickCallback (internal/process/next_tick.js:109:7)

Any ideas what could be wrong ?