INTERACT FORUM

Please login or register.

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

Author Topic: NEW: Native CD Art Display (CAD) / Rainmeter support  (Read 36282 times)

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 41903
  • Shoes gone again!
NEW: Native CD Art Display (CAD) / Rainmeter support
« on: October 18, 2013, 06:08:32 pm »

Overview
MC19 adds native support for the CD Art Display SDK.

This allows third-party programs including CD Art Display and Rainmeter to show what MC is playing and to control playback.

Technical Details
When the program starts, or when a new track is played, MC will search for a CD Art Display program running on the system.  If it finds it, it will send playback information and register so that it can be controlled.

The system has no overhead unless a CD Art Display program is running on your system.

The SDK describes the technical details:
http://www.cdartdisplay.com/download/cad-sdk-1.pdf

Thanks
In older versions of MC, CD Art Display support was possible using a third-party plugin created by poiru.  Thanks to him for his work in this area.

With MC19, it is recommended that you hide or uninstall the old CAD plugin since it is no longer needed (and will cause double broadcasts of what's playing).
Logged
Matt Ashland, JRiver Media Center

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 41903
  • Shoes gone again!
Re: NEW: Native CD Art Display (CAD) / Rainmeter support
« Reply #1 on: October 18, 2013, 10:28:02 pm »

reserved
Logged
Matt Ashland, JRiver Media Center

jkrzok

  • Regular Member
  • World Citizen
  • ***
  • Posts: 180
  • Change this by choosing profile
Re: NEW: Native CD Art Display (CAD) / Rainmeter support
« Reply #2 on: October 20, 2013, 08:24:35 pm »

wilfredjg can I ask how u got it to work...i'm having no luck here....thanks

First you'll need to download CD Art Display http://www.cdartdisplay.byethost8.com/index.html

Once installed you'll need to tell CD Art Display to listen to jriver. Right click on CD Art Display, choose "Player". In the drop-down choose "Registered Player". Under player location navigate to wherever jriver is installed in your system, e.g. C:\Program Files (x86)\J River\Media Center 19\Media Center 19.exe.

You can then choose to play with CAD's options. I recommend to have CAD start with windows, for example (options>>general). You can also download multiple skins. Open CAD's skin editor and click on the magnifying glass to get to deviant art's CAD skin listing.
Logged

whatsup

  • Junior Woodchuck
  • **
  • Posts: 83
Re: NEW: Native CD Art Display (CAD) / Rainmeter support
« Reply #3 on: October 20, 2013, 08:51:13 pm »

Thanks, Will give it a shot...

UPDate: ok I thought this was the Rainmeter. I installed the CD art and it works fine. found the player on it's own.

lol....what does the Rainmeter do for JRiver?
Logged

FastKayak

  • World Citizen
  • ***
  • Posts: 196
Re: NEW: Native CD Art Display (CAD) / Rainmeter support
« Reply #4 on: October 20, 2013, 09:05:19 pm »

I installed Rainmaker, I start Rainmaker and then select JRiver as the media player.  When I start up Media Center there is no interaction.  The music/album art widget in Rainmaker stays blank. 

There must be something I'm missing...?

FastKayak / Larry
Logged

syndromeofadown

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 805
Re: NEW: Native CD Art Display (CAD) / Rainmeter support
« Reply #5 on: October 20, 2013, 09:14:36 pm »

About CD Art Display not Rainmaker

Quote
Once installed you'll need to tell CD Art Display to listen to jriver

JRiver is talking to CD Art Display on my computer and I did nothing. It just works.
I checked the settings and its still set to default player. This is nice and easy.

Skins are a different story
It appears newer skins have a 'cskin' extension and they install easily and work.
Older skins come in zip files and have a series of folders and images that do nothing.
Maybe these zip files are for CD Art Display version 2 (3 is the current version).
Someone here likely knows. Please share if you do.

Thanks
Logged

whatsup

  • Junior Woodchuck
  • **
  • Posts: 83
Re: NEW: Native CD Art Display (CAD) / Rainmeter support
« Reply #6 on: October 20, 2013, 11:13:55 pm »

OK, I have installed several CDart skins and they are all nice but I guess I don't understand the true purpose of them as MC does all of the same stuff and in my opinion does it better. Like the full screen feature for cover art in MC...superb....yes I understand u can control MC with the cdart gadget, but how is this any different than controlling MC natively....just my 2cents that's all.
Logged

leezer3

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1569
Re: NEW: Native CD Art Display (CAD) / Rainmeter support
« Reply #7 on: October 21, 2013, 04:29:07 am »

I installed Rainmaker, I start Rainmaker and then select JRiver as the media player.  When I start up Media Center there is no interaction.  The music/album art widget in Rainmaker stays blank. 

There must be something I'm missing...?

FastKayak / Larry

I believe Rainmeter is currently broken. I have reported this, and AFAIK Matt is on it.

-Leezer-
Logged

kstuart

  • Citizen of the Universe
  • *****
  • Posts: 1955
  • Upgraded to MC22 Master using preorder discount
Re: NEW: Native CD Art Display (CAD) / Rainmeter support
« Reply #8 on: October 21, 2013, 01:26:04 pm »

Does this work across a LAN ?

Can a MediaServer Client run the CAD or Rainmeter widgets that show tracks running on MediaServer on a different PC in the LAN ?

leezer3

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1569
Re: NEW: Native CD Art Display (CAD) / Rainmeter support
« Reply #9 on: October 21, 2013, 01:54:43 pm »

Does this work across a LAN ?

Can a MediaServer Client run the CAD or Rainmeter widgets that show tracks running on MediaServer on a different PC in the LAN ?

As it stands at present, your files must be *playing* on the computer you're running CAD/ Rainmeter on. It doesn't matter whether you're playing from a DLNA device, library server or local library.

-Leezer-
Logged

wilfredjg

  • World Citizen
  • ***
  • Posts: 102
Re: NEW: Native CD Art Display (CAD) / Rainmeter support
« Reply #10 on: October 21, 2013, 03:44:22 pm »

First you'll need to download CD Art Display http://www.cdartdisplay.byethost8.com/index.html

Once installed you'll need to tell CD Art Display to listen to jriver. Right click on CD Art Display, choose "Player". In the drop-down choose "Registered Player". Under player location navigate to wherever jriver is installed in your system, e.g. C:\Program Files (x86)\J River\Media Center 19\Media Center 19.exe.

You can then choose to play with CAD's options. I recommend to have CAD start with windows, for example (options>>general). You can also download multiple skins. Open CAD's skin editor and click on the magnifying glass to get to deviant art's CAD skin listing.
Yes that is how I got it to work and  it work great.
Logged

poiru

  • Recent member
  • *
  • Posts: 29
Re: NEW: Native CD Art Display (CAD) / Rainmeter support
« Reply #11 on: October 21, 2013, 11:32:49 pm »

Matt, please let me know if you have trouble getting things to work with Rainmeter. I'll be more than glad to help.

Some notes:
- You should exclude WM_USER from the message filter with `ChangeWindowMessageFilterEx(c_Window, WM_USER, MSGFLT_ALLOW, NULL)` (Win7 and later only). This allows CAD/Rainmeter to communicate with JRiver even when JRiver is running with elevated privileges. See https://github.com/poiru/jr-intcad/blob/master/Plugin/JrPlugin.cpp#L70
- If the client window you're communicating with has a class name of NowPlaying, send `PostMessage(c_CadWindow, WM_USER, (WPARAM)NULL, (LPARAM)IPC_SHUTDOWN_NOTIFICATION)` to the client window when JRiver shuts down. See https://github.com/poiru/jr-intcad/blob/master/Plugin/JrPlugin.cpp#L96

By the way, you have my permission to use part of or all of this file at your own terms: https://github.com/poiru/jr-intcad/blob/master/Plugin/JrPlugin.cpp (i.e. you are not obliged to follow the GPL 2.0 licensing in this case).
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 41903
  • Shoes gone again!
Re: NEW: Native CD Art Display (CAD) / Rainmeter support
« Reply #12 on: October 22, 2013, 11:46:32 am »

Matt, please let me know if you have trouble getting things to work with Rainmeter. I'll be more than glad to help.

Thanks.  And thanks for your previous work here.

My only concern is that since the CAD SDK is built around sent messages, there's a possibility for a misbehaving CAD host to cause problems in MC.  I wondered if it'd be better to create a worker thread for each send to protect against this?

Do you know, is it required to respond to IPC_GET_CURRENT_TRACK with a SendMessage(...), or is it fine to send the track info after a delay (because of threading, etc.)?
Logged
Matt Ashland, JRiver Media Center

kstuart

  • Citizen of the Universe
  • *****
  • Posts: 1955
  • Upgraded to MC22 Master using preorder discount
Re: NEW: Native CD Art Display (CAD) / Rainmeter support
« Reply #13 on: October 22, 2013, 11:52:09 am »

As it stands at present, your files must be *playing* on the computer you're running CAD/ Rainmeter on. It doesn't matter whether you're playing from a DLNA device, library server or local library.
If it must be playing on the same PC, then why is that any benefit over MediaCenter's Playing Now display in Standard View or Theater View ?   ?

maxxsid

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 865
Re: NEW: Native CD Art Display (CAD) / Rainmeter support
« Reply #14 on: October 22, 2013, 07:22:17 pm »

Works on my system! I am on version 2.4.0 though. Haven't upgraded to 3.0

I believe Rainmeter is currently broken. I have reported this, and AFAIK Matt is on it.

-Leezer-
Logged

poiru

  • Recent member
  • *
  • Posts: 29
Re: NEW: Native CD Art Display (CAD) / Rainmeter support
« Reply #15 on: October 24, 2013, 01:34:32 am »

Do you know, is it required to respond to IPC_GET_CURRENT_TRACK with a SendMessage(...), or is it fine to send the track info after a delay (because of threading, etc.)?
A delay is fine (at least with Rainmeter and presumably with CAD as well).
Logged

Junghwan

  • Recent member
  • *
  • Posts: 33
  • ...wish you were here
Re: NEW: Native CD Art Display (CAD) / Rainmeter support
« Reply #16 on: November 07, 2013, 10:45:11 am »

It seems not working %albumartist% tag in CAD's text box .
Logged

LETRA

  • World Citizen
  • ***
  • Posts: 123
Re: NEW: Native CD Art Display (CAD) / Rainmeter support
« Reply #17 on: May 31, 2014, 12:59:01 am »

I installed CAD and it seems that it is not compatible at the same time with the plugin for rainmeter. does this happen to anyone else?
Logged

wibblefish

  • Recent member
  • *
  • Posts: 32
Re: NEW: Native CD Art Display (CAD) / Rainmeter support
« Reply #18 on: May 31, 2014, 09:21:08 am »

Without going off to install it, I am struggling to understand what CAD brings to MC19.
In particular, does CAD add any additional images/value to MC's Theatreview?
Logged

6233638

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 5353
Re: NEW: Native CD Art Display (CAD) / Rainmeter support
« Reply #19 on: May 31, 2014, 10:24:27 am »

As I understand it, it's more like a replacement for the old mini view.
Logged
Pages: [1]   Go Up