Wanted command: reset/rescan/reinit/whatever-you-fancy

FairDJ is a music jukebox designed for a room with a couple of people in it and one set of speakers. The users rate songs, and the program selects songs so that everybody gets to hear music they like.

Moderators: Marcus, walles

Post Reply
mattias

Wanted command: reset/rescan/reinit/whatever-you-fancy

Post by mattias »

Scans through all mediadir and find new directorys and files. It would be really, really nice if the server does not go down (like mserv) during the scan but continue to play music and lets users queue and rate music up to the point where the db is updated "atomically"... :-)

While at it, enable that one can have several <mediadir> tags in settings.xml, letting each being a root for music files.
User avatar
Marcus
Site Admin
Posts: 1860
Joined: 2005.04.04 10:52
Location: Küssnacht am Rigi
Contact:

Post by Marcus »

Good point. Support for several media dirs is actually built into the interface hierarchy, just not fully implemented yet. Will hopefully add support for it this weekend. The rescan command should be pretty easily implemented, we may avoid pausing execution altogether if the rescan operation updates an entirely new database and swaps it for the old after the full update. This will however consume a lot of memory. We'll see...
Post Reply