INTERACT FORUM

Please login or register.

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

Author Topic: Library Server, Part 3  (Read 30655 times)

Jaguu

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1336
Re:Library Server, Part 3
« Reply #50 on: November 02, 2004, 06:54:29 am »

Hi John,
followed your suggestions given to zxsix and created a library with one single file that contains a "comma" in one of the subfolders of the pathname and connected to this library through library server -> Still the same error as already mentioned before.

Then I renamed the pathname eliminating the "comma" and voilą, it worked.

Not working:
D:\Media\Image\Arts\Van Gogh, Vincent\SaintRemy\VG-SaintRemy0124.jpg
Working:
D:\Media\Image\Arts\Van Gogh Vincent\SaintRemy\VG-SaintRemy0124.jpg

Remember: This only happens when connecting through the new Library Server. It used to work with the old Media Server since I have been having that kind of folder name structure for quite a while. And it has always worked for the default library in standard mode.

So the bug seems to be a "comma" in one of the subfolders of the pathname on not necessarily a "comma" inside the filename. This seems also to be consistent with the error messages displayed in library server log, which shows that it does not recognize the subfolder "Van Gogh, Vincent"

11/02/04 13:24:41 - Received request for a file: D:\Media\Image\Arts\Van Gogh
11/02/04 13:24:41 - Error sharing file, file type not supported


Also remember: It never happened with audio files, as I have no folder names with a "comma" in it, only with image files. Also the funny thing is that it works, if I play some audio first and add some images later on to "Playing Now"

If you need it I can send you one of those files. Please let me know your mail address in this case.

By the way I found another bug or annoyance. While connected to library server you can use F2 to edit fields. As nothing is changed on the client I think this feature should be grayed out or maybe a message displayed that you cannot make changes on the client side.

Edit: Sorry, used the wrong English term for the "," character, colon instead of comma!
Logged

zxsix

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1753
Re:Library Server, Part 3
« Reply #51 on: November 02, 2004, 08:19:02 am »

There is no colon or comma other than the drive letter f:\ in my single song test library filename or path.

Also note, that I shut down Media Center and started up the old Media Server.  I had no trouble at all connecting to the single song test library or my normal library.

I would prefer to run Media Server as I can run that as a service under Windows2000 when noone is logged in on the server machine, so I'm fine with this as long as it's not going to go away.

Let me know if there's any other tests I can do on the plugin server.
Logged

John Gateley

  • Citizen of the Universe
  • *****
  • Posts: 4957
  • Nice haircut
Re:Library Server, Part 3
« Reply #52 on: November 02, 2004, 09:31:55 am »

Hi zxsix,

There's a debugging version available at:

http://www.jriver.com/~gateley/server_library.zip
http://www.jriver.com/~gateley/server_library.mjp

Download both to the same directory, and double click on the mjp file.

Then try to download the library. After it crashes, send me the file (gateley @ jriver.com):
C:\libserv.log

Thanks,

j

zxsix

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1753
Re:Library Server, Part 3
« Reply #53 on: November 02, 2004, 09:48:05 am »

email sent.
Thanks.
Logged

John Gateley

  • Citizen of the Universe
  • *****
  • Posts: 4957
  • Nice haircut
Re:Library Server, Part 3
« Reply #54 on: November 02, 2004, 10:35:18 am »

zxsix: I didn't receive any e-mail...

Jaguu: I can now reproduce your problem, so it'll be fixed soon.

j

zxsix

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1753
Re:Library Server, Part 3
« Reply #55 on: November 02, 2004, 10:55:32 am »

I resent the email again.  Just in case it doesn't get there here's the files....

libserv1.log  is the single song test library.
libserv2.log is with my normal library.

http://members.cox.net/bgollmer/libserv1.log
http://members.cox.net/bgollmer/libserv2.log
Logged

zxsix

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1753
Re:Library Server, Part 3
« Reply #56 on: November 02, 2004, 11:41:09 am »

(copy of email I just sent)

The client shows that it downloaded 10kb, then it just sits there until I hit the OK button on the server crash message.  At that point I get the failed to install package error on the client.  This time it did not create a log file on the server's C: drive.
I deleted the server_library.dll before running the .mjp file just like last time to be sure it got updated with the new one.
Ran the test multiple times with same result, no log file.
Logged

