INTERACT FORUM

Please login or register.

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

Author Topic: Get default image via MCWS  (Read 1769 times)

GrantDG

  • World Citizen
  • ***
  • Posts: 199
Get default image via MCWS
« on: November 09, 2011, 07:29:34 pm »

I'm working with MCWS, if a file doesn't have an image, I'd like to display a 'default' image (e.g. the MC logo)

Is there a standard method to get a default image via MCWS?
Logged
Looking to control J River Media Center from your Windows Phone?: Look for nMedium & nMedium Play in the WP store

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42372
  • Shoes gone again!
Re: Get default image via MCWS
« Reply #1 on: November 10, 2011, 03:56:20 pm »

This isn't currently possible.

Are you calling with Type=Full or Type=Thumbnail?

Thanks.
Logged
Matt Ashland, JRiver Media Center

GrantDG

  • World Citizen
  • ***
  • Posts: 199
Re: Get default image via MCWS
« Reply #2 on: November 10, 2011, 04:54:12 pm »

I'm calling without Type or ThumbnailSize parameters, so I'm implicitly getting Large / Thumbnail

Does the size make a difference?
Logged
Looking to control J River Media Center from your Windows Phone?: Look for nMedium & nMedium Play in the WP store

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42372
  • Shoes gone again!
Re: Get default image via MCWS
« Reply #3 on: November 10, 2011, 05:11:18 pm »

I'm just trying to figure out how to return the logo, since we don't keep different size versions.

Also, thumbnails are always JPEG and the logo is a PNG.  I wonder if a separate call to get the logo artwork would be better?
Logged
Matt Ashland, JRiver Media Center

GrantDG

  • World Citizen
  • ***
  • Posts: 199
Re: Get default image via MCWS
« Reply #4 on: November 10, 2011, 06:04:30 pm »

I could work with a separate call - but it seems a little overkill.

I can just add my own logic to use a static image of my own instead, if the return for GetImage is not a valid file.
Logged
Looking to control J River Media Center from your Windows Phone?: Look for nMedium & nMedium Play in the WP store
Pages: [1]   Go Up