forgot to add the list 2016-11-23 23:10 GMT+01:00 Michele Spelta <aspelt...@gmail.com>: > Hi Erik, > the link was exactly that. I tried the stuff included into the > source tree and it works but not as I would expect. > to be more precise what I did was essentially sanitizing some of my > files which means they got moved and their ID3 tags changed a little, > now the updater found all of the new files as expected and this is > good, it also did not figured out they were moved so I lost the > statistics... (not good but expected and acceptable since it is not > supposed to read into my mind). big negative point is that it does not > remove the no longer existing old entries only thing I notice is that > the new entries have a status equals to 1 while the old ones have it > set to 3. > now I did not managed to figure out what these numbers means, can you > or anyone point me to were this is described? > anyway if the number three means broken then I can easily search for > them and remove them but still I would expect the updater is able to > do this by its own. Do I miss some special setting to enable this? > another thing that surprised me is that I did not get any indication > of changed or added entries in the medialib using the > broadcast_medialib_entry_added and broadcast_medialib_entry_changed in > my python code running in parallel to the updater, is that normal? and > in case it is how can I know if something is happening? > > cheers > Michele > > 2016-11-20 14:00 GMT+01:00 Erik Massop <e...@ixsop.nl>: >> On Sun, 20 Nov 2016 12:36:19 +0100 >> Michele Spelta <aspelt...@gmail.com> wrote: >> >>> Hi, I see there was a script for doing the update of the medialib, but >>> the link is broken. >> >> Is the link you are talking about the link to >> http://nooms.de/media/xmms2-mlib-update.py on >> https://xmms2.org/wiki/Contribs#Medialib_updater? >> >>> now just remove all entries no longer in the filesystem and add all >>> the new ones can be good, but if possible I would also like to just >>> change the url in case the file was just moved. >>> also having this in the standard client would be good I suppose >> >> There is xmms2-mlib-updater in the main source tree at >> https://git.xmms2.org/xmms2/xmms2-devel/tree/src/clients/medialib-updater, >> but I'm not sure if it handles moves gracefully. >> >> Anyway, it can be configured using >> $ xmms2 server config clients.mlibupdater.watch_dirs "${dir?}" >> and you can either start it manually or with a >> symlink in ~/.config/xmms2/startup.d. >> >> On Debian this is available in the package >> xmms2-client-medialib-updater. See >> https://packages.debian.org/jessie/xmms2-client-medialib-updater. >> >> >> I hope that helps. >> >> Cheers, >> >> Erik (nesciens on IRC)
-- _______________________________________________ Xmms2-devel mailing list Xmms2-devel@lists.xmms2.org https://lists.xmms2.org/cgi-bin/mailman/listinfo/xmms2-devel