Re: [Rhythmbox-devel] MythTV



On Wed, Dec 28, 2005 at 06:42:12PM -0500, Brian J. Murrell wrote:
> > In 0.9.3, rhythmbox will scan the library directory on startup and add
> > any new files, and monitor it to update the database as files are added
> > and removed.  Maybe I haven't thought this through as much as you have,
> > but I don't see what else you'd need.
> 
> A few cases:
> 
>       * What happens when two RB's have the database open and one
>         imports a new directory/CD into it?
>       * What happens when two RB's import at the same time.

Currently, rhythmbox only reads the database from disk on startup, and
regularly saves it to disk if dirty.  So, whichever saves last wins.
Running two concurrent instances of rhythmbox using the same
rhythmdb.xml file would be a bad idea.

>       * Do all users share rating information?
>       * Do all users share last, first, etc. played times?

I would expect each user to have their own rhythmdb.xml file, and so
each would have their own rating and play count data.  That's why I 
mentioned library scanning and file monitoring - you don't need to
share the database to keep the set of songs up to date for multiple
users.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]