spmp icon indicating copy to clipboard operation
spmp copied to clipboard

Unable to properly select brand account.

Open farsdewibs0n opened this issue 11 months ago • 7 comments

Checklist

  • [X] I am able to reproduce the bug with the latest debug version (Android, Linux, Windows)
  • [X] I've checked that there is no open or closed issue about this bug.
  • [X] This issue contains only one bug.
  • [X] The title of this issue accurately describes the bug.

Steps to reproduce

  1. Log in YouTube Music.
  2. Press Yes instead of manual method.
  3. Insert email and password.
  4. Select brand account.

Expected behavior

The program should log in to the brand account.

Actual behavior

Selecting the brand account logs in to the main account.

Screenshots / recordings

image image Name redacted for privacy reasons, however different colour represents different account (red=main, blue=brand account).

Logs

N/A

SpMp version

0.4.2

SpMp platform

Windows

OS version

Windows 10

Additional information

I have attempted resigning in and doing the manual method, none of them works.

farsdewibs0n avatar Jan 08 '25 20:01 farsdewibs0n

..I'm sorry how do you get the log in Windows? Is there a log file stored somewhere? Because no log shown, nor I can find the log file. And looking at the Event Viewer doesn't show up.

farsdewibs0n avatar Jan 08 '25 20:01 farsdewibs0n

This has been an issue for a while, as YouTube changed the way brand accounts work through the API shortly after I implemented this feature. Not sure if I'll ever get around to fix this, but who knows.

To get the logs I assume you could just run the program in a terminal, there's no external output/storage. If that doesn't work I don't know, I don't really use Windows.

toasterofbread avatar Jan 08 '25 20:01 toasterofbread

To get the logs I assume you could just run the program in a terminal, there's no external output/storage. If that doesn't work I don't know, I don't really use Windows.

I suggest writing the log into a file, usually saved inside %localappdata%, %appdata%, or the root of the program folder. Logging in Windows program usually goes three ways:

  1. Make one log file, but when the program reopens, the old log gets cleared.
  2. Make a new one each time the program runs, differentiated with timestamp (for example. spmp_2025_01_09_13_30.log), tough this is not that common since it can basically fills up space if kept too long
  3. Save logs in Event Viewer, though this is rare on small project.

Right now I have trouble on getting the logs from the Discord feature because Windows doesn't support copying notification content to clipboard. image

farsdewibs0n avatar Jan 08 '25 21:01 farsdewibs0n

Discord status isn't supported on Windows (I should disable the feature, I know). Unfortunately Windows is the lowest priority on a three-platform project (and it's the only one I don't use) so I there's a lot that doesn't get tested/implemented at the moment.

toasterofbread avatar Jan 08 '25 21:01 toasterofbread

Currently having the same issue. I have nothing on my personal account unfortunately. I have my 2600+ Liked Playlist on my brand account, and it would be a pain to transfer over

MattheDev53 avatar Mar 22 '25 03:03 MattheDev53

I'm having a similar issue on Android. Currently trying a manual configuration approach but no luck so far.

Lumb-Chul avatar Apr 04 '25 18:04 Lumb-Chul

Currently trying a manual configuration approach but no luck so far.

I tried the same thing on desktop, but to no avail. It could just be that whatever backend/API the apps are using is just bugged??

MattheDev53 avatar Apr 04 '25 23:04 MattheDev53