INTERACT FORUM

Please login or register.

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

Author Topic: Command for client to see new server files  (Read 1911 times)

kensn

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1362
Command for client to see new server files
« on: September 02, 2017, 05:23:06 pm »

I have searched but can't seem to find how I get a client to see newly added Server files with restarting the client.

Ken
Logged
If(IsEmpty([Coffee Cup]), Coffee, Drink)

tzr916

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1391
Re: Command for client to see new server files
« Reply #1 on: September 02, 2017, 06:15:39 pm »

Best solution I could think of is to create a button in theaterview to Restart MC (not the PC). It's easy and works for refreshing newly added files and cover art. See screenshot in this post:
https://yabb.jriver.com/interact/index.php/topic,110183.msg768658.html#msg768658
Logged
JRiverMC v33 •Windows 10 Pro 64bit •Defender Exclusions •ṈŘ 3rd party AV
•ASUS TUF gaming WiFi z590 •Thermaltake Toughpower GX2 600W
•i7-11700k @ 3.6GHz~5GHz •32GB PC4-25600 DDR4
•OS on Crucial P5 Plus M.2 PCIe Gen4 •Tv Recordings on SATA 6TB WD Red Pro
•4 OTA & 6 CableCard SiliconDust Tuners
•nVidia RTX2060 •XBR65Z9D •AVRX3700H •Fluance 7.2.2 [FH]
•SMP1000DSPѫRSS315HE-22■DIYSG Cube-12
•eD LT.500ѫeD 13ov.2■eD A3-300

kensn

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1362
Re: Command for client to see new server files
« Reply #2 on: September 02, 2017, 06:20:23 pm »

I am currently restarting MC, not the pc. I was hoping there was a mcws or similar type command that could be executed from within a client to avoid restarting MC.

Ken
Logged
If(IsEmpty([Coffee Cup]), Coffee, Drink)

tzr916

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1391
Re: Command for client to see new server files
« Reply #3 on: September 02, 2017, 06:55:39 pm »

Be nice if there is. It's been on my wish list for 15 months and I even asked for it in a "too easy" thread before that. No one came forward until recently with the restart MC button "solution".
Logged
JRiverMC v33 •Windows 10 Pro 64bit •Defender Exclusions •ṈŘ 3rd party AV
•ASUS TUF gaming WiFi z590 •Thermaltake Toughpower GX2 600W
•i7-11700k @ 3.6GHz~5GHz •32GB PC4-25600 DDR4
•OS on Crucial P5 Plus M.2 PCIe Gen4 •Tv Recordings on SATA 6TB WD Red Pro
•4 OTA & 6 CableCard SiliconDust Tuners
•nVidia RTX2060 •XBR65Z9D •AVRX3700H •Fluance 7.2.2 [FH]
•SMP1000DSPѫRSS315HE-22■DIYSG Cube-12
•eD LT.500ѫeD 13ov.2■eD A3-300

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186
Re: Command for client to see new server files
« Reply #4 on: September 02, 2017, 07:36:04 pm »

I have searched but can't seem to find how I get a client to see newly added Server files with[out] restarting the client.

I assume you have Authentication turned on in the Server settings? "Options > Media Network > Authentication".

Also sync turned on in the Client settings? "Options > Media Network > Client Options (when connected to a Library Server) > Auto sync with server" ticked.

MC should then sync the Server and Client on a "regular" basis. I don't recall the definition of "regular".

The restart MC solution is pretty quick, and can be added as a Theatre View menu option, or a remote control button (with some caveats).

If your configuration is correct, and you don't want to use the restart method, there are two MCC Commands that may work, 20026 and 20032. I haven't tested them, and I don't know exactly what they do. They are under the "File" group of commands, so they may just sync the selected file. You will need to test. https://wiki.jriver.com/index.php/Media_Center_Core_Commands#File

Share the solution if you get it working.
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

kensn

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1362
Re: Command for client to see new server files
« Reply #5 on: September 02, 2017, 09:41:28 pm »

Authentication is turned on, although I have just started using it. I will check the Auto Sync setting.

I think I will play around with Library Load mcws command also to see if that might do it.

Ken
Logged
If(IsEmpty([Coffee Cup]), Coffee, Drink)
Pages: [1]   Go Up