zxsix

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1753
Re:Library Server, Part 3
« Reply #57 on: November 02, 2004, 12:56:11 pm »

This issue has been solved.  It was unique to Windows 2000 O/S serving the library and did not affect XP as the server.
Thanks again!
Logged

John Gateley

  • Citizen of the Universe
  • *****
  • Posts: 4957
  • Nice haircut
Re:Library Server, Part 3
« Reply #58 on: November 02, 2004, 04:41:23 pm »

The problem with commas in directory names will be fixed in the next build as well.

j

Jaguu

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1336
Re:Library Server, Part 3
« Reply #59 on: November 02, 2004, 04:48:53 pm »

Thanks!
Logged

cmonache

  • Regular Member
  • Recent member
  • *
  • Posts: 20
  • nothing more to say...
Re:Library Server, Part 3
« Reply #60 on: November 02, 2004, 07:54:54 pm »

For the invalid argument: I need to know the name of the file, and what conversion settings you have set on the client.

Thanks,

j


All,

I think I have found what cause the invalid argument and a work around. It appears that the following steps cause the error:

1. Install 11.0
2. Enable Library Server
3. Try to play a song you get the "invalid argument" error
4. Go into Tools -> Options -> Library and turn on Convert Audio Files
5. Try to play the song again --- It appears to work
6. Go into Tools -> Options -> Library and turn off Convert Audio Files
7. Now it works without the conversion and you appear to not get the "invalid argument" error anymore.

Not sure why it is doing this but a necessary flag must be set when setting "convert audio files." The reason why this is difficult to debug is it appears to only happen when you install any try to play from LIbary Server. If you turn on the convert audio files you can not recreate the problem.

Quick request.... When streaming WAV files from Media Library would it be possible show 1411 for the bit rate instead of "?" that it has been showing since version 10?

Thanks! :-*

Chris
Logged

John Gateley

  • Citizen of the Universe
  • *****
  • Posts: 4957
  • Nice haircut
Re:Library Server, Part 3
« Reply #61 on: November 03, 2004, 12:52:04 pm »

Thanks Chris,

I can now reproduce the invalid argument error, so it should be fixed soon.

j

John Gateley

  • Citizen of the Universe
  • *****
  • Posts: 4957
  • Nice haircut
Re:Library Server, Part 3
« Reply #62 on: November 03, 2004, 02:27:31 pm »

The invalid argument problem is fixed in the next build.

j

John Gateley

  • Citizen of the Universe
  • *****
  • Posts: 4957
  • Nice haircut
Re:Library Server, Part 3
« Reply #63 on: November 03, 2004, 02:49:15 pm »

Quick request.... When streaming WAV files from Media Library would it be possible show 1411 for the bit rate instead of "?" that it has been showing since version 10?

It's not easy. If you use APE (or another lossless encoder) instead, you'll get the same quality feedback plus the bitrate on top.

j

Chadman

  • Regular Member
  • Recent member
  • *
  • Posts: 25
  • Change this by choosing profile
Re:Library Server, Part 3
« Reply #64 on: November 03, 2004, 11:53:19 pm »

Invalid argument is gone with the latest upgrade!!!  
Thanks.

Chad
Logged

Jaguu

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1336
Re:Library Server, Part 3
« Reply #65 on: November 04, 2004, 04:19:36 am »

11.0.117:

An old error returned again with this version:

Failed to connect to a server
Reason: The request has timed out
URL:http://x.x.x.x/GetLibrary

Cleaning out of Temporary Internet Folder did not help!
Logged

John Gateley

  • Citizen of the Universe
  • *****
  • Posts: 4957
  • Nice haircut
Re:Library Server, Part 3
« Reply #66 on: November 04, 2004, 08:51:14 am »

Hi Jaguu,

I'm not seeing this. Have you double-checked to make sure the server is up?

What does the status page show?

j

Jaguu

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1336
Re:Library Server, Part 3
« Reply #67 on: November 04, 2004, 09:12:19 am »

Quote
11/04/04 16:05:09 - Starting...
11/04/04 16:05:09 - Trying Port 80
11/04/04 16:05:09 - Running on Port 80
11/04/04 16:05:31 - Received request for library

