INTERACT FORUM

Please login or register.

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

Author Topic: Auto import when running MC25 in server mode doesn't work?  (Read 1029 times)

dhiggins

  • Regular Member
  • World Citizen
  • ***
  • Posts: 126
Auto import when running MC25 in server mode doesn't work?
« on: July 30, 2019, 09:20:48 am »

Just a quick question. Is that supposed to work?

I've got MC25 setup as a service, running as a specific user with the proper rights.

I can get to the server fine from client machines, so I know that's working.

And, with the server stopped, I've configured MC to autoimport from a few specific folders.

If I import via the GUI manually, it works fine.

but if I stop the GUI, start MC in server mode via the service, and then put new files into the import folders, they never end up in the library.

Is auto import just not intended to work when in Server mode?

Any ideas?

Thanks

Darin
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72444
  • Where did I put my teeth?
Re: Auto import when running MC25 in server mode doesn't work?
« Reply #1 on: July 30, 2019, 09:30:13 am »

If you're using MC's Library Server to share, the server should be set to auto import what you want.  The client will then connect to it and use the server's library.

The wiki has a topic on Library Server.
Logged

dhiggins

  • Regular Member
  • World Citizen
  • ***
  • Posts: 126
Re: Auto import when running MC25 in server mode doesn't work?
« Reply #2 on: July 30, 2019, 09:54:36 am »

Right. I think I have it set up this way.

I'm running

C:\Program Files\J River\Media Center 25\Media Center 25.exe

with /MediaServer command line switch.

When I just run MC on the server for the GUI, I can see that the auto import is configured and should be set to pull from the dirs I specified. It just doesn't seem to actually do it.

But I can definitely connect to the server from a client, so at least I know I've got the server configured right from that perspective anyway.

Is there a log file written somewhere on the server that would show what it does when autoimport kicks on?


Darin
Logged

DJLegba

  • Citizen of the Universe
  • *****
  • Posts: 995
Re: Auto import when running MC25 in server mode doesn't work?
« Reply #3 on: July 30, 2019, 09:58:25 am »

It's probably best to just keep the GUI minimized on your server. If you have a DAC connected to the server it will only play if the GUI is running, no matter how you control MC. With the GUI minimized, auto-import runs as expected.
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72444
  • Where did I put my teeth?
Re: Auto import when running MC25 in server mode doesn't work?
« Reply #4 on: July 30, 2019, 10:47:01 am »

Minimizing the GUI doesn't affect auto-import.  Running Media Server on Windows startup is enough to make sure auto-import is working all the time.

Changes in the server's library aren't available on the clients until they are restarted.
Logged

dhiggins

  • Regular Member
  • World Citizen
  • ***
  • Posts: 126
Re: Auto import when running MC25 in server mode doesn't work?
« Reply #5 on: July 31, 2019, 07:15:43 am »

Ok. I'll keep playing with it.

I set up MC to run as a service so that it'll start on windows startup without explicitly having to log in. I've run it that way forever and it seems to work fine.

I didn't realize that clients don't dynamically update. I'll keep that in mind as Im looking at it.

Thanks!
Logged

tzr916

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1391
Re: Auto import when running MC25 in server mode doesn't work?
« Reply #6 on: July 31, 2019, 08:29:03 am »

This is an ongoing known issue with MC. Add files to a folder that MC auto import is supposed to be watching and they can show up right away, or maybe 24 hrs later, or not at all... until you force an auto import. It's been brought up before around here, there's never been any good reason or solution. Doesn't matter if you have disabled antivirus, or use NAS, or use local drives, blah blah blah...

https://yabb.jriver.com/interact/index.php/topic,121074.msg838590.html#msg838590
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

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72444
  • Where did I put my teeth?
Re: Auto import when running MC25 in server mode doesn't work?
« Reply #7 on: July 31, 2019, 09:03:59 am »

This is an ongoing known issue with MC. Add files to a folder that MC auto import is supposed to be watching and they can show up right away, or maybe 24 hrs later, or not at all... until you force an auto import. It's been brought up before around here, there's never been any good reason or solution. Doesn't matter if you have disabled antivirus, or use NAS, or use local drives, blah blah blah...

https://yabb.jriver.com/interact/index.php/topic,121074.msg838590.html#msg838590
Why don't you reply to RoderickGI's questions in that thread?

Your statement is inaccurate.  Only NAS drives are normally a challenge to auto-import.  They don't notify the OS of file changes.  MC scans NAS drives on a timer.
Logged

tzr916

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1391
Re: Auto import when running MC25 in server mode doesn't work?
« Reply #8 on: July 31, 2019, 09:32:22 am »

Why not design MC to auto import ALL drives on a timer? Why just NAS?
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

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72444
  • Where did I put my teeth?
Re: Auto import when running MC25 in server mode doesn't work?
« Reply #9 on: July 31, 2019, 09:45:51 am »

Why not design MC to auto import ALL drives on a timer? Why just NAS?
Because the OS provides notifications of file changes, so a timer isn't normally needed.  Scanning all drives frequently is expensive.
Logged

tzr916

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1391
Re: Auto import when running MC25 in server mode doesn't work?
« Reply #10 on: July 31, 2019, 10:34:59 am »

The key word being "normally". It's obviously not reliable enough, thus the various topics and confusion from new users, and the need for workarounds by seasoned users. How hard would it be to add the feature of user configurable schedules for Auto Import? (similar to Tv Guide data import schedule)  ....and the same applies to MC Library backups, which is another MC mystery that requires external workarounds to make reliable.
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

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72444
  • Where did I put my teeth?
Re: Auto import when running MC25 in server mode doesn't work?
« Reply #11 on: July 31, 2019, 11:21:34 am »

I realize that you have a problem, but I think you're exaggerating the extent of the problem.

If you're using MC as a client, the server may be successfully auto-importing, but you're not seeing the changes until you reconnect.

It would be helpful it you could focus on your problem, rather that speculate about others' problems.  You could start by answering the questions that RoderickGI asked in your original thread.
Logged
Pages: [1]   Go Up