INTERACT FORUM

Please login or register.

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

Author Topic: JRiver Database  (Read 3372 times)

roald.andresen

  • Recent member
  • *
  • Posts: 16
JRiver Database
« on: September 26, 2020, 09:17:55 am »

Hi
First of all.  I apologise if this is a question that has been asked one or more times before (even worse,if I have asked it before), and if I placed it in the wrong forum.

On the top of my wish list for the JRiver MediaPlayer is an SQL and/or jdbc interface to the library database - a read-only interface would be enough.  The database format seems very much to be proprietary and is probably a company secret.  If I'm wrong (about the secret part), is there (or will there ever be) a documentation of it?

With kind regards,
Roald Andresen
Logged

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186
Re: JRiver Database
« Reply #1 on: September 26, 2020, 06:25:35 pm »

Check out MCWS in the Dev Wiki. https://wiki.jriver.com/index.php/DevZone

There are tools that can get data out of MC. MCUtils and "Swag Of Tools" for example. Search the forum for them. But I suspect you are running on Linux, while those are Windows tool.

You can just copy data from Views in MC, and paste into an external application.


What are you actually trying to do?
Logged
What specific version of MC you are running:MC27.0.27 @ Oct 27, 2020 and updating regularly Jim!                        MC Release Notes: https://wiki.jriver.com/index.php/Release_Notes
What OS(s) and Version you are running:     Windows 10 Pro 64bit Version 2004 (OS Build 19041.572).
The JRMark score of the PC with an issue:    JRMark (version 26.0.52 64 bit): 3419
Important relevant info about your environment:     
  Using the HTPC as a MC Server & a Workstation as a MC Client plus some DLNA clients.
  Running JRiver for Android, JRemote2, Gizmo, & MO 4Media on a Sony Xperia XZ Premium Android 9.
  Playing video out to a Sony 65" TV connected via HDMI, playing digital audio out via motherboard sound card, PCIe TV tuner

guer_j

  • Recent member
  • *
  • Posts: 22
Re: JRiver Database
« Reply #2 on: October 07, 2020, 12:37:26 pm »

You can download the your whole library data as XML.
Something like this:

https://192.168.1.x:52199/MCWS/v1/Library/Get?Settings=0


Then, if you have access to a SQLServer for example  (there might be other db engines that lets you do this too) you could use that XML and query using the standard query language.


https://docs.microsoft.com/en-us/sql/t-sql/xml/query-method-xml-data-type?view=sql-server-ver15


But honestly this is not a very efficient use of sql. JRiver query engine is pretty great, no need to reinvent the wheel there.
Logged

zxsix

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1753
Re: JRiver Database
« Reply #3 on: December 04, 2020, 09:54:41 am »

I've never used it, but another user created a plugin to link the MC database to Microsoft SQL.
It's read/write.

https://yabb.jriver.com/interact/index.php/topic,56405.msg768996.html#msg768996
Logged
Pages: [1]   Go Up