That's it!

I defined a library with the same ip-address as of my pc and try to make a local connection to the default library (192.168.1.X). As the connection fails it reverts back to the default library.
Logged

John Gateley

  • Citizen of the Universe
  • *****
  • Posts: 4957
  • Nice haircut
Re:Library Server, Part 3
« Reply #68 on: November 04, 2004, 09:48:59 am »

Make sure each machine (client and server) can connect to itself. Start a server on the client, see if the client can connect to itself, and start a client on the server, same deal.

Try a different(smaller) library on the server...

j

Jaguu

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1336
Re:Library Server, Part 3
« Reply #69 on: November 04, 2004, 03:49:40 pm »

John,

I did a few more tries:

On my notebook (XP Home-SP2) there was 11.0.109 installed. Made a flawless connection to my PC (XP Pro-SP2) with 11.0.117 installed. So that was OK.

Then I installed 11.0.117 on my notebook and made again a connection to my main PC. Connection to my PC failed. Same error as already reported. Just upgraded MC11. Nothing else changed.

So it seems that the 11.0.117 client could be the culprit.

Also tried to make connections from my Win2000-SP4 PC (also 11.0.117) to my main PC and viceversa. Also no success.

Also connection from my main PC to my notebook (both 11.0.117) did not work.

I suspect the client to be the culprit as the server did respond with to a previous version of MC11.

Logged

pank2002

  • Citizen of the Universe
  • *****
  • Posts: 623
Re:Library Server, Part 3
« Reply #70 on: November 05, 2004, 10:07:26 am »

Using build 112 I have some problems using library server. As stationary computer with win2k is sending the data and a laptop with winXP-proff receives the data. The laptop loads the db just fine, however when I try to play back music there's an error. It's the same error whether I use library server or media server. Pictures can be transfered. From the log it appears that only pictures request is received on the server. Very odd. I hope it will be fixed soon.

Thanks,
Rasmus
Logged
Music is life... the rest is details.
Here is a security related website: secubi.dk

John Gateley

  • Citizen of the Universe
  • *****
  • Posts: 4957
  • Nice haircut
Re:Library Server, Part 3
« Reply #71 on: November 05, 2004, 11:09:28 am »

Rasmus, please try build 117.

j

John Gateley

  • Citizen of the Universe
  • *****
  • Posts: 4957
  • Nice haircut
Re:Library Server, Part 3
« Reply #72 on: November 05, 2004, 01:44:15 pm »

Hi Jaguu,

Did you try connecting from a machine to itself?

j

BillRaff

  • Regular Member
  • Recent member
  • *
  • Posts: 22
  • nothing more to say...
Re:Library Server, Part 3
« Reply #73 on: November 05, 2004, 05:13:31 pm »

Just upgraded both my desktop and laptop to 117. I too am seeing the error

Failed to connect to a server
Reason: The request has timed out
URL:http://x.x.x.x/GetLibrary


Tried going both ways and same error.
Logged

Diverdown1964

  • Regular Member
  • World Citizen
  • ***
  • Posts: 179
  • No matter where you go, there you are
Re:Library Server, Part 3
« Reply #74 on: November 06, 2004, 08:56:46 am »

I'm seeing this connection problem now as well. I've been away for 3 weeks, but now that I've returned, and installed the latest on both client and server, I can no longer connect.

The plugin screen indicated that it received a request for the library, but that's it.
Logged

Helan

  • Regular Member
  • Recent member
  • *
  • Posts: 31
  • Change this by choosing profile
Re:Library Server, Part 3
« Reply #75 on: November 07, 2004, 04:00:55 pm »

Same problem. fail to connect to library server
Reason: The request has timed out
URL:http://x.x.x.x/GetLibrary
Server on Win XP
Client W2K Server

It worked in version 112, upgraded to 117 same settings.
Logged

Jaguu

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1336
Re:Library Server, Part 3
« Reply #76 on: November 07, 2004, 04:05:14 pm »

Quote
Did you try connecting from a machine to itself?

Yes, I did that first. Same error!
As you can see, there are more users having the same problem!
Logged

John Gateley

  • Citizen of the Universe
  • *****
  • Posts: 4957
  • Nice haircut
