Skip to content
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

OTOTOY #34

Open
UltimateRiff opened this issue Jun 12, 2024 · 3 comments
Open

OTOTOY #34

UltimateRiff opened this issue Jun 12, 2024 · 3 comments
Labels
feature New feature or request provider Metadata provider

Comments

@UltimateRiff
Copy link

I honestly couldn't find any API for OTOTOY, but since it is a Japanese store, most of the help pages aren't in English, so there might be.

https://ototoy.jp

that said, perhaps it could be scraped for data, especially since it's one of the few stores I know that shows catalog numbers (for example, here).

important note, OTOTOY does keep seperate pages for Lossless and High-Resolution releases, which would be the same MusicBrainz release (all other data being the same, of course)

@UltimateRiff
Copy link
Author

also, I believe releases might only be available in Japan, but I'm not 100% certain on that... I think they could be available in Europe too? again, not sure about the borders of availability (and if they change from release to release)

@phw phw added feature New feature or request provider Metadata provider labels Jun 12, 2024
@julian45
Copy link

julian45 commented Jun 12, 2024

OTOTOY is completely restricted to the Japanese market. Furthermore, they don't appear to have a published API.

That being said, they're a decent source of cover art; sometimes, they have even higher-resolution cover art than, e.g., iTunes. If there's any interest in pulling that in, I think it's programmatically possible to find the link to the full-resolution cover art; I believe one of the "Music Hoarders" userscripts that deals with cover art has OTOTOY as a provider. (I'd find the link but am away from my computer for the time being.)

@kellnerd kellnerd mentioned this issue Jun 12, 2024
17 tasks
@julian45
Copy link

TL;DR: found what I was talking about, but it relies on a centralized service that does not appear to provide source code. Might be worth that trouble to get cover art integration; might not. In any case, it appears possible to scrape the tracklist, and given a (scraped) link to imgs.ototoy.jp, you might be able to extract the cover art image yourself.

I was able to track down the userscript I mentioned before that uses a Music Hoarders project to get high-quality cover art from OTOTOY. The Git host for it is currently experiencing some issues, but I extracted a direct link to the script from my browser's copy:
https://notabug.org/SuperSaltyGamer/ame/raw/main/dist/musicbrainz.user.js
The repo itself would most likely be found at: https://notabug.org/SuperSaltyGamer/ame

IIRC the Ame project has a number of integrations with other sites that could be useful (or not) for this project, but this particular script, designed for use on MB's cover art addition page, basically just seeds some data about the release to this closed-source project's interface, then takes the cover art the user selects (and the project feeds it) and drops it into MB's image upload form. The "integration" link near the top of that page details how to programmatically interact with the project. IMO, the project has some benefits, but the fact that it (at least by appearances) is closed-source would not make me comfortable basing an application function on it if I were in kellnerd's shoes.

That being said, for cover art scraping, it might be possible to benefit from Image Max URL or the techniques it itself uses for OTOTOY. As for tracklist scraping, there might be some benefit in adopting techniques used in this userscript.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request provider Metadata provider
Projects
None yet
Development

No branches or pull requests

3 participants