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



Hi Bertrand,

I understand your concerns, however the way I am using it at present means that as I close the database on one machine it replicates over Dropbox so everyone get a workable copy. (quicker that they would over rsync) only issue would be if more than one person had the database open at the same time trying to do simultaneous updates.

During my tests so far I have not forced this issue, but will do so. On a "mature" system, as opposed to one like mine at the moment where major repairs to the metadata are being done this would be a minor issue, I'll try it out with a couple of systems.

Putting the .db file on the NAS would not improve the situation as there would only be one copy of banshee,db being accessed by several systems, this way at least leaves individual computers with local copies.

Do you see a better way?




--------------------------------------------
Mobile : +971 50 553 4829
Home: +971 4 394 0081


----- Original Message -----
From: "Bertrand Lorentz [via Banshee Media Player]"

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
<[hidden email]> wrote:

> On Mon, Jun 6, 2011 at 9:19 AM, Uaebuntu <[hidden email]> 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
_______________________________________________
banshee-list mailing list
[hidden email]
http://mail.gnome.org/mailman/listinfo/banshee-list  (unsubscribe here)



If you reply to this email, your message will be added to the discussion below:
http://banshee-media-player.2283330.n4.nabble.com/Sharing-Metadata-across-several-computers-tp3576293p3583044.html
To unsubscribe from Sharing Metadata across several computers, click here.
Life is complex, part real and part imaginary.


View this message in context: Re: Sharing Metadata across several computers
Sent from the Banshee Media Player mailing list archive at Nabble.com.


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