INTERACT FORUM

Please login or register.

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

Author Topic: Fedora 17+ Linux Setup for JRiver Media Center  (Read 56900 times)

RemyJ

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 1249
Fedora 17+ Linux Setup for JRiver Media Center
« on: October 15, 2013, 06:30:27 pm »

For those of us running Fedora, I've created a script that will repack the deb files into an rpm and make sure the correct dependencies are installed.
There are a few gotchas though...

lame and librtmp:  Both are provided by the rpmfusion-free repository.  If you already have the repository installed in /etc/yum.repos.d you're good to go.  If not, the script will download the rpm that installs the repository.  You'll have to install it manually though.  See below.

This is a 2 stage process....  Building the rpm and installing the rpms.

Building the rpm...
Unzip the attached file.  It will create a mediacenter-20 directory in the current directory.
Run the script passing in the version of MediaCenter you want to package.  

Code: [Select]
cd mediacenter-20/SPECS
# build the 32 bit version of 20.0.110
./rpmb 20.0.110
# or build the 64 bit version of 20.0.110
./rpmb 20.0.110-amd64

The script does the following...
Downloads the MediaCenter deb file if it's not already present.
Downloads the rpmfusion repository rpm if it isn't already present.
Runs the rpmbuild process.

If the script completes successfully, you'll have 2 rpms.  With Fedora 20 and MC 20.0.110 as examples...
mediacenter-20/RPMS/noarch/rpmfusion-free-release-20.noarch.rpm
and either
mediacenter-20/RPMS/i686/MediaCenter-20.0.110-22.fc21.i686.rpm
or
mediacenter-20/RPMS/x66_64/MediaCenter-20.0.110-22.fc21.x86_64.rpm

Code: [Select]
cd ../RPMS/noarch
sudo yum localinstall rpmfusion-free-release-20.noarch.rpm
# Install the 32 bit version
cd ../RPMS/i686
sudo yum localinstall MediaCenter-20.0.110-22.fc21.i686.rpm
# Or install the 64 bit version
cd ../RPMS/x86_64
sudo yum localinstall MediaCenter-20.0.110-22.fc21.x66_64.rpm

You'll have to install rpmfusion first, and separately from, MediaCenter otherwise the MediaCenter rpm won't find lame or librtmp.
The rpms can be copied to any machine with the same Fedora release.

-------------------
Edit: Script Version 9.
Added a libcurl compiled under Fedora 17 which will work with 17+.  This should all but eliminate the chances of needing to build libcurl.

-------------------
Edit: Script Version 10
Fixed the mediacenter.desktop file to use LD_LIBRARY_PATH instead of a file in /etc/ld.so.conf.d

-------------------
Edit: Script Version 11
Removed the need for custom versions of libcurl.

-------------------
Edit: Script Version 12
Added a temporary build of libcrypto++.so.9 compiled with SSE2 while waiting for official Fedora build.
http://tinyurl.com/mediacenter-19-12-zip

-------------------
Edit: Script Version 13
Updated to work with Fedora 20.  Still backwards compatible to fc17.
http://tinyurl.com/mediacenter-19-13-zip

-------------------
Edit: Script Version 13
Added dependency for libboost_regex.
http://tinyurl.com/mediacenter-19-14-zip

-------------------
Edit: Script Version 15
Removed dependency for libcryptopp and libboost_regex.
Fixed script to handle '-' in the version number.  You can now do './rpmb 19.0.103-3'
http://tinyurl.com/mediacenter-19-15-zip

-------------------
Edit: Script Version 17
Updated for Media Center 20
http://tinyurl.com/mediacenter-20-17-zip

-------------------
Edit: Script Version 18
Added a dependency for mesa-libGL
http://tinyurl.com/mediacenter-20-18-zip

-------------------
Edit: Script Version 19
Adjust for duplicate 'media center 20.desktop' file
http://tinyurl.com/mediacenter-20-19-zip

-------------------
Edit: Script Version 20
Adjust for .desktop file rename
Added experimental support for 64 bit package
http://tinyurl.com/mediacenter-20-20-zip

-------------------
Edit: Script Version 22
Merged 32 bit and 64 bit scripts
Changed lib64 -> lib for 64 bit
http://tinyurl.com/mediacenter-20-22-zip
Logged
Fedora 40 x86_64 Xfce

kane

  • Member
  • *
  • Posts: 2
Re: Fedora 17+ Linux Setup for JRiver Media Center
« Reply #1 on: November 14, 2013, 08:38:44 am »

Trying this with fc19.x86_64 but not working with MC 19.0.74.

