Wednesday, 2015-11-18

*** edogawa has quit IRC00:00
*** ricardocrudo has quit IRC00:09
*** artfwo has quit IRC02:21
rgareusdrobilla:  does  lilv_node_as_string() honor translations?02:24
rgareusschemas.lv2/doap.ttl  has a wrong translation      doap:Project   ...   rdfs:label "Prijekt"@de , "Project"@en ,...02:26
rgareusin German it's  "Projekt"02:26
rgareusanyway, run  lv2info  on an unclassified plugin and lv2info prints   Class: Prijekt02:27
rgareussame in Ardour.  I got a comple of Prijekts :)02:27
rgareusit seems lilv/sord  just takes the first listed label regardless of locale.02:28
drobillargareus: You should get the nodes that correspond to the current locale05:12
drobillargareus: There is no meaningful "first listed".  First sorted by lang name, maybe.05:13
drobillaThere is a test case for this that tinkers LANG and checks lilv_port_get_name, but it should apply to anything similar05:14
*** colock has quit IRC05:20
*** colock has joined #lv205:25
*** colock has quit IRC06:03
*** colock has joined #lv206:27
*** edogawa has joined #lv207:01
*** colock has quit IRC07:57
*** sigma6 has joined #lv208:41
*** ventosus has joined #lv208:48
*** falktx has joined #lv208:52
*** ssj71 has quit IRC08:54
*** ricardocrudo has joined #lv209:16
*** ricardocrudo has quit IRC09:26
*** timbyr has joined #lv209:33
*** ricardocrudo has joined #lv210:47
*** NickSB2 has joined #lv210:55
*** ventosus has left #lv210:59
*** aombk3 has quit IRC11:22
*** ziggypup has joined #lv211:29
*** ziggypup has left #lv211:29
rgareusdrobilla: easy way to test  http://paste.debian.net/333507/12:13
rgareusdrobilla: that prints          LANG=en_US.UTF-8    Class:  Prijekt12:14
*** ventosus has joined #lv213:32
*** edogawa has quit IRC14:54
*** ventosus has left #lv214:54
drobillargareus: It is a plugin class specific bug.  The plugin class stuff just gets the rdfs_label, doesn't use the get all lands lilvnodes bit15:01
drobillaWhich probably means it's also true of several other things that use Sord directly internally15:01
drobilla(Also doap is annoying and plugins being doap:Projects was dumb as hell)15:01
rgareusdrobilla: untranslatable class/category is fine with me. For AudioUnit they're not translated, either.15:28
rgareusdrobilla: I just added extra filters to the Ardour Plugin Manager GUI and noticed the "Prijekt" typo.15:28
drobillargareus: Nah, it needs fixing and is easy enough15:51
drobillaThe language stuff just isn't applied everywhere a string is fetched15:51
drobillaState labels will also have the same problem15:52
drobillaI'll look into it later.  Looking at IRC this morning has already violated the first rule of this morning :)15:52
rgareusdrobilla: if you make this translatable, I'll have to update Ardour to directly use the URIs to identify Classes.15:54
rgareusdrobilla: which I should probably have done in the first place.15:54
*** badosu has joined #lv215:59
*** ssj71 has joined #lv217:01
*** sigma6 has quit IRC17:07
drobillargareus: Surely.  The labels are very definitely not usable as identifiers17:29
rgareusdrobilla: I've just prepared this.17:42
rgareusdrobilla: I don't know if we can easily keep the plugin's  const LilvPluginClass*  in   LV2PluginInfo17:43
rgareusdrobilla: it looks like it's not a pointer to the world's LilvPluginClasses  but a plugin specific const pointer.17:43
rgareusso   LV2PluginInfo  will have to keep a POD copy of the URI or something similar.17:44
*** falktx has quit IRC17:55
*** uncle-j_j has joined #lv218:22
*** ricardocrudo has quit IRC18:55
drobillargareus: I don't think they're ever copied, should be a pointer to the world ones, but reloading could theoretically nuke those anyway.  Since speed is irrelevant, just using a string and looking up info when you need it seems a safe bet19:03
*** deva has joined #lv219:18
*** falktx has joined #lv220:43
*** ricardocrudo has joined #lv220:58
*** deva has quit IRC21:00
*** uncle-j_j has quit IRC21:15
*** rncbc has joined #lv221:23
*** aombk has joined #lv222:11
*** HarryHaaren has joined #lv222:18
*** edogawa has joined #lv222:40
*** ricardocrudo has quit IRC22:42
*** ricardocrudo has joined #lv222:55
*** falktx has quit IRC23:13
*** HarryHaaren has quit IRC23:16
*** edogawa has quit IRC23:28
*** rncbc has quit IRC23:34

Generated by irclog2html.py 2.13.0 by Marius Gedminas - find it at mg.pov.lt!