Skip to content

bug: plex api scrobble TypeError: source.handle is not a function #291

@boecks

Description

@boecks

Please check existing knowledge before opening an issue

Describe the Bug

I did a pull of latest 0.9.2 and switched to plex-api from plex-webhook
while it seems to actually scrobble, my logs are spammed with errors.

Platform

Docker

Versions

foxxmd/multi-scrobbler:latest 0.9.2
krateng/maloja:latest 3.2.4
debiant apt plex 4.145.1

Logs

TypeError: source.handle is not a function
    at plexIngressRoute (/app/src/backend/server/plexRoutes.ts:32:30)
    at wrappedMiddleware (/app/node_modules/@awaitjs/express/index.js:116:13)
    at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)
    at next (/app/node_modules/express/lib/router/route.js:149:13)
    at /app/node_modules/@awaitjs/express/index.js:131:8
    at <anonymous> (/app/src/backend/sources/PlexSource.ts:317:21)
    at zalgoSafe (/app/node_modules/dezalgo/dezalgo.js:20:10)
    at f (/app/node_modules/once/once.js:25:25)
    at IncomingForm.<anonymous> (file:///app/node_modules/formidable/src/Formidable.js:228:7)
    at IncomingForm.emit (node:events:530:35)

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions