INTERACT FORUM

Please login or register.

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

Author Topic: startup issue: cannot connect to media library  (Read 3867 times)

stanzani

  • Galactic Citizen
  • ****
  • Posts: 463
  • Music and Audio enthusiast
startup issue: cannot connect to media library
« on: January 05, 2016, 05:19:55 am »

as per subject, as soon as i turn my fanless PC on JRiver start as a media server (I set this behaviour from the JRiver options)
media library is on a remote unit mapped to z:/<myLibraryPath>. I can access this path with no problem
Unfortunately JRiver notify me that it cannot access the library (mapped on this z: unit): as soon as I push 'Retry' it connects. This is odd since I have to conenct to the PC (e.g. via VNC) befor JRiver is usable (with JRemote)
ANy idea to overcome this issue? may be delaying the JRiver startup from Windows task manager?

thanks much
Logged
Stereo:
DAW: Fanless Case Streatcon 7 with MSI A97I mobo, 2 x 8G RAM (Hynix) with Intel I5 CPU.
NAS: QNAP TS-531 with 5x4TB HDDs
DAC/ADC: RME ADI2 PRO
Speakers (active): 2 x ATC SCM50ASL
Subs (active): 2 x REL 528 Signature

Arindelle

  • Citizen of the Universe
  • *****
  • Posts: 2772
Re: startup issue: cannot connect to media library
« Reply #1 on: January 05, 2016, 05:38:11 am »

the machine in your network running as media server should have local access to the principal library. For best results it should be on the system drive. The media files themselves can be anywhere.

So either your fanless PC is the "server" or it is a client. If it is a remote client then the other machine should be the one to run media server at startup. If you want it to be the server machine, install the library on its ssd (you could backup the file from machine 2 and restore it to the fanless one). If you do the latter it has to be on or allow wake-on-lan to get it running. JRemote can do the waking up directly btw.

If the "other" machine is a NAS, generally this won't work -- although recently JRiver can be run on some QNAP NASes (have to search on the forum for this).

JRemote would work in both cases. I found it easier though to use the PC I want to control via JRemote to run the server program and have the main library in that one running locally. Most admin can be done from the client, and the few things you can't do you can use Teamviewer or VNC occasionally.

hope this helps some  :)
Logged

AndrewFG

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3392
Re: startup issue: cannot connect to media library
« Reply #2 on: January 05, 2016, 06:54:54 am »

ANy idea to overcome this issue? may be delaying the JRiver startup from Windows task manager?

I guess that Arindelle misunderstood your question.

The problem is due to a delay in Windows mapping the UNC pathname of you file server to the Z: shortcut.

You could try running the Windows command "explorer.exe Z:" before starting MC. It should force the mapping before MC gets to look for that drive. You could put the two commands "explorer.exe Z:" and "MC.exe" in a Windows batch file to make it easier.

Another option is to remove Z: from MC's library search path, and add the UNC pathname of your file server to MC's library search path instead. That way you don't have to worry about the shortcut mapping at all.

Logged
Author of Whitebear Digital Media Renderer Analyser - http://www.whitebear.ch/dmra.htm
Author of Whitebear - http://www.whitebear.ch/mediaserver.htm

stanzani

  • Galactic Citizen
  • ****
  • Posts: 463
  • Music and Audio enthusiast
Re: startup issue: cannot connect to media library
« Reply #3 on: January 05, 2016, 08:40:13 am »

Andrew answer better fits with my issue
My server run on a fanless PCn with a small (200GB) SSD HDD: my library resides on a Qnap TS219P with 4+4 Tbytes HDDs in RAID1 configuration. I mapped the Z: drive on \\myNas in order to enjoy the reconnect-at-logon feature (using the UNC name I am asked for username and password at startup so it does not work)
Unfortunately my NAS is not able to host the JRiver server as more recent units do.
I will try the suggestions by adding a batch file doing 'dir z: \')  in the startup directory
thanks
Logged
Stereo:
DAW: Fanless Case Streatcon 7 with MSI A97I mobo, 2 x 8G RAM (Hynix) with Intel I5 CPU.
NAS: QNAP TS-531 with 5x4TB HDDs
DAC/ADC: RME ADI2 PRO
Speakers (active): 2 x ATC SCM50ASL
Subs (active): 2 x REL 528 Signature

AndrewFG

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3392
Re: startup issue: cannot connect to media library
« Reply #4 on: January 05, 2016, 10:02:42 am »

Yes your "dir z:/" idea could be better than my "explorer.exe z:" idea because the batch file window closes when the batch completes, whereas in my case the explorer window remains open. But if "dir" does not fix it, then do at least try "explorer" too..

And furthermore..

In its normal setup, Windows does "lazy" connections to remote network shares. The purpose is to achieve faster boot up times for Windows without waiting for all shares to connect. However there is certainly a Windows registry setting that you can change that forces Windows to do faster connections to remote shares.

Only problem is that I cannot remember the respective Windows registry path, entry name or value to set (sorry for that) but perhaps somebody else on this forum can remember it?

Logged
Author of Whitebear Digital Media Renderer Analyser - http://www.whitebear.ch/dmra.htm
Author of Whitebear - http://www.whitebear.ch/mediaserver.htm

ferday

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1732
Re: startup issue: cannot connect to media library
« Reply #5 on: January 05, 2016, 11:19:07 am »

in my notes (win 7 for me)

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ Explorer\MountPoints2\
Logged

Arindelle

  • Citizen of the Universe
  • *****
  • Posts: 2772
Re: startup issue: cannot connect to media library
« Reply #6 on: January 05, 2016, 12:12:18 pm »

I guess that Arindelle misunderstood your question.

oops  :-[  yep, I guess I did .. thx Andrew
Logged

stanzani

  • Galactic Citizen
  • ****
  • Posts: 463
  • Music and Audio enthusiast
Re: startup issue: cannot connect to media library
« Reply #7 on: January 06, 2016, 07:11:00 am »

in my notes (win 7 for me)

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ Explorer\MountPoints2\
thanks! which value should I set this key?
Logged
Stereo:
DAW: Fanless Case Streatcon 7 with MSI A97I mobo, 2 x 8G RAM (Hynix) with Intel I5 CPU.
NAS: QNAP TS-531 with 5x4TB HDDs
DAC/ADC: RME ADI2 PRO
Speakers (active): 2 x ATC SCM50ASL
Subs (active): 2 x REL 528 Signature

AndrewFG

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3392
Re: startup issue: cannot connect to media library
« Reply #8 on: January 06, 2016, 08:57:23 am »

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ Explorer\MountPoints2\

I am pretty sure it was not that one. I will try to recall what I used...
Logged
Author of Whitebear Digital Media Renderer Analyser - http://www.whitebear.ch/dmra.htm
Author of Whitebear - http://www.whitebear.ch/mediaserver.htm

ferday

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1732
Re: startup issue: cannot connect to media library
« Reply #9 on: January 06, 2016, 06:15:50 pm »

I evernote way too much without adding explanation notes.  That was the key in my evernote, so unfortunately I can't help much more than that :(
Logged

AndrewFG

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3392
Logged
Author of Whitebear Digital Media Renderer Analyser - http://www.whitebear.ch/dmra.htm
Author of Whitebear - http://www.whitebear.ch/mediaserver.htm
Pages: [1]   Go Up