Giter Club home page Giter Club logo

Comments (7)

sentriz avatar sentriz commented on June 22, 2024 1

ah you're right they are quite mixed up like that. maybe ill add some split admin vs logged in user pages then. thanks!

from gonic.

sentriz avatar sentriz commented on June 22, 2024

hmmm looks like that is a submission=false scrobble, mean just "now playing" instead of a real scrobble

do you have any with submission=true?

also which client are you using?

from gonic.

fletchowns avatar fletchowns commented on June 22, 2024

Ahh, thanks! That gives me something to go on.

I am using airsonic-refix for my client, looks like this is where it handles the scrobbling: https://github.com/tamland/airsonic-refix/blob/bc4920fa57a20236ad7eef6f4483e50726b845c6/src/player/store.ts#L359-L384

From that, it looks like there should be another /scrobble call when you get to 70% of the track

Sure enough, shortly after that original log line I posted, I see the call with submission=true:

2023/12/02 21:44:17 response  200  GET /scrobble?id=tr-17777&submission=false&v=1.15.0&f=json&c=https%3A%2F%2Fmusic.mydomain.net&u=fletchowns&s=KAp...&t=8f6...
2023/12/02 21:46:44 response  200  GET /scrobble?id=tr-17777&submission=true&v=1.15.0&f=json&c=https%3A%2F%2Fmusic.mydomain.net&u=fletchowns&s=KAp...&t=8f6...

from gonic.

sentriz avatar sentriz commented on June 22, 2024

interesting . I also use refix and it scrobbles great. maybe try unlink and link again in gonic?

from gonic.

fletchowns avatar fletchowns commented on June 22, 2024

Oh jeez - I just realized my mistake. The account linking to last.fm & listenbrainz is per-user. I had established the linking for my admin account, but not the gonic user account that I'm actually using from my player. I've logged into gonic with the user I'm actually using from refix, and linked last.fm & listenbrainz, and it's working now! Apologies for wasting your time 🤦

from gonic.

sentriz avatar sentriz commented on June 22, 2024

glad you got it working 👍

I think I mention that idea of multi user scrobbling stuff in the UI . if you think the copy could be improved let me know

from gonic.

fletchowns avatar fletchowns commented on June 22, 2024

I do see the copy refers to that, and upon careful reading it makes sense:

scrobble to listenbrainz and compatible sites on a per user basis

I think what threw me off was the mix of contexts in the sections in the gonic ui.

  • stats section is global, all gonic users see the same thing
  • user management is user specific. admin user sees all users and can add new users, other users only see themselves listed here
  • recent folders is global, all gonic users see the same thing, but only admin can initiate a scan
  • transcoding device profiles is user specific, you are setting the transcoding preferences for the logged in user
  • last.fm is specific to the logged in user
  • listenbrainz is specific to the logged in user
  • podcasts is admin only
  • internet radio stations seems to be admin only

from gonic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.