vocadb
vocadb copied to clipboard
More filters for search: media/source type
Currently we only have the option to search for:
- no original media
- no media and
- only with PVs
I think it would be useful to include the type of media as well. For example:
- NicoNicoVideo
- YouTube
- bilibili
- SoundCloud
Based on the the media types that are currently supported as embeds.
I am not sure though, if it should be "only original media" or if it should include reprints as well as default.
I am not sure though, if it should be "only original media" or if it should include reprints as well as default.
The current API implementation includes reprints as well, so it should probably mirror the same behaviour.
You can use the songs
API call with the parameter pvServices
. For example, use https://vocadb.net/api/songs?pvServices=YouTube and https://vocadb.net/api/songs?pvServices=SoundCloud for YouTube and SoundCloud, respectively.
These are all possible values of pvServices
: https://github.com/VocaDB/vocadb/blob/dc352077711421e5d2c07a196aa427cc401b2841/VocaDbModel/Domain/PVs/PVService.cs#L45-L68.
Oh okay. How do I use it? I want to find songs that have no YT PV added.
Hmm, I think it's impossible with the current API implementation.
If it's a one time thing, you could use the datadump to get the entries with no Youtube PVs.
Given that this topic got reopened on VocaDB itself, consider this a vote towards PV search functions, once again.