yvanzo, bitmap: right now I'm implementing the changes as bitmap suggested. Offline I'll be working on making a query that properly supports multiple artists and testing it, and I'll make a seperate PR when I finish.
2018-01-04 00411, 2018
xps2 joined the channel
2018-01-04 00446, 2018
dpmittal joined the channel
2018-01-04 00459, 2018
annebelleo joined the channel
2018-01-04 00434, 2018
annebelleo has quit
2018-01-04 00416, 2018
annebelleo joined the channel
2018-01-04 00433, 2018
naiveai
in the reports, how can you get the MBID(/GID) of a particular item?
2018-01-04 00451, 2018
UmkaDK joined the channel
2018-01-04 00420, 2018
UmkaDK has quit
2018-01-04 00433, 2018
annebelleo has quit
2018-01-04 00406, 2018
annebelleo joined the channel
2018-01-04 00415, 2018
annebelleo has quit
2018-01-04 00402, 2018
spellew has quit
2018-01-04 00417, 2018
spellew joined the channel
2018-01-04 00403, 2018
d4rkie joined the channel
2018-01-04 00405, 2018
spellew has quit
2018-01-04 00422, 2018
spellew joined the channel
2018-01-04 00439, 2018
D4RK-PH0ENiX has quit
2018-01-04 00424, 2018
yvanzo
naiveai: item.recording.gid
2018-01-04 00457, 2018
annebelleo joined the channel
2018-01-04 00407, 2018
naiveai
yvanzo: that's the recording gid, so I tried to get the artist gid using item.recording.artist_credit.artist.gid, but that didn't work
2018-01-04 00430, 2018
yvanzo
spellew: There is a whitelist of stashed variables in Server.pm
2018-01-04 00454, 2018
yvanzo
naiveai: Add it to the query output then.
2018-01-04 00455, 2018
yvanzo
naiveai: Or artist_credit.artist is an array?
2018-01-04 00454, 2018
naiveai
yvanzo: maybe
2018-01-04 00404, 2018
naiveai
doesn't seem like it, can't access individual elements
2018-01-04 00423, 2018
yvanzo
Indeed, it looks like only names are available.
2018-01-04 00440, 2018
yvanzo
artist_credit.names
2018-01-04 00449, 2018
naiveai
yvanzo: actually, since right now the query will only return recordings with one artist, we could do
2018-01-04 00402, 2018
naiveai
item.recording.artist_credit.names.0.artist.gid
2018-01-04 00404, 2018
naiveai
it works
2018-01-04 00405, 2018
yvanzo
naiveai: found it in recording.artist_credit.names.0.artist.gid :)
2018-01-04 00415, 2018
yvanzo
+1
2018-01-04 00420, 2018
naiveai
it's a hack, but we'll deal with it
2018-01-04 00432, 2018
naiveai
as I said I am working on a multiple-artists query
2018-01-04 00445, 2018
naiveai
and if and when that happens I'll smack a foreach loop on it
2018-01-04 00447, 2018
naiveai
for now, all the changes are pushed
2018-01-04 00449, 2018
naiveai
should be OK
2018-01-04 00406, 2018
yvanzo
spellew: Just add both 'entities' and 'types' to 'stash_keys' in Server.pm.
2018-01-04 00454, 2018
KassOtsimine joined the channel
2018-01-04 00411, 2018
HSOWA has quit
2018-01-04 00450, 2018
djwhitey_ joined the channel
2018-01-04 00459, 2018
djwhitey has quit
2018-01-04 00405, 2018
annebelleo has quit
2018-01-04 00416, 2018
github joined the channel
2018-01-04 00416, 2018
github
[picard-website] abhigyank opened pull request #108: PW-61: Fixed broken links in /docs/tags (master...61_links) https://git.io/vNvqt