INTERACT FORUM

Please login or register.

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

Author Topic: Reading shared library  (Read 2134 times)

Hebaton

  • Recent member
  • *
  • Posts: 42
Reading shared library
« on: September 25, 2019, 04:34:10 pm »

I have made my library available to a friend through a URL and correct FW settings.

He can connect, load, even edit the library on his installation of JRiver but he cannot play files from my library.

His system is a Windows 10 machine, Media Center 25 and his playback goes to a Macintosh preamp with integrated DAC.

When he tries to play a file from my library, he gets ASIO error messages and then needs to reset his driver before he can play his own files again. My files, He simply cannot play.

Do I need to install the Macintosh plugin ( driver ) on my machine ?

Thanks

Claude Panneton
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72380
  • Where did I put my teeth?
Re: Reading shared library
« Reply #1 on: September 25, 2019, 09:48:55 pm »

If he's connected to your Library Server, your machine serves the files, and there is no need to install any special driver on your side.

What file types are you serving?
Logged

Hebaton

  • Recent member
  • *
  • Posts: 42
Re: Reading shared library
« Reply #2 on: September 25, 2019, 10:38:00 pm »

Serving almost exclusively .flac
Logged

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186
Re: Reading shared library
« Reply #3 on: September 25, 2019, 11:12:27 pm »

Just to clarify, you are running Media Network on your PC, and your friend is loading your Library using your JRiver MC Access Key, correct?

You haven't just set up a VPN or similar so that your friend can open your Library directly, as if it was a local Library, on a local drive, have you?
Logged
What specific version of MC you are running:MC27.0.27 @ Oct 27, 2020 and updating regularly Jim!                        MC Release Notes: https://wiki.jriver.com/index.php/Release_Notes
What OS(s) and Version you are running:     Windows 10 Pro 64bit Version 2004 (OS Build 19041.572).
The JRMark score of the PC with an issue:    JRMark (version 26.0.52 64 bit): 3419
Important relevant info about your environment:     
  Using the HTPC as a MC Server & a Workstation as a MC Client plus some DLNA clients.
  Running JRiver for Android, JRemote2, Gizmo, & MO 4Media on a Sony Xperia XZ Premium Android 9.
  Playing video out to a Sony 65" TV connected via HDMI, playing digital audio out via motherboard sound card, PCIe TV tuner

Hebaton

  • Recent member
  • *
  • Posts: 42
Re: Reading shared library
« Reply #4 on: September 26, 2019, 02:01:16 am »

He is loading my library on his Media Center installation. Not using access key, I created a URL in a domain I own, that translates to the correct path (IP:port ) and shared with him full access credentials so he can not only play files but also edit the Library if need be.

SO , it loads, he can navigate it but gets ASIO error messages when attempting to play any of my files. He uses a Macintosh preamp with integrated DAC.  To get back to his main library and have files play ( his local files ) he needs to restart his preamp and initialise the Macintosh driver.
Logged

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186
Re: Reading shared library
« Reply #5 on: September 26, 2019, 04:04:27 am »

Please confirm your computer is also a Windows PC.

Then I think the first thing he should do is try to play to the speakers on his Windows PC, to eliminate the Mac preamp and DAC as an issue. If that works, solve the audio playback issue separately.

But what you are doing is very non-standard. For example, you can't both have your Library open at the same time. That would break the Library, if not immediately then eventually.

If you had a VPN Endpoint at your end, and he connected via VPN so that he appeared to be on your LAN as far as Windows was concerned, then what you are doing may work for edits and playback. May. But still, you couldn't both have the Library open at the same time.


Does he really need to be able to edit your Library? Actually, does he really need to move files around on your Library, or just edit tags? Why are you giving him edit access?

You should really be using the MC Client/Server capability, then he could play files locally, as his MC installation would use his local settings and the Mac Preamp/DAC driver he has installed. Your MC installation would serve the files via the internet. With that configuration he may not be able to edit tags though. If you used a VPN and he used a Client/Server connection, he may be able to edit tags. But really, editing Library data over the internet, without the correct technolgy to roll back edits when connection is lost or other issue happens, is not a great idea. MC is not a thin Client or commercial database, so it doesn't have the technology to back out partial changes on failure.

If you really want him to be able to edit most aspects of your Library, then using something like TeamViewer would make more sense. But getting audio to play via TeamViewer would have its own challenges, and may not work for Hi Res audio. The Mac Preamp/DAC driver may not work with TeamViewer. But you would have to work through those issues.
Logged
What specific version of MC you are running:MC27.0.27 @ Oct 27, 2020 and updating regularly Jim!                        MC Release Notes: https://wiki.jriver.com/index.php/Release_Notes
What OS(s) and Version you are running:     Windows 10 Pro 64bit Version 2004 (OS Build 19041.572).
The JRMark score of the PC with an issue:    JRMark (version 26.0.52 64 bit): 3419
Important relevant info about your environment:     
  Using the HTPC as a MC Server & a Workstation as a MC Client plus some DLNA clients.
  Running JRiver for Android, JRemote2, Gizmo, & MO 4Media on a Sony Xperia XZ Premium Android 9.
  Playing video out to a Sony 65" TV connected via HDMI, playing digital audio out via motherboard sound card, PCIe TV tuner

Hebaton

  • Recent member
  • *
  • Posts: 42
Re: Reading shared library
« Reply #6 on: September 26, 2019, 07:08:23 am »

Not getting what you are saying with server/client setup. in order to play my files to his setup, he will need to navigate my library anyway.
I don't need him to move files around, just be able to play the files and edit tags.
Logged

Hebaton

  • Recent member
  • *
  • Posts: 42
Re: Reading shared library
« Reply #7 on: September 26, 2019, 07:17:55 am »

OUps, If he sets-up my install as a dynamic Zone instead of loading a library, I guess he could play the files but could he edit tags ?
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72380
  • Where did I put my teeth?
Re: Reading shared library
« Reply #8 on: September 26, 2019, 07:46:54 am »

Please read the wiki topic on Media Server.
Logged

Hebaton

  • Recent member
  • *
  • Posts: 42
Re: Reading shared library
« Reply #9 on: September 26, 2019, 11:43:18 pm »

I don't get it. What I read is basically what I did it seems :
open a port to the server and have a remote Media Center installation connect to it !

The default path is 52199 correct ?
I could change it to something else in the client options of Media server but what difference would it make ?
Logged

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186
Re: Reading shared library
« Reply #10 on: September 26, 2019, 11:58:49 pm »

Your friend needs to use the Access Key method to connect to your MC Server.

You said he didn't.
Logged
What specific version of MC you are running:MC27.0.27 @ Oct 27, 2020 and updating regularly Jim!                        MC Release Notes: https://wiki.jriver.com/index.php/Release_Notes
What OS(s) and Version you are running:     Windows 10 Pro 64bit Version 2004 (OS Build 19041.572).
The JRMark score of the PC with an issue:    JRMark (version 26.0.52 64 bit): 3419
Important relevant info about your environment:     
  Using the HTPC as a MC Server & a Workstation as a MC Client plus some DLNA clients.
  Running JRiver for Android, JRemote2, Gizmo, & MO 4Media on a Sony Xperia XZ Premium Android 9.
  Playing video out to a Sony 65" TV connected via HDMI, playing digital audio out via motherboard sound card, PCIe TV tuner

Hebaton

  • Recent member
  • *
  • Posts: 42
Re: Reading shared library
« Reply #11 on: September 27, 2019, 01:50:42 am »

correct, he uses a username/password
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72380
  • Where did I put my teeth?
Re: Reading shared library
« Reply #12 on: September 27, 2019, 06:56:22 am »

He is loading my library on his Media Center installation. Not using access key, I created a URL in a domain I own, that translates to the correct path (IP:port ) and shared with him full access credentials so he can not only play files but also edit the Library if need be.
It appears that you're not using Media Network, but are using Windows networking to share your library.  Try using Media Network on your server and letting him connect using your Access Key. 
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72380
  • Where did I put my teeth?
Re: Reading shared library
« Reply #13 on: September 27, 2019, 06:57:19 am »

correct, he uses a username/password
A windows user name and password?  Or one from MC's Media Network?
Logged

Hebaton

  • Recent member
  • *
  • Posts: 42
Re: Reading shared library
« Reply #14 on: September 27, 2019, 07:22:26 am »

He is connecting by using a user and password I created in Media Center.
Not Windows networking, MC networking !
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72380
  • Where did I put my teeth?
Re: Reading shared library
« Reply #15 on: September 27, 2019, 09:09:58 am »

Are you both running MC25?

Try sending him a file he can't play, just to see if he can play it on his machine.

Are the FLAC files ordinary 2 channel FLAC?  Or something different?

Try setting audio to Direct Sound on his machine?  It could be an ASIO problem.
Logged

Hebaton

  • Recent member
  • *
  • Posts: 42
Re: Reading shared library
« Reply #16 on: September 27, 2019, 09:27:36 am »

Most of the files we both have. I sent him several of mine in the past, he was always able to play them. Both using MC 25 both on Windows10 machines. Only 2 channel .flac files, nothing special.
Logged

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186
Re: Reading shared library
« Reply #17 on: September 27, 2019, 09:15:25 pm »

I'm still confused about how you have him connecting. The terminology is confusing. Do this for me.

Without connecting to your special URL or doing anything other than being connected to the internet, have him create a new Library in his copy on MC.
Name it however he wants. i.e. "Hebaton's Library"
Select the "Library Server" radio box in the dialogue.
Have him enter the Access Key for your Library, and then click OK. Don't worry about using HTTPS at this stage. Keep it simple.
If you have Authentication set up in your MC Library, and it sounds like you do, he will need to enter the Username and Password you have set for authentication in MC. He should only have to do that once, then his copy of MC will remember the credentials.

As long as you have port forwarding set up for port 52199 on your router, and your server is running (not shut down or asleep), he should be able to connect to your Library and play files.


Does that work?
Is that what he has been doing up to now?
Logged
What specific version of MC you are running:MC27.0.27 @ Oct 27, 2020 and updating regularly Jim!                        MC Release Notes: https://wiki.jriver.com/index.php/Release_Notes
What OS(s) and Version you are running:     Windows 10 Pro 64bit Version 2004 (OS Build 19041.572).
The JRMark score of the PC with an issue:    JRMark (version 26.0.52 64 bit): 3419
Important relevant info about your environment:     
  Using the HTPC as a MC Server & a Workstation as a MC Client plus some DLNA clients.
  Running JRiver for Android, JRemote2, Gizmo, & MO 4Media on a Sony Xperia XZ Premium Android 9.
  Playing video out to a Sony 65" TV connected via HDMI, playing digital audio out via motherboard sound card, PCIe TV tuner

Hebaton

  • Recent member
  • *
  • Posts: 42
Re: Reading shared library
« Reply #18 on: September 27, 2019, 11:56:59 pm »

That is equivalent of what we do. Actually, if I have him proceeding exactly like this, he connects to my library just as he does using the URL I created in my internet Domain. A URL is only some way of writing an IP address basically.  SO if I have an MC running on a machine whos Public IP is  x.x.x.2 and have port forwarding configured correctly, weather I use the UDP key provided by MC or a DNS entry ( URL ) it does exactly the same. it translates to x.x.x.2 it'S like GusTav = thismachine.net = X.X.X.2 get it ?
HE connects, he can edit tags, but gets ASIO errors when he tries to play file. even files that are exactly the same as som he has in his main library and that play just fine usually. using the same DAC and settings.

