From: owner-fegmaniax-digest@smoe.org (fegmaniax-digest) To: fegmaniax-digest@smoe.org Subject: fegmaniax-digest V19 #443 Reply-To: fegmaniax@smoe.org Sender: owner-fegmaniax-digest@smoe.org Errors-To: owner-fegmaniax-digest@smoe.org Precedence: bulk fegmaniax-digest Wednesday, May 9 2018 Volume 19 : Number 443 Today's Subjects: ----------------- Re: fegmaniax-digest V19 #441 ["Stewart C. Russell" ] ---------------------------------------------------------------------- Date: Tue, 8 May 2018 21:46:43 -0400 From: "Stewart C. Russell" Subject: Re: fegmaniax-digest V19 #441 On 2018-05-07 05:13 PM, bayard wrote: > >> If you're looking to maintain Robynbase, IA has a queryable interface >> that could (with a little fiddling) return performance dates to >> particular songs. > > Can you point me to more info on this? It sounds like something I should > learn more about. (cw: nerdy shit herein ...) This is using `ia`, the Internet Archive CLI tool: https://internetarchive.readthedocs.io/en/latest/cli.html archive.org arranges items in 'collections' (eg RobynHitchcock), and each item (of any kind on the archive, not just live shows) has an identifier string (eg robynhitchcock2018-04-27.flac16). Each item has a bunch of fields: the etree ones have a fairly well defined set. Unless you specify a key, the search facility queries the text writeup. So, to list all the items in the collection RobynHitchcock (which is a subset of all Robyn shows on archive.org): ia search 'collection:RobynHitchcock' --itemlist which returns RH2014-02-04.mix.flac.16 RH2014-02-05 RobynHitchcock1988-09-05.JEMS RobynHitchcock1989-03-13.JEMS RobynHitchcock1989-03-14.JEMS RobynHitchcock1990-10-04.cm-s20.flac16 RobynHitchcock1990-10-27.cm-s20.flac16 RobynHitchcock1990-12-30.cm-s20.flac16 RobynHitchcock1992-02-07.cm-s20.flac16 RobynHitchcock1993-05-19.cm-s20.flac16 ... Each of those is a show, and is queryable in its own way. What items contain the text "Grooving On An Inner Plane"? ia search 'collection:RobynHitchcock "Grooving On An Inner Plane"' - --itemlist which returns robynhitchcock2018-04-27.flac16 You can dig into keywords: what recordings are from venues in Philadelphia? ia search 'collection:RobynHitchcock coverage:"Philadelphia, PA"' - --itemlist which returns RobynHitchcock2006-11-22 robynhitchcock2014-11-09.WorldCafe-Philly robynhitchcock2018-04-27.flac16 If you want to return all of the metadata for a show (and there's a lot) you can pick it up in json format: ia metadata robynhitchcock2018-04-27.flac16 This returns a ridiculous amount of data, and the entry for just one of the original files looks like: { "height" : "1080", "title" : "Cynthia Mask", "external-identifier" : "urn:acoustid:05e8fc76-74ba-42c5-b678-d78db2d1604f", "width" : "1440", "crc32" : "b9baea16", "md5" : "0ced1bcd872dc19170d81b71c6fa8dc6", "size" : "29261449", "creator" : "Robyn Hitchcock", "track" : "12", "mtime" : "1525659389", "length" : "312.05", "name" : "robynhitchcock2018-04-27t12.flac", "artist" : "Robyn Hitchcock & His L.A. Squires", "source" : "original", "sha1" : "6642d501a8b3879592e7e8b5001e21e403133f95", "album" : "2018-04-27 - Underground Arts", "format" : "Flac" }, > The naming conventions were what totally impeded me ever getting anywhere > with uploading. If you can think of a way to automate it that would be > amazing! The good news is that the etree file naming rules seem to have been relaxed a bit, but they're still hardly free-form. The ia tool can be used to upload whole items (I uploaded most of the LOGIC Apple // collection using it, around 500 items: ) but it needs watching to see if an upload failed. cheers, Stewart ------------------------------ End of fegmaniax-digest V19 #443 ********************************