-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
multiple lastfm users with jellyfin leads to log spam #85
Comments
Thanks for the writeup and logs! I've added another option for jellyfin that can suppress these log statements: If you still want to log these warnings for debugging purposes (when using
otherwise they can be turned off completely by setting to [
{
"name": "JellyUser1",
"clients": [
"LastFmUser1"
],
"data": {
"users": [
"User1"
],
"servers": [
"jellyfin"
],
"options": {
"logPayload": false,
"logFilterFailure": false
}
}
},
{
"name": "JellyUser2",
"clients": [
"LastFmUser2"
],
"data": {
"users": [
"User2"
],
"servers": [
"jellyfin"
],
"options": {
"logPayload": false,
"logFilterFailure": false
}
}
}
] Please let me know if this fixes your issue. |
That did indeed fix my issue. Thanks, now the logs no longer give me anxiety! Quick question before you close this issue (if that's alright): "See lastfm.json.example, change configureAs to source." Does that mean that lastfm can only act as source OR client? My goal is to scrobble from MusicBee to Lastfm directly and let multi-scrobbler then use LastFM as a source for Maloja to sync those scrobbels between LastFM and Maloja. |
You can use as many lastfm configs as you want, as source or client. Yes your setup is valid.
Basically this. The only other change would be to make sure that when set as a [
{
"name": "myLastFmSource",
"configureAs": "source",
"clients": ["MyMalojaClient"],
"data": {
"apiKey": "a89cba1569901a0671d5a9875fed4be1",
"secret": "ec42e09d5ae0ee0f0816ca151008412a",
"redirectUri": "http://localhost:9078/lastfm/callback"
}
},
{
"name": "myLastFmClient",
"configureAs": "client",
"data": {
"apiKey": "a89cba1569901a0671d5a9875fed4be1",
"secret": "ec42e09d5ae0ee0f0816ca151008412a",
"redirectUri": "http://localhost:9078/lastfm/callback"
}
}
] |
nvm I'm stupid. The way you suggested works well so far. Thanks a lot! Feel free to close the issue and thanks again! |
Please check the FAQ before submitting a bug report.
Describe the bug
I've configured lastfm.json and jellyfin.json with 2 users and scrobbling works for both.
However ever since I added a second user the log is constantly being spammed.
To Reproduce
Add 2 users to lastfm.json and jellyfin.json and play something.
Maybe there's something wrong with my config, here's how my .jsons look:
lastfm.json:
jellyfin.json:
Expected behavior
A way to either prevent those from being logged (as it's expected behaviour to not scrobble for a user who is not allowed) or at least to hide them from the log. It spams so many lines per second that the log is becoming unusable.
Logs
If possible reproduce the issue with debug logging ON
Versions (please complete the following information):
The text was updated successfully, but these errors were encountered: