Add MusicMe *Bibliothèque* (Library) for login to the MusicMe source provider #5421
mintgrey
started this conversation in
Feature requests and ideas
Replies: 1 comment 4 replies
-
|
Hi, I wasn't aware that there were subdomains for musicMe. I'll put in my todo list to investigate those. Do you know other subdomain of musicMe like those ? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everybody, hi @JulienDeveaux
Julien, great work for the (still beta for the moment) MusicMe source provider !
For the moment, the process of userId retrieval seems to work only with the official MusicMe website (from https://www.musicme.com/mon-musicme/connexion/ with login/password ==> playerInit "object"==> userId "field").
But MusicMe also works with the Bibliothèque (Library) access (via MusicMe Pro), which doesn't allow to login by the official website, but works only with the dedicated portal(s) (URL : https://subdomain.bib.musicme.com/, like https://preau.bib.musicme.com/ for the "Preau" (Education Nationale) access ; https://placedesarts.bib.musicme.com/ ; ...)
For these websites, the provider doesn't work "as is".
Can the retrieval of the userId with these portals can be implemented ?
For a first test, I successfully (web) login to the portal, and I retrieve the userId by using the Firefox/Chrome webbrowser developer tools.
By copying/pasting directly this userid in the python code, the provider works :) !
Unfortunately, it seems the userid is only valid for 24h...
EDIT : After 72h+, I think the userid is valid for more than 24h : good news ! (so I think the explicit "userid" field in advanced mode can be a good choice !)
Before implementing the retrieval, I think it can be a good idea to add a field (even in "advanced" mode) to specify manually the userid (even if it's "hard" to find in the developer console) for debugging purpose.
To be continued... :)
Beta Was this translation helpful? Give feedback.
All reactions