Re:Library Server, Part 3
« Reply #77 on: November 08, 2004, 09:58:57 am »

Anyone with the library timing out problem: try to download the library, then check

C:\Program Files\JRiver\Media Center 11\MJ Server Library.zip

Make sure it exists and has the correct date and time (it should be the same time you tried to download).

I'll check further. Unfortunately, this problem isn't happening to me, so it's hard to track down.

j

John Gateley

  • Citizen of the Universe
  • *****
  • Posts: 4957
  • Nice haircut
Re:Library Server, Part 3
« Reply #78 on: November 08, 2004, 10:28:55 am »

Nevermind, I think we found it. (It actually wasn't my problem :) )

Look for it to work in the next build

j

Tyler Campbell

  • Regular Member
  • Recent member
  • *
  • Posts: 21
Re:Library Server, Part 3
« Reply #79 on: November 08, 2004, 10:42:55 am »

Thanks for saving the day, as usual, John!

I intended to report the same timeout problems as Jaguu when using 117 on my client machine (win2k), but instead I'll eagerly await the next build.

(Reverting to an earlier build on my client worked as a temporary fix)

Thanks,
Tyler
Logged

Jaguu

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1336
Re:Library Server, Part 3
« Reply #80 on: November 08, 2004, 03:19:38 pm »

Congratulations John,

GetLibrary problem solved! Library Server works flawlessly again!
Logged

Diverdown1964

  • Regular Member
  • World Citizen
  • ***
  • Posts: 179
  • No matter where you go, there you are
Re:Library Server, Part 3
« Reply #81 on: November 08, 2004, 03:23:38 pm »

Bingo! Working here

Thanks again
Logged

Helan

  • Regular Member
  • Recent member
  • *
  • Posts: 31
  • Change this by choosing profile
Re:Library Server, Part 3
« Reply #82 on: November 09, 2004, 09:11:22 am »

Still problems

w2k server and XP client, when trying to connect to library:

Fail to install package
More info: failed to unzip file 'C\xxx\xxx\xxx\temp\tmp9a4c.tmp'
URL: http://192.168.0.5:888/getlibrary

Tried both with direct IP and with auto search

Information on server:
11/09/04 15:26:39 - Starting...
11/09/04 15:26:39 - Starting Auto Detect beacon
11/09/04 15:26:39 - Running on Port 888
11/09/04 15:27:48 - Server Stopped
11/09/04 15:28:55 - Starting...
11/09/04 15:28:55 - Starting Auto Detect beacon
11/09/04 15:28:55 - Running on Port 888

XP server and w2k client:
Working fine now
Logged

zxsix

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1753
Re:Library Server, Part 3
« Reply #83 on: November 09, 2004, 10:05:10 am »

That issue was happening in revisions earlier than 117.
Make sure you are running 117 or 118 and that the revision matches on both the client and the server.
I run xp client and Win2k server and it's working fine with both of those revisions.
If that doesn't do it for you, close MC, then delete the library_server.dll file from the plugin directory and reinstall MC.
Logged

Helan

  • Regular Member
  • Recent member
  • *
  • Posts: 31
  • Change this by choosing profile
Re:Library Server, Part 3
« Reply #84 on: November 09, 2004, 10:29:57 am »

Sorry, forgot to mention the build. it is 118 on both computers.
Logged

zxsix

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1753
Re:Library Server, Part 3
« Reply #85 on: November 09, 2004, 10:33:36 am »

server_library.dll should be 581,632 bytes and dated 11/05/04.
Logged

Helan

  • Regular Member
  • Recent member
  • *
  • Posts: 31
  • Change this by choosing profile
Re:Library Server, Part 3
« Reply #86 on: November 09, 2004, 10:41:54 am »

server_library.dll up to date on both pc's and 581.632 bytes.
Logged

John Gateley

  • Citizen of the Universe
  • *****
  • Posts: 4957
  • Nice haircut
Re:Library Server, Part 3
« Reply #87 on: November 09, 2004, 10:47:04 am »

Helan, it looks like the client is not getting to the server. Is there a firewall?

j

Helan

  • Regular Member
  • Recent member
  • *
  • Posts: 31
  • Change this by choosing profile
Re:Library Server, Part 3
« Reply #88 on: November 09, 2004, 10:51:59 am »

Another thing, I did a complete rebuild of the library on MC running on the XP. First I did a small import on a new location under a new library name and then I did a complete rebuild with all my files under yet another location and name. After MC finish and reporting done with import MC stops responding. I have to force a closedown from task manager. This happened both times.
Logged

Helan

  • Regular Member
  • Recent member
  • *
  • Posts: 31
  • Change this by choosing profile
Re:Library Server, Part 3
« Reply #89 on: November 09, 2004, 10:56:48 am »

Yes I have a firewall but it's a router/firewall and does not affect the network inside. It works one way, but not the other (XP-->w2k: OK w2k-->XP: no go)
Logged

John Gateley

  • Citizen of the Universe
  • *****
  • Posts: 4957
  • Nice haircut
Re:Library Server, Part 3
« Reply #90 on: November 09, 2004, 11:04:03 am »

The import problem should be reported in the alpha thread, not here.

Can you make a small library (one or two files) and try sharing that? Does it fail the same way?

j

Helan

  • Regular Member
  • Recent member
  • *
  • Posts: 31
  • Change this by choosing profile
Re:Library Server, Part 3
« Reply #91 on: November 09, 2004, 11:08:52 am »

The import problem should be reported in the alpha thread, not here.

Can you make a small library (one or two files) and try sharing that? Does it fail the same way?

j


Sorry, my mistake but yes, thats what i did the first time, just a few files.
Logged

John Gateley

  • Citizen of the Universe
  • *****
  • Posts: 4957
  • Nice haircut
Re:Library Server, Part 3
« Reply #92 on: November 09, 2004, 11:24:16 am »

It still looks like the Library Server is not seeing the library request.

Try changing the port.

Try entering:
http://192.168.0.5:xxx/GetLibrary
in a browser, see what you get back.
Replace xxx with the correct port, and be careful with the capitalization.

j

Helan

  • Regular Member
  • Recent member
  • *
  • Posts: 31
  • Change this by choosing profile
Re:Library Server, Part 3
« Reply #93 on: November 09, 2004, 11:43:20 am »

This is what came back in a browser:

"I didn't understand command GetLibrary"
Logged

John Gateley

  • Citizen of the Universe
  • *****
  • Posts: 4957
  • Nice haircut
Re:Library Server, Part 3
« Reply #94 on: November 09, 2004, 11:49:02 am »

What is displayed on the status page for Library Server?

j

Helan

  • Regular Member
  • Recent member
  • *
  • Posts: 31
  • Change this by choosing profile
Re:Library Server, Part 3
« Reply #95 on: November 09, 2004, 11:49:29 am »

I tried again and skipped the GetLibrary part resulting in this:
[Home]

Playing Now
Media Library
Controls
Playlists


(C) 2003, JRiver Inc
Remote Server v1.9, JRiver, Daniel Ellison, and Benjamin Sweet
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72444
  • Where did I put my teeth?
Re:Library Server, Part 3
« Reply #96 on: November 09, 2004, 11:56:50 am »

You're talking to MC's remote server.  You need to turn it off (or move to a different port) in options/startup.
Logged

Helan

  • Regular Member
  • Recent member
  • *
  • Posts: 31
  • Change this by choosing profile
Re:Library Server, Part 3
« Reply #97 on: November 09, 2004, 12:04:33 pm »

Well I guess, if everyone else got things to run the problem must be here with my stuff. I'll do a complete uninstall and reinstall but for now i have to leave the forum. If I still have this problem tomorrow I'll come back again. Thanks for all the help.
Logged

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re:Library Server, Part 3
« Reply #98 on: November 12, 2004, 06:53:50 am »

MC 11.0.125

Library server conversion options are rather strange now. E.g. Windows Media Lossless 48 kbps.   :)

(Probably because the MP3 options changed. They should be remapped.)
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

John Gateley

  • Citizen of the Universe
  • *****
  • Posts: 4957
  • Nice haircut
Re:Library Server, Part 3
« Reply #99 on: November 12, 2004, 10:53:37 am »

Thanks Alex, fixed in next build.

j
Pages: 1 [2] 3   Go Up