INTERACT FORUM

More => Old Versions => JRiver Media Center 19 for Windows => Topic started by: Matt on October 18, 2013, 06:08:32 pm

Title: NEW: Native CD Art Display (CAD) / Rainmeter support
Post by: Matt 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 (http://www.cdartdisplay.byethost8.com/index.html) and Rainmeter (http://rainmeter.net/cms/) 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 (http://poiru.github.io/jr-intcad/) 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).
Title: Re: NEW: Native CD Art Display (CAD) / Rainmeter support
Post by: Matt on October 18, 2013, 10:28:02 pm
reserved
Title: Re: NEW: Native CD Art Display (CAD) / Rainmeter support
Post by: jkrzok 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 (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.
Title: Re: NEW: Native CD Art Display (CAD) / Rainmeter support
Post by: whatsup 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?
Title: Re: NEW: Native CD Art Display (CAD) / Rainmeter support
Post by: FastKayak 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
Title: Re: NEW: Native CD Art Display (CAD) / Rainmeter support
Post by: syndromeofadown 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
Title: Re: NEW: Native CD Art Display (CAD) / Rainmeter support
Post by: whatsup 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.
Title: Re: NEW: Native CD Art Display (CAD) / Rainmeter support
Post by: leezer3 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-
Title: Re: NEW: Native CD Art Display (CAD) / Rainmeter support
Post by: kstuart 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 ?
Title: Re: NEW: Native CD Art Display (CAD) / Rainmeter support
Post by: leezer3 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-
Title: Re: NEW: Native CD Art Display (CAD) / Rainmeter support
Post by: wilfredjg on October 21, 2013, 03:44:22 pm
First you'll need to download CD Art Display http://www.cdartdisplay.byethost8.com/index.html (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.
Title: Re: NEW: Native CD Art Display (CAD) / Rainmeter support
Post by: poiru 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).
Title: Re: NEW: Native CD Art Display (CAD) / Rainmeter support
Post by: Matt 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.)?
Title: Re: NEW: Native CD Art Display (CAD) / Rainmeter support
Post by: kstuart 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 ?   ?
Title: Re: NEW: Native CD Art Display (CAD) / Rainmeter support
Post by: maxxsid 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-
Title: Re: NEW: Native CD Art Display (CAD) / Rainmeter support
Post by: poiru 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).
Title: Re: NEW: Native CD Art Display (CAD) / Rainmeter support
Post by: Junghwan on November 07, 2013, 10:45:11 am
It seems not working %albumartist% tag in CAD's text box .
Title: Re: NEW: Native CD Art Display (CAD) / Rainmeter support
Post by: LETRA 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?
Title: Re: NEW: Native CD Art Display (CAD) / Rainmeter support
Post by: wibblefish 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?
Title: Re: NEW: Native CD Art Display (CAD) / Rainmeter support
Post by: 6233638 on May 31, 2014, 10:24:27 am
As I understand it, it's more like a replacement for the old mini view.