INTERACT FORUM

Please login or register.

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

Author Topic: Refresh of display rules on Media server  (Read 2389 times)

PhDSM

  • Regular Member
  • World Citizen
  • ***
  • Posts: 193
Refresh of display rules on Media server
« on: March 21, 2016, 03:46:54 pm »

Hello,

On my DLNA customize view, I have a display rules for podcast that includes : "Number Plays is 0"

When I play a podcast,  the number plays is correctly incremented in MediaCenter, but it seems that Media server doesnt take it in account. Podcast which now has a Number Plays >  0  continue to be listed, until I restart mediaserver. It seems that media server doesnt refresh the display rules.
Regards
Logged

AndrewFG

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3392
Re: Refresh of display rules on Media server
« Reply #1 on: March 21, 2016, 04:06:33 pm »

This might be related to your other problem...

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

PhDSM

  • Regular Member
  • World Citizen
  • ***
  • Posts: 193
Re: Refresh of display rules on Media server
« Reply #2 on: April 08, 2016, 08:59:36 am »

I don't think so as it is not linked with access MC from the TV.
I get this problem with WebPlay, WebRemote, Gizmo .....
It is like the Server program donot refresh playlist rule

And I think you can test on you side:

Configure a daily or hourly or whatever podcast
In MediaNetwork >  Customize view for JRemote...
  create a view and  Set a display rule to   "NumberPlays  is 0"

Now from Webremote   play a podcast

You will notice that till MediaServer has not been restarted :
 -  Played podcasts keep been listed,
 -  and new podcasts are not .

Attached a screen capture of the configuration.

I also noticed that when you change the customization,  changes occurs in WebRemote only once mediaserver is restarted.
Logged

Arindelle

  • Citizen of the Universe
  • *****
  • Posts: 2772
Re: Refresh of display rules on Media server
« Reply #3 on: April 08, 2016, 09:19:40 am »

The play count is like editing a tag. You need the authenticate option turned on server side. Do you have this checked?

I also noticed that when you change the customization,  changes occurs in WebRemote only once mediaserver is restarted.

This is normal as it is library based. You can force this to happen by reconnecting to the server or stopping the app you are using. You don't have to restart the server, just have the library reloaded on the remote device in some way.

I only use JRemote, but I think that would be the same for all.
Logged

blgentry

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 8014
Re: Refresh of display rules on Media server
« Reply #4 on: April 08, 2016, 09:29:45 am »

I'm not 100% sure, but this might be related to how MC presents smartlists to remotes.  With remotes (like JRemote, etc) smartlists don't get updated.  You'll always get the same thing from the smartlist until the server gets restarted or it gets manually refreshed.  Some details (and a workaround) here:

https://yabb.jriver.com/interact/index.php?topic=103218.0

Brian.
Logged

PhDSM

  • Regular Member
  • World Citizen
  • ***
  • Posts: 193
Re: Refresh of display rules on Media server
« Reply #5 on: April 08, 2016, 10:29:58 am »

Thanks for your replies,

It seems it is like the problem of smartlist, I will try the  2 solution proposed in your link.

http://localhost:52199/MCWS/v1/Control/MCC?Command=22007   =>  Didn't work

http://localhost:52199/MCWS/v1/Control/CommandLine?Arguments=/Restart    => Works

However it restarted both MediaCenter and MediaServer
Is there a command that restart only MediaServer ?
Logged

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: Refresh of display rules on Media server
« Reply #6 on: April 08, 2016, 12:43:47 pm »

Is there a command that restart only MediaServer ?

No. They're the same process.
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/
Pages: [1]   Go Up