vsTerminus / Discord-NP

Last.FM Now Playing info in your Discord status message
MIT License
43 stars 6 forks source link

Tracks not getting picked up annd not showing #20

Closed Matias314 closed 3 years ago

Matias314 commented 3 years ago

Hello, I tried to run the Windows binary and it seems to connect and everything but my tracks are not showing and it doesn't seem to do much more than this. WindowsTerminal_LRu3wfVClu

vsTerminus commented 3 years ago

That's strange. When you listen to music does it show up on your Last.FM page as "Scrobbling Now"?

scrobbling now

If they always just say "X minutes ago" then it's your scrobbler not sending the songs as currently playing, which is what the script is looking for.

You can try editing "config.ini": Set log_level = debug and save the file, then run it again. Wait a few seconds after it says "Connected to Discord" and then open "mojo-discord.log".

Do not share the raw contents of this log - it contains your entire Discord token. I will remove that in a future version.

It should look something like this: (I deleted my token from the logfile)

mojo-discord-log

Specifically you should see [dispatch_ready] Discord gateway is ready if Discord is connected, and then if it's finding your music properly [send_op] Sent: with the details of whatever you are listening to, and then [debug] SESSIONS_REPLACE payload: to tell you it's updating your presence status in Discord.

If yours looks different than this, please let me know and we can figure it out.

Matias314 commented 3 years ago

Turns out my scrobbler did not report tracks as currently playing, resolved that and it's working now. Thanks a lot!