Wednesday, 2015-05-20

rgareusdrobilla: jalv nos saves presets as   "<plugin-name>.preset.lv2"  is that stadardized  or just jalv?01:05
rgareusdrobilla: after saving a preset jalv complains cannot fine   ~/.lv2/<preset-name>  (no plugin-name). Also menu > delete preset does nothing.01:06
*** tytel has quit IRC01:06
*** tytel has joined #lv201:07
rgareusrelated to  http://tracker.ardour.org/view.php?id=6258   as well, though in ardour's case there's more to it.  lilv_world_unload_resource() and lilv_world_unload_bundle() both  return 0: (nothing was unloaded, re-load fails)01:08
drobillargareus: WFM.02:18
drobillargareus: Jalv, that is02:19
drobillargareus: Ardour uses the same convention, at least02:21
rgareusmmh I'm on April/15's svn 567502:27
rgareusdrobilla: did things change since in LAD svn?02:27
*** tytel has quit IRC02:29
rgareusmmh no svn up  shows only 4 unreleated changes02:29
rgareusdrobilla: presets work in jalv, only deleting them does not. and there's this warning in the terminal when creating a new preset02:30
*** Magnus_RM has quit IRC02:39
drobillargareus: W.  F.  M.  :P03:24
*** edogawa has joined #lv206:24
*** tytel has joined #lv206:50
*** john_cephalopoda has joined #lv207:24
*** ricardocrudo has joined #lv207:31
*** tytel has quit IRC07:34
*** falktx has joined #lv207:55
*** ddom has joined #lv208:00
*** gianMOD has joined #lv208:12
*** john_cephalopoda has quit IRC08:20
*** john_cephalopoda has joined #lv208:48
*** john_cephalopoda has quit IRC09:01
*** sigma6 has joined #lv209:11
*** gianMOD has quit IRC09:12
*** gianMOD has joined #lv209:13
*** JaVelDa has joined #lv210:01
*** mlpug has joined #lv210:11
*** edogawa has quit IRC10:31
*** gianMOD has quit IRC10:34
*** mlpug has quit IRC10:55
*** ventosus has joined #lv211:07
*** ricardocrudo has quit IRC11:08
*** ricardocrudo has joined #lv211:52
*** fundamental has left #lv212:14
JoeboySome of the pages at lv2plug.in have things like "<title><a href="../..">LV2 UI</a></title>" in them.12:22
JoeboyThat probably wasn't supposed to happen.12:22
*** gianMOD has joined #lv212:49
*** ddom has quit IRC14:22
*** gianMOD has quit IRC14:44
*** ddom has joined #lv215:22
*** ddom has quit IRC15:28
*** ddom has joined #lv215:36
*** ddom has quit IRC15:51
*** sigma6 has quit IRC16:00
*** tytel has joined #lv217:14
*** ricardocrudo has quit IRC17:57
*** tytel has quit IRC18:11
*** john_cephalopoda has joined #lv218:52
*** ricardocrudo has joined #lv218:59
ssj71falktx: turns out jalv does support it. I had more ttl errors :S19:05
ssj71it meaning atom:path19:05
ssj71is sord packaged in the repos?19:06
drobillaJoeboy: Hm, odd.  I guess it's kind of redundant with the URI below it, but a back-link to the index is necessary somewhere19:15
drobillassj71: validate!19:15
*** rncbc has joined #lv219:21
falktxssj71: what you want is "sordi" I think19:22
drobillassj71: If you have lilv, you have sord, but the command line utility sordi might be in a separate package from the library depending on distro19:30
john_cephalopodasord_validate19:33
john_cephalopodaI found that jalv output is more helpful than sord output..19:33
rgareusdrobilla: it WFM, too as long as the state is only control-ports.  but  LV2_State_Interface  is sent old data (before updating or re-creating the preset).20:05
rgareusdrobilla: restarting jalv or ardour (world rescan) solves the issue.20:06
rgareusdrobilla: I'm pretty sure that when replacing (or deleting) a preset   lilv_world_unload_bundle()  lilv_world_unload_resource()  should return > 0 (old preset was unloaded). but they return 0.20:09
rgareusdrobilla: any hint how to debug this?  is there a way to easily dump the sord tree?20:10
*** john_cephalopoda has quit IRC20:15
falktxthere's a lilv_world_unload_bundle ?20:24
rgareusfalktx: yes lilv/svn since mid-march20:29
falktxnice, we're going to need this for mod20:30
rgareusfalktx: a convenient wrapper around lilv_world_drop_graph()20:30
falktxbgola: seems like we won't need to re-do the lilv world :)20:30
rgareusbut it does not work as promised at least not for me and a couple of ardour users.  but it apparently works for drobilla20:31
rgareusI'm just trying to track things down.  sord does not find the node(s) to delete/unload.  hence unload  bundle/resource does nothing.20:32
rgareusone way to test   jalv    create a preset, delete the preset, create preset with same name, again -> fails20:33
falktxjalv also fails to show the 3rd preset when saving.20:34
falktxie. have 2 presets installed. save a 3rd one, it wont' be shown20:34
falktxthe 4th one will and etc. the 3rd is "special"20:34
drobillaAh, I was testing a non-state plugin, I'll try that20:52
drobillargareus: Well.......... I could build that in easily enough, but it'd be biiiiiiig20:53
drobillargareus: This is with all the latest libs?20:53
rgareusdrobilla: yes. svn up'ed earlier today20:55
rgareusdrobilla: I think I'm chasing 2 or 3 bugs.  hence I switched to test with jalv (not ardour)20:55
rgareusdrobilla: can you reproduce the above.. "create a preset, delete the preset, create preset with same name [fail]" ?20:56
rgareusthe preset is saved correctly (shows up after jalv restart).  but the runing jalv fails with  "no rdfs:label"  because the old preset is not unloaded correctly.20:57
*** rncbc has quit IRC21:01
rgareusjalv_delete_current_preset() -> lilv_state_delete() -> lilv_world_unload_bundle() -> lilv_world_drop_graph(..,bundle_uri) ->  sord_search()  comes up empty. nothing is erased from the tree.21:01
rgareussadly one can't just printf() the Nodes to make sense of it all.21:03
*** JaVelDa has left #lv221:05
*** falktx has quit IRC21:15
*** ventosus has left #lv221:18
*** falktx has joined #lv221:36
*** HarryHaaren has joined #lv221:37
*** aombk has joined #lv221:40
*** aombk2 has quit IRC21:41
ssj71falktx: so sordi run sord_validate?21:55
ssj71that output is pretty unreadable21:56
*** HarryHaaren has quit IRC21:57
ssj71and it doesn't catch the error21:58
falktxcomplain to drobilla, not me21:59
falktxdon't be afraid, he won't bite :)21:59
falktxI think...21:59
rgareusssj71: why sordi?  just sord_validate should do.21:59
ssj71rgareus: its not installed. it doesn't seem to be packaged for kxstudio22:01
ssj71I should just install from source, but Ive been lazy about it22:01
rgareusssj71: it comes with the package called "sordi"  (on debian)22:02
ssj71rgareus: does it install some otherplace not in the executable path? I have sordi, but sord_validate says not installed.22:03
falktxmy bad I guess22:04
falktxI'll fix this tomorrow22:04
ssj71falktx: awesome. thanks22:05
*** drobilla has quit IRC22:48
*** drobilla has joined #lv222:49
*** ricardocrudo has quit IRC22:56
*** edogawa has joined #lv222:59
rgareusdrobilla: mmh actually 2 bugs inside lilv.   lilv_state_delete() needs to unload the bundle before re-reading the  manifest into the model. (not after)22:59
rgareusdrobilla: I'm still trying to chase down the 2nd bug.  even with "normal" ports.  jalv 1) save state  2) modify some param  3) save state (to same names)  4) load that state  -> old values23:00
rgareusyou need to have 2 states at least - otherwise gtk radio in jalv does not allow  (4)23:00
*** edogawa has quit IRC23:20
*** falktx has quit IRC23:20

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