This is the output:
Loaded plugins: langpacks, refresh-packagekit
Package rpm-build-4.11.1-3.fc19.x86_64 already installed and latest version
Package dpkg-1.16.10-6.fc19.x86_64 already installed and latest version
Nothing to do
Building target platforms: i686-redhat-linux-gnu
Building for target i686-redhat-linux-gnu
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qA9qKA
+ umask 022
+ cd /home/XXXXX/Downloads/mediacenter-19/BUILD
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.nNShJp
+ umask 022
+ cd /home/XXXXX/Downloads/mediacenter-19/BUILD
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.scWyIe
+ umask 022
+ cd /home/XXXXX/Downloads/mediacenter-19/BUILD
+ '[' /home/XXXXX/Downloads/mediacenter-19/BUILDROOT/MediaCenter-19.0.74-10.fc19.i386 '!=' / ']'
+ rm -rf /home/XXXXX/Downloads/mediacenter-19/BUILDROOT/MediaCenter-19.0.74-10.fc19.i386
++ dirname /home/XXXXX/Downloads/mediacenter-19/BUILDROOT/MediaCenter-19.0.74-10.fc19.i386
+ mkdir -p /home/XXXXX/Downloads/mediacenter-19/BUILDROOT
+ mkdir /home/XXXXX/Downloads/mediacenter-19/BUILDROOT/MediaCenter-19.0.74-10.fc19.i386
+ rm -rf /home/XXXXX/Downloads/mediacenter-19/BUILDROOT/MediaCenter-19.0.74-10.fc19.i386
+ dpkg -x /home/XXXXX/Downloads/mediacenter-19/SOURCES/MediaCenter-19.0.74.deb /home/XXXXX/Downloads/mediacenter-19/BUILDROOT/MediaCenter-19.0.74-10.fc19.i386
+ cp /home/XXXXX/Downloads/mediacenter-19/SOURCES/libcurl.so.4.3.0.19 '/home/XXXXX/Downloads/mediacenter-19/BUILDROOT/MediaCenter-19.0.74-10.fc19.i386/usr/lib/jriver/Media Center 19/libcurl.so.4.3.0'
+ cd '/home/XXXXX/Downloads/mediacenter-19/BUILDROOT/MediaCenter-19.0.74-10.fc19.i386/usr/lib/jriver/Media Center 19'
+ ln -s libcurl.so.4.3.0 libcurl.so.4
+ ln -s libcurl.so.4.3.0 libcurl.so
+ mkdir -p /home/XXXXX/Downloads/mediacenter-19/BUILDROOT/MediaCenter-19.0.74-10.fc19.i386/usr/share/applications
+ cp /home/XXXXX/Downloads/mediacenter-19/SOURCES/mediacenter.desktop /home/XXXXX/Downloads/mediacenter-19/BUILDROOT/MediaCenter-19.0.74-10.fc19.i386/usr/share/applications
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-compress
+ /usr/lib/rpm/redhat/brp-strip /usr/bin/true
+ /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/true /usr/bin/true
+ /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/true
+ /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1
+ /usr/lib/rpm/redhat/brp-python-hardlink
+ /usr/lib/rpm/redhat/brp-java-repack-jars
Processing files: MediaCenter-19.0.74-10.fc19.i686
error: File not found: /home/XXXXX/Downloads/mediacenter-19/BUILDROOT/MediaCenter-19.0.74-10.fc19.i386/usr/bin/mediacenter


RPM build errors:
    File not found: /home/XXXXX/Downloads/mediacenter-19/BUILDROOT/MediaCenter-19.0.74-10.fc19.i386/usr/bin/mediacenter

Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13874
Re: Fedora 17+ Linux Setup for JRiver Media Center
« Reply #2 on: November 14, 2013, 10:18:31 am »

The binary is named mediacenter19 now (/usr/bin/mediacenter19). If you change that in RemyJ's script it might work.
Logged

RemyJ

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 1249
Re: Fedora 17+ Linux Setup for JRiver Media Center
« Reply #3 on: November 14, 2013, 11:12:50 am »

Yeah, I forgot to update the script.   Give me an hour or 2 and I'll upload a new version.
Logged
Fedora 40 x86_64 Xfce

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13874
Re: Fedora 17+ Linux Setup for JRiver Media Center
« Reply #4 on: November 14, 2013, 11:26:00 am »

Yeah, I forgot to update the script.   Give me an hour or 2 and I'll upload a new version.

Thanks!
Logged

RemyJ

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 1249
Re: Fedora 17+ Linux Setup for JRiver Media Center
« Reply #5 on: November 15, 2013, 05:41:09 pm »


Sorry for the delay.

Updated the script to version 11 and tested it with 19.0.76. 

Logged
Fedora 40 x86_64 Xfce

rinring

  • Recent member
  • *
  • Posts: 47
Re: Fedora 17+ Linux Setup for JRiver Media Center
« Reply #6 on: November 17, 2013, 10:17:29 am »

I have Fedora 19 64 bits.

I have successfully created MediaCenter-19.0.76-10.fc19.i686.rpm.
I already had rpmfusion activated.

I have successfully installed the generated rpm.
Code: [Select]
Failed to set locale, defaulting to C
Geladene Plugins: etckeeper, langpacks, priorities, refresh-packagekit, refresh-updatesd, versionlock
MediaCenter-19.0.76-10.fc19.i686.rpm wird untersucht: MediaCenter-19.0.76-10.fc19.i686
MediaCenter-19.0.76-10.fc19.i686.rpm wird zum Installieren markiert
Abh?ngigkeiten werden aufgel?st
--> Transaktionspr?fung wird ausgef?hrt
---> Paket MediaCenter.i686 0:19.0.76-10.fc19 markiert, um installiert zu werden
--> Abh?ngigkeit xorg-x11-fonts-75dpi wird f?r Paket MediaCenter-19.0.76-10.fc19.i686 verarbeitet
31 packages excluded due to repository priority protections
--> Abh?ngigkeit xorg-x11-fonts-100dpi wird f?r Paket MediaCenter-19.0.76-10.fc19.i686 verarbeitet
--> Abh?ngigkeit xorg-x11-fonts-ISO8859-1-75dpi wird f?r Paket MediaCenter-19.0.76-10.fc19.i686 verarbeitet
--> Transaktionspr?fung wird ausgef?hrt
---> Paket xorg-x11-fonts-100dpi.noarch 0:7.5-8.fc19 markiert, um installiert zu werden
---> Paket xorg-x11-fonts-75dpi.noarch 0:7.5-8.fc19 markiert, um installiert zu werden
---> Paket xorg-x11-fonts-ISO8859-1-75dpi.noarch 0:7.5-8.fc19 markiert, um installiert zu werden
--> Abh?ngigkeitsaufl?sung beendet
--> Finde nicht mehr ben?tigte Abh?ngigkeiten
Found and removing 0 unneeded dependencies

Abh?ngigkeiten aufgel?st

=================================================================================================================================================================================
 Package                                            Arch                       Version                               Paketquelle                                           Gr??e
=================================================================================================================================================================================
Installieren:
 MediaCenter                                        i686                       19.0.76-10.fc19                       /MediaCenter-19.0.76-10.fc19.i686                     140 M
Als Abh?ngigkeiten installiert:
 xorg-x11-fonts-100dpi                              noarch                     7.5-8.fc19                            fedora                                                3.1 M
 xorg-x11-fonts-75dpi                               noarch                     7.5-8.fc19                            fedora                                                2.8 M
 xorg-x11-fonts-ISO8859-1-75dpi                     noarch                     7.5-8.fc19                            fedora                                                933 k

Transaktions?bersicht
=================================================================================================================================================================================
Installieren  1 Paket (+3 Abh?ngige Pakete)

Gesamtgr??e: 146 M
Gesamte Downloadgr??e: 6.8 M
Installationsgr??e: 147 M
Is this ok [y/d/N]: y
Downloading packages:
(1/3): xorg-x11-fonts-100dpi-7.5-8.fc19.noarch.rpm                                                                                                        | 3.1 MB  00:00:00     
(2/3): xorg-x11-fonts-75dpi-7.5-8.fc19.noarch.rpm                                                                                                         | 2.8 MB  00:00:00     
(3/3): xorg-x11-fonts-ISO8859-1-75dpi-7.5-8.fc19.noarch.rpm                                                                                               | 933 kB  00:00:00     
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Gesamt                                                                                                                                           5.5 MB/s | 6.8 MB     00:01     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
etckeeper: pre transaction commit
  Installieren     : xorg-x11-fonts-75dpi-7.5-8.fc19.noarch                                                                                                                  1/4
  Installieren     : xorg-x11-fonts-100dpi-7.5-8.fc19.noarch                                                                                                                 2/4
  Installieren     : xorg-x11-fonts-ISO8859-1-75dpi-7.5-8.fc19.noarch                                                                                                        3/4
  Installieren     : MediaCenter-19.0.76-10.fc19.i686                                                                                                                        4/4
etckeeper: post transaction commit
  ?berpr?fung l?uft: xorg-x11-fonts-ISO8859-1-75dpi-7.5-8.fc19.noarch                                                                                                        1/4
  ?berpr?fung l?uft: xorg-x11-fonts-100dpi-7.5-8.fc19.noarch                                                                                                                 2/4
  ?berpr?fung l?uft: MediaCenter-19.0.76-10.fc19.i686                                                                                                                        3/4
  ?berpr?fung l?uft: xorg-x11-fonts-75dpi-7.5-8.fc19.noarch                                                                                                                  4/4

Installiert:
  MediaCenter.i686 0:19.0.76-10.fc19                                                                                                                                             

Abhangigkeit installiert:
  xorg-x11-fonts-100dpi.noarch 0:7.5-8.fc19               xorg-x11-fonts-75dpi.noarch 0:7.5-8.fc19               xorg-x11-fonts-ISO8859-1-75dpi.noarch 0:7.5-8.fc19             

Komplett!

But when I invoke
Code: [Select]
/usr/bin/mediacenter19this is the result:
Code: [Select]
JRiver install path (process: 12117): /usr/lib/jriver/Media Center 19/
CJRSharedToolsHelper::AuthenticateJRSharedLib
CJRSharedToolsHelper::AuthenticateJRSharedLib
JRFileSystem::GetDirectoryAppdataCommon
JRFileSystem::GetDirectoryDocuments
JRFileSystem::GetDirectoryDesktop
JRTools checking thread
CJRSharedToolsHelper::AuthenticateJRSharedLib
libcurl.so.4: cannot open shared object file: No such file or directory
libcurl.so.4: cannot open shared object file: No such file or directory
libcurl.so.4: cannot open shared object file: No such file or directory
libcurl.so.4: cannot open shared object file: No such file or directory
libcurl.so.4: cannot open shared object file: No such file or directory
libcurl.so.4: cannot open shared object file: No such file or directory
Segmentation fault

 :(

Any solution please?

David

Sorry for the delay.

Updated the script to version 11 and tested it with 19.0.76. 


Logged

RemyJ

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 1249
Re: Fedora 17+ Linux Setup for JRiver Media Center
« Reply #7 on: November 17, 2013, 11:56:53 am »

When I removed the external libcurl I may have forgotten to add it to the dependencies.

Try ...
Code: [Select]
yum install libcurl libcurl.i686 libcurl-devel libcurl-devel.i686and see if that helps.
Logged
Fedora 40 x86_64 Xfce

rinring

  • Recent member
  • *
  • Posts: 47
Re: Fedora 17+ Linux Setup for JRiver Media Center
« Reply #8 on: November 18, 2013, 02:03:15 pm »

Now I can run it.   :)
I'll play a little with it, and if I like it, I'll buy it.

When I removed the external libcurl I may have forgotten to add it to the dependencies.

Try ...
Code: [Select]
yum install libcurl libcurl.i686 libcurl-devel libcurl-devel.i686and see if that helps.

Logged

ths61

  • World Citizen
  • ***
  • Posts: 162
Re: Fedora 17+ Linux Setup for JRiver Media Center
« Reply #9 on: December 03, 2013, 12:14:03 am »

Tried the script with a new install of "Fedora Core 19 Desktop 32-bit" inside of VMWare Workstation 10.  

The script was able to install Media Center 19.0.85.

MC is able to find and load the remote library and display all of the album data (posters and meta data).  

Having problems with audio playback.  I will get a brief blip and then nothing.  Playback bar does not progress.

If I set "System Volume", then "Mute" gets checked and can not be unchecked.  Setting to "Internal Volume" unchecks the "Mute".

Also get an X error on startup:

"
...
JRWndTools::StringFromWindowClass
JRWndTools::StringFromWindowClass
Setting focus: 0B17A108
Ignoring Xlib error: error code 8 request code 42
Details: BadMatch (invalid parameter attributes)
JROs -- analyze operating system
JRFileSystem::GetDirectoryDocuments
JRFileSystem::GetDirectoryDocuments
...
"

Also get others later on:

"
...
JRWndTools::StringFromWindowClass
JRBasicWnd::SetCapture
JRWndTools::StringFromWindowClass
Ignoring Xlib error: error code 3 request code 3
Details: BadWindow (invalid Window parameter)
Ignoring Xlib error: error code 3 request code 15
Details: BadWindow (invalid Window parameter)
Ignoring Xlib error: error code 3 request code 15
Details: BadWindow (invalid Window parameter)
Ignoring Xlib error: error code 3 request code 15
Details: BadWindow (invalid Window parameter)
Ignoring Xlib error: error code 3 request code 3
Details: BadWindow (invalid Window parameter)

...
"
Logged
Main - JRMC31 -> custom ALSA_cdsp -> CamillaDSP(2x8 channel 64-bit FIR convolution) -> 8 channel DAC
Office - JRMC31 -> Asus Xonar Essence STX -> W4S STI-1000 -> Mini-Magnepans
Shop - JRMC31 -> W4S MicroDAC -> Adcom GFA-2535 -> B&W Rock Solid

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13874
Re: Fedora 17+ Linux Setup for JRiver Media Center
« Reply #10 on: December 03, 2013, 11:33:24 am »

None of the XLib errors are important.
You'll probably need to change the ALSA device in options. Try pulseif it's there, try the hardware drivers too. You may also have to use DSP studio to set the output format to 44.1k or 48k for all sample rates.
Logged

ths61

  • World Citizen
  • ***
  • Posts: 162
Re: Fedora 17+ Linux Setup for JRiver Media Center
« Reply #11 on: December 03, 2013, 08:58:12 pm »

None of the XLib errors are important.
You'll probably need to change the ALSA device in options. Try pulseif it's there, try the hardware drivers too. You may also have to use DSP studio to set the output format to 44.1k or 48k for all sample rates.


The script chokes on the new version "19.0.85-1" because of the hyphen in the name.  Renaming the download to "19.0.85_1" and tweaking the script allowed the script to work.

I have a "pulse" option which misbehaves the same.  Also tried putting everything to 44.1.  

Only have "ALSA" or "Null Output" devices in MC-19.

I tried hooking up my W4S DAC2-DSDSE via USB.  Fedora Core 19 recognized the USB Audio interface, but MC-19 did not see it.

The system monitor shows a spike in network usage when selecting a new song for a few seconds demonstrating the track is being transferred, but not played.

GUI interaction appears better in this version, but is still problematic (resizing, repositioning, Z-order and repainting).  Does not behave as well as other desktop windows.
Logged
Main - JRMC31 -> custom ALSA_cdsp -> CamillaDSP(2x8 channel 64-bit FIR convolution) -> 8 channel DAC
Office - JRMC31 -> Asus Xonar Essence STX -> W4S STI-1000 -> Mini-Magnepans
Shop - JRMC31 -> W4S MicroDAC -> Adcom GFA-2535 -> B&W Rock Solid

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13874
Re: Fedora 17+ Linux Setup for JRiver Media Center
« Reply #12 on: December 03, 2013, 10:47:22 pm »

The script chokes on the new version "19.0.85-1" because of the hyphen in the name.  Renaming the download to "19.0.85_1" and tweaking the script allowed the script to work.

I have a "pulse" option which misbehaves the same.  Also tried putting everything to 44.1.  

Only have "ALSA" or "Null Output" devices in MC-19.
That's all there is in the device section, the "device settings" are the actual physical devices and the system abstractions of them.
Quote
I tried hooking up my W4S DAC2-DSDSE via USB.  Fedora Core 19 recognized the USB Audio interface, but MC-19 did not see it.

The system monitor shows a spike in network usage when selecting a new song for a few seconds demonstrating the track is being transferred, but not played.

GUI interaction appears better in this version, but is still problematic (resizing, repositioning, Z-order and repainting).  Does not behave as well as other desktop windows.
I'm not familiar with that DAC but you might not recognize it by name in the device settings list.
You could try
aplay -L at a terminal prompt to list your system audio devices and compare them to the MC list.
MC is only trying to open devices that play PCM.
Supported formats are S16_LE, S24_LE and S32_LE (we start with the 32 bit and work our way down until something opens properly).
If you need to check your devices, download the alsacap utility found here (search this forum) and see what it tells you about your DAC.
Logged

ths61

  • World Citizen
  • ***
  • Posts: 162
Re: Fedora 17+ Linux Setup for JRiver Media Center
« Reply #13 on: December 07, 2013, 02:14:52 pm »

That's all there is in the device section, the "device settings" are the actual physical devices and the system abstractions of them.I'm not familiar with that DAC but you might not recognize it by name in the device settings list.
You could try
aplay -L at a terminal prompt to list your system audio devices and compare them to the MC list.
MC is only trying to open devices that play PCM.
Supported formats are S16_LE, S24_LE and S32_LE (we start with the 32 bit and work our way down until something opens properly).
If you need to check your devices, download the alsacap utility found here (search this forum) and see what it tells you about your DAC.


Thanks.  I loaded the latest 19.0.89 and got it playing on the laptop by itself.  Had to use the "front card" option versus the system default or pulse options.  This version of MC appears to display the error dialog more consistently.

Will try the W4S USB DAC2-DSDSE next.

Output without the USB DAC2 hooked up:

