Re: [Banshee-List] Sharing Metadata across several computers



Just a warning in case someone comes across this suggestion, see in
the text below.

On Wed, Jun 8, 2011 at 1:13 PM, Roderich Schupp
<roderich schupp googlemail com> wrote:
> On Mon, Jun 6, 2011 at 9:19 AM, Uaebuntu <jcrmassey eim ae> wrote:
>> I have a large (114GB) music collection, collected over the years and stored
>> on NAS.
>> ...
>> Is there a way to sync (and merge) the metadata from each of the machines so
>> I'm not rewriting it on every machine, depending on the size of the files
>
> Banshee keeps its view of the metadata (tarck info, scoring etc) in an Sqlite
> database. It's initially filled when importing your music collection into
> Banshee from the NAS. By default this Sqlite database is located below
> your home directory, but you can change it via a command line option.
>
> In theory, you could place the database also on the NAS (modulo the
> usual warning that the network file system must properly support
> fcntl() locking). No need to synchronize anything.
>
> I'm not sure however, if Banshee is able to cope with this - even on the
> same machine it won't allow multiple instances of itself. Perhaps
> it can't cope with database changes from another instance.

Because of the way Banshee uses its sqlite database, you should not
access the same database from two instances of the application. In
fact, it probably wouldn't work, I hope the second instance would
complain about the database being locked.

-- 
Bertrand Lorentz


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