You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.
Okay this might be a bit of a stretch but I've always been annoyed by how I can't easily only play songs/albums in a specific language on Google play music. I though of many ways and probably the only way I could reasonably approach this issue is by scraping wikipedia or other metadata providers for example, make a big list with all artists and feed it into the: artist contains.
But the current layout makes it a bit impossible. Not sure if this would be wise from a performance standpoint but having a field that goes through line for line and check if its one of the artists, separated by a newline.
So basically provide a readable array to artist contains or a better way to get the language of a song (which isn't provided anywhere in the metadata except maybe an educated guess from all the song titles).
The text was updated successfully, but these errors were encountered:
Hm, interesting. You could maybe hack the big-list approach by generating a massive regex - eg artist matches regex "artist1|artist2|..." - though your computer might blast off trying to run the query, haha.
I can double check if there's any mention of language in Google's hidden metadata, but I think you're right that they don't provide it.
I think the ideal approach would be to make an external thing (probably a gmusicapi script) that adds the language into the comment field, then have Autoplaylists query on eg comment contains "lang:english".
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Okay this might be a bit of a stretch but I've always been annoyed by how I can't easily only play songs/albums in a specific language on Google play music. I though of many ways and probably the only way I could reasonably approach this issue is by scraping wikipedia or other metadata providers for example, make a big list with all artists and feed it into the: artist contains.
But the current layout makes it a bit impossible. Not sure if this would be wise from a performance standpoint but having a field that goes through line for line and check if its one of the artists, separated by a newline.
So basically provide a readable array to artist contains or a better way to get the language of a song (which isn't provided anywhere in the metadata except maybe an educated guess from all the song titles).
The text was updated successfully, but these errors were encountered: