I have a particular need that I would like to integrate into Xlobby concerning my music database. I have implemented this external, but would like to see if there is an easier way by perhaps using templates (which I know nothing about).
Here goes:
1) I have used Xlobby to create my music database by specifying my root music directory. Once created there are several things that I need to change in the database... this I have done through external code. The problem is that everyt time I refresh the database (add new music), I need to run my external scripts again. I would rather all this be done when the database is initially built and refreshed.
Here are the requirements:
a) If a cover_f.jpg file exists in the album directory, then assign that to the <coverart>tag, else use the mp3 coverart embedded in one of the tracks.
b) If a cover_b.jpg file exists in the album directory, then assign that to a <coverart_back> tag, else use the file "c:\no_cover.jpg"
Any way to do this through a template?