INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Problem with library server  (Read 1778 times)

iflynn

  • Guest
Problem with library server
« on: November 03, 2005, 04:44:00 pm »

Perhaps I'm not understanding how this works. I've got MC 11.0.316 on two machines, one of which I'm using as a server (it has all the songs and an up-to-date library) and the other a client. The client PC (on which I'm attempting to store nothing) finds the library on the server PC no problem and plays the mp3s fine, but I find that updates on the server library are not automatically reflected on the client. Does the client store data anywhere? To fix this problem I seem to recall deleting .xml files on one or other of the machines but I can't repeat this and I'm stuck with an out-of-date library when using the client PC.

I'd like to understand how it works to fix the problem once and for all.

Thanks.

Logged

John Gateley

  • Citizen of the Universe
  • *****
  • Posts: 4957
  • Nice haircut
Re: Problem with library server
« Reply #1 on: November 03, 2005, 04:45:35 pm »

Switch to the default library and then back to the remote library on the client.

This is an area I'm working on to improve.

j

iflynn

  • Guest
Re: Problem with library server
« Reply #2 on: November 03, 2005, 04:55:14 pm »

I appreciate the instant reply, however that does not work, nor does clearing the library on the client or even deleting the default library on the client.  Obviously old data is being stored somewhere on the client machine. Although the library data is wrong and out of date, if the filename/location has not changed then it still plays fine.
Logged

John Gateley

  • Citizen of the Universe
  • *****
  • Posts: 4957
  • Nice haircut
Re: Problem with library server
« Reply #3 on: November 03, 2005, 05:13:52 pm »

What kind of info are you talking about? New mp3 files? New view schemes?

j

iflynn

  • Guest
Re: Problem with library server
« Reply #4 on: November 04, 2005, 03:04:07 am »

new and renamed/relocated MP3s, changed tags, changed cover art etc. Also new view schemes. Everything, really. I just put a lot of effort into sorting out the data and library on the server and obviously don't expect too have do it again on the client.
Logged

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: Problem with library server
« Reply #5 on: November 04, 2005, 07:03:56 am »

Did you reconnect after making the changes on the server?

A client downloads a copy of the server library when it connects. This copy has modified file names. The only way to update the downloaded copy is to reconnect. On reconnect a new copy of the server library replaces completely the previous one. No changes made on the client side are preserved. You can make permanent changes to the server library only on the server PC.
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: Problem with library server
« Reply #6 on: November 04, 2005, 07:15:37 am »

I just remembered something:

http://yabb.jriver.com/interact/index.php?topic=26487.msg185595#msg185595

Do you have more than one library on the server?
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

KingSparta

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 20063
Re: Problem with library server
« Reply #7 on: November 04, 2005, 07:39:22 am »

Quote
A client downloads a copy of the server library when it connects. This copy has modified file names. The only way to update the downloaded copy is to reconnect.

In this case it would be nice if the server tells the client that a updated database exists and i would think the The mc client would just download the updates to the database (maybe not the whole thing again just the mods to it). then when they are received by the client the client updates the client database.

but how often does this happen? and is it worth the effort?
Logged
Retired Military, Airborne, Air Assault, And Flight Wings.
Model Trains, Internet, Ham Radio, Music
https://MyAAGrapevines.com
https://centercitybbs.com
Fayetteville, NC, USA

zxsix

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1753
Re: Problem with library server
« Reply #8 on: November 04, 2005, 08:51:11 am »

It wouldn't be worth it in my opinion.  It's downloading 7.5 MB now before the library opens and displays on the client.
I certainly wouldn't want it doing that in between tracks, or even as a background process while tracks were playing.
I figure I'm either at my main terminal editing the library, or I'm at work or by the swimming pool listening via library server.
I won't be editing at that point and wouldn't care about getting the latest update to clients if someone was.
I wouldn't mind things going the other way and being able to write ratings back to the server though.
Logged

iflynn

  • Guest
Re: Problem with library server
« Reply #9 on: November 05, 2005, 07:03:31 am »

To the various points

1) Yes, I reconnect frequently each time and an older version of the database is downloaded
2) As far as I know there is only one database on the server (which I have now renamed 'default')

Thanks all for your help with this perplexing problem.
Logged

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: Problem with library server
« Reply #10 on: November 05, 2005, 07:24:03 am »

1) Yes, I reconnect frequently each time and an older version of the database is downloaded
2) As far as I know there is only one database on the server (which I have now renamed 'default')

That is very odd. The old version of the database must be somewhere on your system and something else must be very wrong in the way how the server MC accesses data. MC cannot create an older database on the fly without having it somewhere on the disk.

Could you try the following test?

- Make a new empty test library on the server. Import one file. Connect the client. What does the client see?

- Import another file on the server and change some file tags. Reconnect the client. What does it see now?
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

iflynn

  • Guest
Re: Problem with library server
« Reply #11 on: November 05, 2005, 08:08:18 am »

Thanks Alex, in fact you were onto a solution which I have now found, maybe points to a minor bug with Media Server.

By default Media Center seems to create its library in User/documents & settings/application data/j river. However soon after installing I decided I wanted a single common database on a separate drive which I set up using Library Manager, no problem. I also deleted the reference to the now redundant original database - so there should in thoery only have been one database.

However Media Server (which remember can run on its own without starting Media Center) was still referencing the original now orphaned databse.

I've deleted these orphan databases under all user names and so far all is well.

Interestingly I spotted the answer when I noticed that on the server PC media server was reporting no accesses by any clients even though the client was running.

To solve the problem Media Server should be configurable to address a specifed database, or it should automatically address the default databse on the server.
Logged

John Gateley

  • Citizen of the Universe
  • *****
  • Posts: 4957
  • Nice haircut
Re: Problem with library server
« Reply #12 on: November 07, 2005, 10:07:31 am »

Library server uses the library currently selected in Media Center. The Media Server mode is just a stripped down version of Media Center, but it is still running Media Center. Is it possible you missed deleting the library someplace?

j

iflynn

  • Guest
Re: Problem with library server
« Reply #13 on: November 08, 2005, 07:19:11 am »

I had deleted the reference to the users' libraries and replaced it (in Library Manager) with a reference pointing to the correct central folder but I had not physically deleted those libraries which were still present under C:\user\documents & settings etc.
Logged
Pages: [1]   Go Up