./alsacap; aplay -L
*** Scanning for playback devices ***
Card 0, ID `AudioPCI', name `Ensoniq AudioPCI'
  Device 0, ID `ES1371/1', name `ES1371 DAC2/ADC', 1 subdevices (0 available)
Error opening sound device for card 0, device 0: Device or resource busy.  Skipping.
  Device 1, ID `ES1371/2', name `ES1371 DAC1', 1 subdevices (1 available)
    1..2 channels, sampling rate 4000..48000 Hz
    Sample formats: U8, S16_LE
      Subdevice 0, name `subdevice #0'
null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
default
    Default ALSA Output (currently PulseAudio Sound Server)
sysdefault:CARD=AudioPCI
    Ensoniq AudioPCI, ES1371 DAC2/ADC
    Default Audio Device
front:CARD=AudioPCI,DEV=0
    Ensoniq AudioPCI, ES1371 DAC2/ADC
    Front speakers

rear:CARD=AudioPCI,DEV=0
    Ensoniq AudioPCI, ES1371 DAC1
    Rear speakers
surround40:CARD=AudioPCI,DEV=0
    Ensoniq AudioPCI, ES1371 DAC2/ADC
    4.0 Surround output to Front and Rear speakers
iec958:CARD=AudioPCI,DEV=0
    Ensoniq AudioPCI, ES1371 DAC2/ADC
    IEC958 (S/PDIF) Digital Audio Output
Logged
Main - JRMC31 -> custom ALSA_cdsp -> CamillaDSP(2x8 channel 64-bit FIR convolution) -> 8 channel DAC
Office - JRMC31 -> Asus Xonar Essence STX -> W4S STI-1000 -> Mini-Magnepans
Shop - JRMC31 -> W4S MicroDAC -> Adcom GFA-2535 -> B&W Rock Solid

ths61

  • World Citizen
  • ***
  • Posts: 162
Re: Fedora 17+ Linux Setup for JRiver Media Center
« Reply #14 on: December 07, 2013, 02:41:00 pm »

So far, just get static using Card 1, "Front" for the W4S USB DAC2-DSD2 (works on Linux/Openelec and Win7/MC).  Trying other options.

[ths@localhost Downloads]$ ./alsacap; aplay -L
*** Scanning for playback devices ***
Card 0, ID `AudioPCI', name `Ensoniq AudioPCI'
  Device 0, ID `ES1371/1', name `ES1371 DAC2/ADC', 1 subdevices (1 available)
    1..2 channels, sampling rate 4000..48000 Hz
    Sample formats: U8, S16_LE
      Subdevice 0, name `subdevice #0'
  Device 1, ID `ES1371/2', name `ES1371 DAC1', 1 subdevices (1 available)
    1..2 channels, sampling rate 4000..48000 Hz
    Sample formats: U8, S16_LE
      Subdevice 0, name `subdevice #0'
Card 1, ID `Interface', name `32bit 384kHz DSD Interface'
  Device 0, ID `USB Audio', name `USB Audio', 1 subdevices (1 available)
    2 channels, sampling rate 44100..384000 Hz
    Sample formats: S32_LE
      Subdevice 0, name `subdevice #0
'
null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
default
    Default ALSA Output (currently PulseAudio Sound Server)
sysdefault:CARD=AudioPCI
    Ensoniq AudioPCI, ES1371 DAC2/ADC
    Default Audio Device
front:CARD=AudioPCI,DEV=0
    Ensoniq AudioPCI, ES1371 DAC2/ADC
    Front speakers
rear:CARD=AudioPCI,DEV=0
    Ensoniq AudioPCI, ES1371 DAC1
    Rear speakers
surround40:CARD=AudioPCI,DEV=0
    Ensoniq AudioPCI, ES1371 DAC2/ADC
    4.0 Surround output to Front and Rear speakers
iec958:CARD=AudioPCI,DEV=0
    Ensoniq AudioPCI, ES1371 DAC2/ADC
    IEC958 (S/PDIF) Digital Audio Output
sysdefault:CARD=Interface
    32bit 384kHz DSD Interface, USB Audio
    Default Audio Device
front:CARD=Interface,DEV=0
    32bit 384kHz DSD Interface, USB Audio
    Front speakers

surround40:CARD=Interface,DEV=0
    32bit 384kHz DSD Interface, USB Audio
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Interface,DEV=0
    32bit 384kHz DSD Interface, USB Audio
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Interface,DEV=0
    32bit 384kHz DSD Interface, USB Audio
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Interface,DEV=0
    32bit 384kHz DSD Interface, USB Audio
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Interface,DEV=0
    32bit 384kHz DSD Interface, USB Audio
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Interface,DEV=0
    32bit 384kHz DSD Interface, USB Audio
    IEC958 (S/PDIF) Digital Audio Output
[ths@localhost Downloads]$
Logged
Main - JRMC31 -> custom ALSA_cdsp -> CamillaDSP(2x8 channel 64-bit FIR convolution) -> 8 channel DAC
Office - JRMC31 -> Asus Xonar Essence STX -> W4S STI-1000 -> Mini-Magnepans
Shop - JRMC31 -> W4S MicroDAC -> Adcom GFA-2535 -> B&W Rock Solid

InflatableMouse

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3978
Re: Fedora 17+ Linux Setup for JRiver Media Center
« Reply #15 on: December 08, 2013, 03:04:25 am »

Did you try speaker-test?

$ speaker-test -Dfront:Interface -c 2 -r 44100 -F S32_LE
Logged

ths61

  • World Citizen
  • ***
  • Posts: 162
Re: Fedora 17+ Linux Setup for JRiver Media Center
« Reply #16 on: December 08, 2013, 06:03:00 pm »

Did you try speaker-test?

$ speaker-test -Dfront:Interface -c 2 -r 44100 -F S32_LE

Just gave it a try.  Just get the same noise across all frequency attempts. 

Maybe I have I have something wrong with my Fedora install.
Logged
Main - JRMC31 -> custom ALSA_cdsp -> CamillaDSP(2x8 channel 64-bit FIR convolution) -> 8 channel DAC
Office - JRMC31 -> Asus Xonar Essence STX -> W4S STI-1000 -> Mini-Magnepans
Shop - JRMC31 -> W4S MicroDAC -> Adcom GFA-2535 -> B&W Rock Solid

InflatableMouse

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3978
Re: Fedora 17+ Linux Setup for JRiver Media Center
« Reply #17 on: December 09, 2013, 10:50:32 am »

Is it this one?
http://www.sonore.us/W4S-dacs.html

It says driverless on Mac and Linux, but I'm afraid I can't help you any further :(.
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13874
Re: Fedora 17+ Linux Setup for JRiver Media Center
« Reply #18 on: December 09, 2013, 12:16:45 pm »

Just gave it a try.  Just get the same noise across all frequency attempts. 

Maybe I have I have something wrong with my Fedora install.

That's a pink noise test!
You need to add -tsine to get a tone.
speaker-test -tsine -Dfront:Interface -c 2 -r 44100 -F S32_LE
Logged

ths61

  • World Citizen
  • ***
  • Posts: 162
Re: Fedora 17+ Linux Setup for JRiver Media Center
« Reply #19 on: December 09, 2013, 03:14:05 pm »

Is it this one?
http://www.sonore.us/W4S-dacs.html

It says driverless on Mac and Linux, but I'm afraid I can't help you any further :(.

Here is the manufacturer's site for the W4S DAC2-DSDSE:

http://www.wyred4sound.com/webapps/p/74030/117839/904731

Sonore is a reseller.
Logged
Main - JRMC31 -> custom ALSA_cdsp -> CamillaDSP(2x8 channel 64-bit FIR convolution) -> 8 channel DAC
Office - JRMC31 -> Asus Xonar Essence STX -> W4S STI-1000 -> Mini-Magnepans
Shop - JRMC31 -> W4S MicroDAC -> Adcom GFA-2535 -> B&W Rock Solid

RemyJ

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 1249
Re: Fedora 17+ Linux Setup for JRiver Media Center
« Reply #20 on: December 13, 2013, 03:02:37 pm »

I updated the original post with version 12 of the script that includes a working cryptopp for builds 19.0.90 and beyond.
Logged
Fedora 40 x86_64 Xfce

ths61

  • World Citizen
  • ***
  • Posts: 162
Re: Fedora 17+ Linux Setup for JRiver Media Center
« Reply #21 on: December 13, 2013, 05:29:38 pm »

I updated the original post with version 12 of the script that includes a working cryptopp for builds 19.0.90 and beyond.


Thanks much !!!
Logged
Main - JRMC31 -> custom ALSA_cdsp -> CamillaDSP(2x8 channel 64-bit FIR convolution) -> 8 channel DAC
Office - JRMC31 -> Asus Xonar Essence STX -> W4S STI-1000 -> Mini-Magnepans
Shop - JRMC31 -> W4S MicroDAC -> Adcom GFA-2535 -> B&W Rock Solid

RemyJ

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 1249
Re: Fedora 17+ Linux Setup for JRiver Media Center
« Reply #22 on: December 16, 2013, 07:45:00 pm »

Updated to version 13 so the build works with Fedora 17-20.
Logged
Fedora 40 x86_64 Xfce

azathot

  • Recent member
  • *
  • Posts: 8
Re: Fedora 17+ Linux Setup for JRiver Media Center
« Reply #23 on: January 02, 2014, 10:02:02 am »

Thanks for your work on this. I have it installed under Fedora 20 x64 (app doesn't work very well, no window resizing and crashes), but it does load.
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72443
  • Where did I put my teeth?
Re: Fedora 17+ Linux Setup for JRiver Media Center
« Reply #24 on: January 02, 2014, 10:24:25 am »

Thanks for your work on this. I have it installed under Fedora 20 x64 (app doesn't work very well, no window resizing and crashes), but it does load.
Welcome to the forum.  Are you using 19.0.94?  Resizing should be working.
http://yabb.jriver.com/interact/index.php?topic=86011.0
Logged

azathot

  • Recent member
  • *
  • Posts: 8
Re: Fedora 17+ Linux Setup for JRiver Media Center
« Reply #25 on: January 08, 2014, 10:23:24 am »

Welcome to the forum.  Are you using 19.0.94?  Resizing should be working.
http://yabb.jriver.com/interact/index.php?topic=86011.0

Thanks, long time user, but figured I would jump on the linux side because it's my main OS at work.

I'm using Fedora 20 x64 (with an O2 dac).

I was using the previous build (19.0.94).  In 19.0.102, I can resize by holding down alt, grabbing a section of the window and guessing how far to move the window (I am unable to grab the edge of a window to resize). I receive a ton of visual lag then it starts to move the window very slowly and eventually stops.

Still trying to get it to play sound, does anyone have a good guide for disabling pulse and configuring ALSA to work with Media Center?
Logged

InflatableMouse

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3978
Re: Fedora 17+ Linux Setup for JRiver Media Center
« Reply #26 on: January 08, 2014, 11:08:14 am »

You don't have to disable pulse, you should be able to directly 'speak' to the ALSA device (often called hw:something). This will bypass pulse.

There are several threads about fixing sound and I've helped a few people with it. I'm totally not familiar with Fedora though, sorry. Have a look at some of the other threads and ask if you need more help.
Logged

RemyJ

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 1249
Re: Fedora 17+ Linux Setup for JRiver Media Center
« Reply #27 on: January 12, 2014, 01:06:36 pm »

Yeah, you can lust leave the audio settings at their defaults...  ALSA as the device and (Default) under Device Settings.    You can then use the Pulse mixer to direct the audio anywhere.

BTW, I just updated the scripts to account for the libboost_regex dependency introduced in 19.0.103.


Logged
Fedora 40 x86_64 Xfce

azathot

  • Recent member
  • *
  • Posts: 8
Re: Fedora 17+ Linux Setup for JRiver Media Center
« Reply #28 on: January 14, 2014, 09:31:17 am »

Thanks guys. In the previous builds, I was unable to see an Audio device.  103-2 is actually working for playing audio for me. 

RemyJ, your script is having issues with the -2 in the version field, I just renamed it to 103 and it builds correctly.
Logged

RemyJ

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 1249
Re: Fedora 17+ Linux Setup for JRiver Media Center
« Reply #29 on: January 14, 2014, 10:37:46 am »

RemyJ, your script is having issues with the -2 in the version field, I just renamed it to 103 and it builds correctly.

Yeah, I keep forgetting to fix that.  I'll upload a new script today.
Logged
Fedora 40 x86_64 Xfce

RemyJ

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 1249
Re: Fedora 17+ Linux Setup for JRiver Media Center
« Reply #30 on: January 14, 2014, 05:55:00 pm »

Yeah, I keep forgetting to fix that.  I'll upload a new script today.

Script version 15 removes the libcryptopp and libboost-regex dependencies and now handles the '-' in the version number.
Logged
Fedora 40 x86_64 Xfce

aoqw76

  • Galactic Citizen
  • ****
  • Posts: 257
Re: Fedora 17+ Linux Setup for JRiver Media Center
« Reply #31 on: January 15, 2014, 05:40:01 pm »

Hi, just tried latest number 15 build + 103-3 and has this error (fedora 20 32 bit, within virtualbox for testing purposes)

[robert@localhost SPECS]$ ./rpmb 19.0.103-3
./rpmb: line 38: wget: command not found <--- fixed this by checking the "rpmb" script and putting the .deb file in the right place.
./rpmb: line 43: wget: command not found <--- fixed this by checking the "rpmb" script and manually downloading the file

[then appears to work correctly  sorting dependencies...]
[ends with ...]
Building target platforms: i686-redhat-linux-gnu
Building for target i686-redhat-linux-gnu
error: Failed build dependencies:
   boost-regex is needed by MediaCenter-19.0.103.3-15.fc20.i686
   boost-devel is needed by MediaCenter-19.0.103.3-15.fc20.i686


Logged
xubuntu lts 14.04 32 bit, running mc22.0.36 as anything later doesn't work properly over vnc. using linux mc22 as media server to windows mc22 last version / jremote on ipad.
I am the owner / sole admin for www.cyrusunofficial.co.uk ("fan" site for Cyrus Audio hifi)

RemyJ

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 1249
Re: Fedora 17+ Linux Setup for JRiver Media Center
« Reply #32 on: January 15, 2014, 08:10:37 pm »

You need to install wget...     yum install wget

The boost issue is my fault.  I'll correct it in the next version of the script but in the mean time you can edit mediacenter-19.spec and remove the references to boost-regex and boost-devel from line 14.

Logged
Fedora 40 x86_64 Xfce

aoqw76

  • Galactic Citizen
  • ****
  • Posts: 257
Re: Fedora 17+ Linux Setup for JRiver Media Center
« Reply #33 on: January 16, 2014, 01:39:47 am »

perfect, thanks, installed and running.
Logged
xubuntu lts 14.04 32 bit, running mc22.0.36 as anything later doesn't work properly over vnc. using linux mc22 as media server to windows mc22 last version / jremote on ipad.
I am the owner / sole admin for www.cyrusunofficial.co.uk ("fan" site for Cyrus Audio hifi)

psal

  • Recent member
  • *
  • Posts: 6
Re: Fedora 17+ Linux Setup for JRiver Media Center
« Reply #34 on: February 19, 2014, 03:03:52 am »

Hey,
I had this running perfectly on F20 for a while, but now it says it has timed out. I originally used script 13, but I uninstalled and reinstalled with script 15. Same issue occurs. I did purchase the licence key, but I do not know how to install it? Anyway, this is what happens when I try to open it
Code: [Select]
[psalminen@localhost ~]$ MediaCenter-19.0.103.3-15.fc20.i686
bash: MediaCenter-19.0.103.3-15.fc20.i686: command not found...
[psalminen@localhost ~]$ mediacenter19
JRiver install path (process: 13524): /usr/lib/jriver/Media Center 19/
CJRSharedToolsHelper::AuthenticateJRSharedLib
CJRSharedToolsHelper::AuthenticateJRSharedLib
JRFileSystem::GetDirectoryAppdataCommon
JRFileSystem::GetDirectoryDocuments
JRFileSystem::GetDirectoryDesktop
JRTools checking thread
CJRSharedToolsHelper::AuthenticateJRSharedLib
CJRSharedToolsHelper::AuthenticateJRSharedLib
JROs -- analyze operating system
Setting focus: 0B28CDA8
Ignoring Xlib error: error code 8 request code 42
Details: BadMatch (invalid parameter attributes)
JRBasicWnd::SetCapture
Destroying font (32840 bytes)
Destroying font (48 bytes)
[psalminen@localhost ~]$ mediacenter19
JRiver install path (process: 13532): /usr/lib/jriver/Media Center 19/
CJRSharedToolsHelper::AuthenticateJRSharedLib
CJRSharedToolsHelper::AuthenticateJRSharedLib
JRFileSystem::GetDirectoryAppdataCommon
JRFileSystem::GetDirectoryDocuments
JRFileSystem::GetDirectoryDesktop
JRTools checking thread
CJRSharedToolsHelper::AuthenticateJRSharedLib
CJRSharedToolsHelper::AuthenticateJRSharedLib
JROs -- analyze operating system
Setting focus: 09FE4DA8
Ignoring Xlib error: error code 8 request code 42
Details: BadMatch (invalid parameter attributes)
Anyone know how to solve this problem?
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72443
  • Where did I put my teeth?
Re: Fedora 17+ Linux Setup for JRiver Media Center
« Reply #35 on: February 19, 2014, 07:37:28 am »

Download and install the latest build of MC for Linux.  They have hard timeouts right now.  That will change soon.
Logged

psal

  • Recent member
  • *
  • Posts: 6
Re: Fedora 17+ Linux Setup for JRiver Media Center
« Reply #36 on: February 26, 2014, 04:05:48 pm »

Download and install the latest build of MC for Linux.  They have hard timeouts right now.  That will change soon.
I tried that and the same thing is happening. Maybe because I had the latest build that timed out? Is there one newer than 19.0.103-3?
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7810
  • Autumn shade...
Re: Fedora 17+ Linux Setup for JRiver Media Center
« Reply #37 on: February 26, 2014, 05:25:02 pm »

Is there one newer than 19.0.103-3?

Yes, 19.0.118, for which the release topic is pinned at the top of this forum section.
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit | Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

maged918

  • Recent member
  • *
  • Posts: 14
Re: Fedora 17+ Linux Setup for JRiver Media Center
« Reply #38 on: June 07, 2014, 05:07:23 am »

What should one do to update the installed build? Just redo the steps?
Logged

RemyJ

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 1249
Re: Fedora 17+ Linux Setup for JRiver Media Center
« Reply #39 on: June 07, 2014, 09:42:15 am »

What should one do to update the installed build? Just redo the steps?

That's it.  Just re-run the rpmb command and do a 'yum localinstall' on the new rpm.
Logged
Fedora 40 x86_64 Xfce

RemyJ

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 1249
Re: Fedora 17+ Linux Setup for JRiver Media Center
« Reply #40 on: June 07, 2014, 11:36:30 am »

Just FYI...

With build 138 and beyond MC needs SSL to do the registration and that will need a file named ca-certificates.crt in /etc/ssl/certs.  The file name is different in Fedora so you'll have to add the following link...

cd /etc/ssl/certs
ln -s /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem ca-certificates.crt

Logged
Fedora 40 x86_64 Xfce

maged918

  • Recent member
  • *
  • Posts: 14
Re: Fedora 17+ Linux Setup for JRiver Media Center
« Reply #41 on: June 08, 2014, 10:49:04 am »

Works great, thank yoU! :)
Logged

RemyJ

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 1249
Re: Fedora 17+ Linux Setup for JRiver Media Center
« Reply #42 on: August 12, 2014, 07:03:11 pm »

Updated for MediaCenter 20.  See the first post.
Logged
Fedora 40 x86_64 Xfce

maged918

  • Recent member
  • *
  • Posts: 14
Re: Fedora 17+ Linux Setup for JRiver Media Center
« Reply #43 on: August 19, 2014, 08:18:25 am »

Tried it with 20.0.6 & 20.0.7 and it doesn't work for both :/ Says file is not a debian format archive.
Logged

RemyJ

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 1249
Re: Fedora 17+ Linux Setup for JRiver Media Center
« Reply #44 on: August 19, 2014, 09:50:13 am »

Tried it with 20.0.6 & 20.0.7 and it doesn't work for both :/ Says file is not a debian format archive.

I think they changed the location of the download. 
20.0.6 was in http://files.jriver.com/mediacenter/channels/v19/latest/MediaCenter-20.0.6.deb
20.0.7 is in http://files.jriver.com/mediacenter/channels/v20/latest/MediaCenter-20.0.7.deb

Just change the rpmb script so it's pointing to the correct directory.   You have to remove the bad .deb files from the SOURCES directory before you retry.

I'll update the zip file later today.
Logged
Fedora 40 x86_64 Xfce

RemyJ

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 1249
Re: Fedora 17+ Linux Setup for JRiver Media Center
« Reply #45 on: September 25, 2014, 06:22:36 pm »

Updated to version 18 of the script to add the dependency for mesa-libGL.
Logged
Fedora 40 x86_64 Xfce

psal

  • Recent member
  • *
  • Posts: 6
Re: Fedora 17+ Linux Setup for JRiver Media Center
« Reply #46 on: October 14, 2014, 05:33:56 pm »

Hey,

I just attempted to install MC20 on Fedora20 using script 18. It seemed to install successfully. However, when I try to open in, it will not open. When I run mediacenter20 in terminal, I am given "Segmentation fault (core dumped)". Does any one have an idea of what the cause of this is?
Logged

RemyJ

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 1249
Re: Fedora 17+ Linux Setup for JRiver Media Center
« Reply #47 on: October 14, 2014, 05:45:12 pm »

Make sure you have 'gnutls' installed.   I need to update the spec file again.
Logged
Fedora 40 x86_64 Xfce

psal

  • Recent member
  • *
  • Posts: 6
Re: Fedora 17+ Linux Setup for JRiver Media Center
« Reply #48 on: October 14, 2014, 05:48:20 pm »

Make sure you have 'gnutls' installed.   I need to update the spec file again.

Yes, gnutls is installed with latest update.
Logged

RemyJ

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 1249
Re: Fedora 17+ Linux Setup for JRiver Media Center
« Reply #49 on: October 14, 2014, 05:49:09 pm »

Hmmm.  Were you able to run earlier versions like 20.0.22?
Logged
Fedora 40 x86_64 Xfce
Pages: [1] 2 3   Go Up