I'M pretty sure it has something to do      with MacIntosh gear and their driver...
Logged

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186
Re: Reading shared library
« Reply #19 on: September 28, 2019, 12:45:01 am »

I don't believe it is a UDP key, although it does translate to an IP Address. MC does a HTTP lookup to this address when the Access Key is used: http://wr.jriver.com/libraryserver/lookup/[Access Key] to get the IP Address list to try. Certainly using a URL on a LAN allows MC to connect correctly. Also, if he can edit tags, it would seem that he is connected correctly.

Regardless, you could just try using the Access Key method. Not doing so is just being stubborn. It doesn't get a DNS lookup involved, so it may make a difference.

I'm pretty sure it has something to do with MacIntosh gear and their driver...

It may well be. What is his Macintosh preamp with integrated DAC, and driver version, specifically? Maybe someone else has had a similar issue with the same gear.

But if it is the Macintosh gear, it is very strange that local versions of the same files play correctly. I don't think anyone here or from JRiver can help, unless you can identify what is different in playing to the ASIO driver when connected to your Library.


Did you get him to try playing to just the local speakers in his PC, as I suggested a couple of days ago? PC speakers would be the simplest audio device on his PC, so should work. If they don't work, you can probably eliminate the Macintosh gear as a cause.

I'm sure plenty of people have MC Clients on a LAN using ASIO drivers, and that works. His drivers and hardware work locally, just not when files are served over the internet. So I suspect it is something in the network path.

Maybe the MC logs say something about why playback fails?
Maybe something in the network path is blocking some packet types and causing the failure.
Maybe there is something particular about your Domain, your ISPs service or their routing and filtering, the DNS server you use.
Maybe using Wireshark on his PC could identify an issue?
Maybe...
Logged
What specific version of MC you are running:MC27.0.27 @ Oct 27, 2020 and updating regularly Jim!                        MC Release Notes: https://wiki.jriver.com/index.php/Release_Notes
What OS(s) and Version you are running:     Windows 10 Pro 64bit Version 2004 (OS Build 19041.572).
The JRMark score of the PC with an issue:    JRMark (version 26.0.52 64 bit): 3419
Important relevant info about your environment:     
  Using the HTPC as a MC Server & a Workstation as a MC Client plus some DLNA clients.
  Running JRiver for Android, JRemote2, Gizmo, & MO 4Media on a Sony Xperia XZ Premium Android 9.
  Playing video out to a Sony 65" TV connected via HDMI, playing digital audio out via motherboard sound card, PCIe TV tuner

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72380
  • Where did I put my teeth?
Re: Reading shared library
« Reply #20 on: September 28, 2019, 08:50:17 am »

Try opening ports 52100 to 52200. MC uses several.
Logged

Hebaton

  • Recent member
  • *
  • Posts: 42
Re: Reading shared library
« Reply #21 on: September 28, 2019, 09:33:38 am »

Sorry if I have not been clear about it. I did use the access key, same result. just saying I am sure that is not the issue, just a different way to get the same info !
Logged

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186
Re: Reading shared library
« Reply #22 on: September 28, 2019, 06:07:26 pm »

Okay. Good.  8) Try the other stuff.
Logged
What specific version of MC you are running:MC27.0.27 @ Oct 27, 2020 and updating regularly Jim!                        MC Release Notes: https://wiki.jriver.com/index.php/Release_Notes
What OS(s) and Version you are running:     Windows 10 Pro 64bit Version 2004 (OS Build 19041.572).
The JRMark score of the PC with an issue:    JRMark (version 26.0.52 64 bit): 3419
Important relevant info about your environment:     
  Using the HTPC as a MC Server & a Workstation as a MC Client plus some DLNA clients.
  Running JRiver for Android, JRemote2, Gizmo, & MO 4Media on a Sony Xperia XZ Premium Android 9.
  Playing video out to a Sony 65" TV connected via HDMI, playing digital audio out via motherboard sound card, PCIe TV tuner
Pages: [1]   Go Up