INTERACT FORUM

More => Old Versions => JRiver Media Center 20 for Linux => Topic started by: RemyJ on October 15, 2013, 06:30:27 pm

Title: Fedora 17+ Linux Setup for JRiver Media Center
Post by: RemyJ 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 (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 (http://tinyurl.com/mediacenter-19-13-zip)

-------------------
Edit: Script Version 13
Added dependency for libboost_regex.
http://tinyurl.com/mediacenter-19-14-zip (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
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: kane 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

Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: bob 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.
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: RemyJ 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.
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: bob 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!
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: RemyJ 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. 

Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: rinring 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. 


Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: RemyJ 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.
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: rinring 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.

Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: ths61 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)
...
"
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: bob 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.
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: ths61 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.
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: bob 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.
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: ths61 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
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: ths61 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]$
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: InflatableMouse on December 08, 2013, 03:04:25 am
Did you try speaker-test?

$ speaker-test -Dfront:Interface -c 2 -r 44100 -F S32_LE
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: ths61 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.
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: InflatableMouse 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 :(.
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: bob 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
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: ths61 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.
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: RemyJ 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.
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: ths61 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 !!!
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: RemyJ on December 16, 2013, 07:45:00 pm
Updated to version 13 so the build works with Fedora 17-20.
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: azathot 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.
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: JimH 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
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: azathot 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?
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: InflatableMouse 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.
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: RemyJ 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.


Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: azathot 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.
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: RemyJ 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.
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: RemyJ 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.
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: aoqw76 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


Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: RemyJ 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.

Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: aoqw76 on January 16, 2014, 01:39:47 am
perfect, thanks, installed and running.
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: psal 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?
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: JimH 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.
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: psal 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?
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: Awesome Donkey 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.
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: maged918 on June 07, 2014, 05:07:23 am
What should one do to update the installed build? Just redo the steps?
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: RemyJ 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.
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: RemyJ 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

Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: maged918 on June 08, 2014, 10:49:04 am
Works great, thank yoU! :)
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: RemyJ on August 12, 2014, 07:03:11 pm
Updated for MediaCenter 20.  See the first post.
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: maged918 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.
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: RemyJ 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.
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: RemyJ on September 25, 2014, 06:22:36 pm
Updated to version 18 of the script to add the dependency for mesa-libGL.
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: psal 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?
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: RemyJ on October 14, 2014, 05:45:12 pm
Make sure you have 'gnutls' installed.   I need to update the spec file again.
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: psal 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.
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: RemyJ on October 14, 2014, 05:49:09 pm
Hmmm.  Were you able to run earlier versions like 20.0.22?
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: psal on October 14, 2014, 06:04:42 pm
I was able to run MC 19 without any issues. I uninstalled today, and tried to install 20. First tried to install 20.0.17, then just tried 20.0.23. Both builds resulted in this error.
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: RemyJ on October 14, 2014, 06:13:34 pm
Hmmm....

Try :
Code: [Select]
# ldd /usr/lib/jriver/Media\ Center\ 20/*.so
# ldd /usr/bin/mediacenter20

and see if any shared libraries are missing.
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: psal on October 14, 2014, 06:49:39 pm
Yeah, I was missing libgtk-x11-2.0.so.0. I installed it and I'm all set now. Thanks!
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: RemyJ on October 14, 2014, 06:56:14 pm
Ah.  I'll add that to the requirements.
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: aeshva on October 24, 2014, 07:58:28 pm
I get libuuid.so.1 => not found when running those two commands. How do I get that installed? I would like to see if I can get this running on Fedora now that I don't have Windows any more.
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: RemyJ on October 24, 2014, 11:58:35 pm
I get libuuid.so.1 => not found when running those two commands. How do I get that installed? I would like to see if I can get this running on Fedora now that I don't have Windows any more.


yum install libuuid.i686

Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: aeshva on October 25, 2014, 10:42:54 am
Thank you. That worked
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: aeshva on December 06, 2014, 03:14:53 pm
I am installing the latest MediaCenter (46) on Fedora 21 (beta for three more days), I followed the instructions on the first post, and got an RPM. Installed fine on localinstall, but it won't start.

I did # ldd /usr/lib/jriver/Media\ Center\ 20/*.so

and got the result:
/usr/lib/jriver/Media Center 20/libcryptlib.so:
        not a dynamic executable
/usr/lib/jriver/Media Center 20/libJRDisc.so:
        not a dynamic executable
/usr/lib/jriver/Media Center 20/libJRImage.so:
        not a dynamic executable
/usr/lib/jriver/Media Center 20/libJRPlayer.so:
        not a dynamic executable
/usr/lib/jriver/Media Center 20/libJRReader.so:
        not a dynamic executable
/usr/lib/jriver/Media Center 20/libJRTools.so:
        not a dynamic executable

I am unsure what to do.  (Other than installing Fedora 20)
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: RemyJ on December 06, 2014, 03:37:35 pm
Hmmm.  Not sure what to tell you other than uninstall MC,  rebuild the rpm and reinstall it.  What are the sizes of the .so files?   Can you do a readelf -h on one of them and post the results?

Is this a new F21 system or an upgrade from F20?

Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: aeshva on December 06, 2014, 03:46:44 pm
libJRDisc.so is 3.3mb

The results of readelf is:
ELF Header:
  Magic:   7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00
  Class:                             ELF32
  Data:                              2's complement, little endian
  Version:                           1 (current)
  OS/ABI:                            UNIX - System V
  ABI Version:                       0
  Type:                              DYN (Shared object file)
  Machine:                           Intel 80386
  Version:                           0x1
  Entry point address:               0x31640
  Start of program headers:          52 (bytes into file)
  Start of section headers:          3508460 (bytes into file)
  Flags:                             0x0
  Size of this header:               52 (bytes)
  Size of program headers:           32 (bytes)
  Number of program headers:         6
  Size of section headers:           40 (bytes)
  Number of section headers:         29
  Section header string table index: 28
This is on a fresh install of Jam-KDE Spin.
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: RemyJ on December 06, 2014, 04:27:59 pm
I think you're missing 32-bit support.
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: aeshva on December 06, 2014, 05:50:21 pm
You are correct. I am going to wait until it is not beta. There are enough things going on right now. Thank you for your help.
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: bob on December 08, 2014, 09:43:39 am
I think you're missing 32-bit support.

You are right. The response from ldd is the smoking gun.

I assume 32 bit support (at least the base) is just a package on fedora.
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: RemyJ on December 10, 2014, 08:27:48 pm
FYI...  Did an upgrade to Fedora 21 today.  No problems building the RPM or running MC.
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: aeshva on December 11, 2014, 11:20:35 am
I am jealous. I have one that I upgraded to fc21 and it went easy. I have one that had 21beta, and that didn't upgrade well, so a re-install, and one that I had to re-install to reformat drives. Can't get it to work on any of them. I have 20 still on the server, and I won't upgrade that till I can get 21 to work, as that has people using the media network and I don't want to touch that yet. I am kinda new at this, so thanks for your earlier assistance, and I may need more soon. And I want to get it working on a friends computer who will be running Korora (I think, she is coming over for install tomorrow.)
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: RemyJ on December 11, 2014, 11:26:33 am
I think the key is to use the '--product=nonproduct' argument to fedup so it just upgrades your existing packages without trying to add other stuff from server or workstation.
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: aeshva on December 11, 2014, 11:30:14 am
That worked great on the laptop. With the one I had running beta, I think those 32 bit libs came back to haunt me. There were other things going on too. I still can't get Nvidia going, but that's another story.
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: aeshva on January 29, 2015, 04:05:14 pm
Ii am trying to update to 20.0.63, and when I run ./rpmb 20.0.63, I come up with the error:

Error: Installed (but unpackaged) file(s) found:
  /usr/share/applications/media center 20.desktop

I tried deleting the file, but got the same error.

Any assistance would be greatly appreciated (again).
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: bob on January 29, 2015, 04:54:49 pm
I'd imagine Remy's script needs to be updated to handle the change in desktop file name.
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: RemyJ on January 29, 2015, 04:57:36 pm
Which I just did. :)   Check the first post.
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: BryanC on February 24, 2015, 02:06:19 pm
I just installed 20.0.74 on Fedora x86_64 and there were a number of i686 dependencies that aren't in the repos. A lot of them are still being built on Koji however, so just download them there and install manually. Once everything was installed correctly, it's running OK. A little unresponsive but OK.
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: RemyJ on February 24, 2015, 02:13:42 pm
Which dependencies aren't found in which repos?   They should all be there.
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: BryanC on February 24, 2015, 05:10:09 pm
I just checked my download folder against yum and sure enough they are all there today. Must've caught a bad mirror or something.
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: BryanC on February 27, 2015, 12:11:01 pm
Did a reinstall and it's still missing a couple.

gnome-keyring.i686
p11-kit-trust.i686
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: RemyJ on February 27, 2015, 01:25:06 pm
Meaning they should be in the RPM dependencies but aren't? 

I have the x86_64 versions of those installed but not the i686 versions.  Are you on a 32 or 64 bit install?
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: BryanC on February 27, 2015, 02:59:06 pm
64-bit

They are dependencies, but aren't present in the f21 repos.
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: RemyJ on February 27, 2015, 03:28:27 pm
Sorry, still not following.

I don't explicitly name those packages in the SPEC file so I'm not sure what's requiring them.  Do you have the 64 bit version of those packages installed?  Can you post the output of a failed install?

Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: BryanC on February 27, 2015, 10:06:59 pm
Code: [Select]
$ mediacenter20
p11-kit: couldn't load module: /usr/lib/pkcs11/p11-kit-trust.so: /usr/lib/pkcs11/p11-kit-trust.so: cannot open shared object file: No such file or directory
p11-kit: couldn't load module: /usr/lib/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/pkcs11/gnome-keyring-pkcs11.so: cannot open shared object file: No such file or directory
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: RemyJ on February 27, 2015, 10:38:41 pm
Oh THAT!

Fedora just doesn't provide those libraries for i686 and them being missing doesn't seem to cause any issues.
If it gets to be a problem, I'll see if I can figure something out.

Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: bob on February 27, 2015, 10:42:53 pm
Oh THAT!

Fedora just doesn't provide those libraries for i686 and them being missing doesn't seem to cause any issues.
If it gets to be a problem, I'll see if I can figure something out.

Seems to be a issue on the debian 64 bit based platforms too. I don't think it's significant.
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: BryanC on February 28, 2015, 11:23:39 am
Seems to be a issue on the debian 64 bit based platforms too. I don't think it's significant.

I've noticed some instability and general unresponsiveness without those things installed. Most notably, it seems to take a lot longer for MC to close.
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: RemyJ on February 28, 2015, 07:29:35 pm
I've noticed some instability and general unresponsiveness without those things installed. Most notably, it seems to take a lot longer for MC to close.

Really?   Hmmm.

Where did you get them from, the i686 distro?
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: BryanC on March 01, 2015, 01:09:50 pm
Really?   Hmmm.

Where did you get them from, the i686 distro?


Yes, rpms from Koji.

http://koji.fedoraproject.org/koji/buildinfo?buildID=583801
http://koji.fedoraproject.org/koji/buildinfo?buildID=580150
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: RemyJ on March 01, 2015, 02:23:02 pm
Weird.  I added the files but other than not complaining about them being missing, I'm not seeing any difference in MC behavior at all.


Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: agillis on March 09, 2015, 03:40:12 pm
Hey did anybody managed to get the latest version of MediaCenter working under Fedora? I installed it under Fedora 21, using this script, and I get a Segmentation fault (core dumped) when I run it from command line
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: RemyJ on March 09, 2015, 03:56:47 pm
I do it all the time.   Exactly which MC version and script version are you using?  64 bit or 32 bit OS?  The 64 bit MC still doesn't work.

Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: BryanC on March 09, 2015, 04:33:18 pm
Hey did anybody managed to get the latest version of MediaCenter working under Fedora? I installed it under Fedora 21, using this script, and I get a Segmentation fault (core dumped) when I run it from command line

If you are running x86_64, take a look at the dependencies in the Ubuntu thread and do some yum searching with the .i686 extension. I have 20.0.80 running perfectly on Fedora x86_64.
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: Awesome Donkey on March 09, 2015, 05:47:41 pm
Install libgnutls26
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: BryanC on April 14, 2015, 10:07:02 am
Got 64-bit MC running on fedora x86_64.

The important missing package is gtk2-devel
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: RemyJ on April 14, 2015, 10:13:07 am
Hmmm.  I already had that installed.

Can you recap your steps?
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: fvdb06 on April 15, 2015, 01:52:55 pm
I get a RPM build error with Fedora 21 and the mediacenter-20-19.zip

+ cp /home/triplem/mediacenter-20/SOURCES/mediacenter20.desktop /home/triplem/mediacenter         -20/BUILDROOT/MediaCenter-20.0.17-20.fc21.i386/usr/share/applications
+ rm '/home/triplem/mediacenter-20/BUILDROOT/MediaCenter-20.0.17-20.fc21.i386/usr/share/a         pplications/media center 20.desktop'
rm: cannot remove '/home/triplem/mediacenter-20/BUILDROOT/MediaCenter-20.0.17-20.fc21.i38         6/usr/share/applications/media center 20.desktop': No such file or directory
fout: Bad exit status from /var/tmp/rpm-tmp.GleWU4 (%install)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.GleWU4 (%install) :'(
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: RemyJ on April 15, 2015, 04:22:23 pm
I get a RPM build error with Fedora 21 and the mediacenter-20-19.zip

+ cp /home/triplem/mediacenter-20/SOURCES/mediacenter20.desktop /home/triplem/mediacenter         -20/BUILDROOT/MediaCenter-20.0.17-20.fc21.i386/usr/share/applications
+ rm '/home/triplem/mediacenter-20/BUILDROOT/MediaCenter-20.0.17-20.fc21.i386/usr/share/a         pplications/media center 20.desktop'
rm: cannot remove '/home/triplem/mediacenter-20/BUILDROOT/MediaCenter-20.0.17-20.fc21.i38         6/usr/share/applications/media center 20.desktop': No such file or directory
fout: Bad exit status from /var/tmp/rpm-tmp.GleWU4 (%install)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.GleWU4 (%install) :'(


I'll have a revised script up shortly.
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: fvdb06 on April 29, 2015, 11:01:23 am
Hello Remy,

Thankxx for the updated v20.zip. Now it works   :)
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: rikmnet on April 29, 2015, 06:53:41 pm

Good morning all, just installed the 64 bit package on Fedora 21...

Made an rpm with alien before I noticed the Fedora script and it all seemed to work well enough, just had to add the 32 bit gtk2 stuff...it found my network devices, and I started it reading in the audio files but the main window will not re-size... the window controls and title bar are present and the menus work, but it's stuck in 'small'...

Has anyone seen this behavior?...have heard a lot about JRiver but this is my first look at it so thanks in advance and any help appreciated,


rikm
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: JimH on April 29, 2015, 07:44:59 pm
It may be related to Xwindow.
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: bob on April 29, 2015, 09:53:09 pm
Good morning all, just installed the 64 bit package on Fedora 21...

Made an rpm with alien before I noticed the Fedora script and it all seemed to work well enough, just had to add the 32 bit gtk2 stuff...it found my network devices, and I started it reading in the audio files but the main window will not re-size... the window controls and title bar are present and the menus work, but it's stuck in 'small'...

Has anyone seen this behavior?...have heard a lot about JRiver but this is my first look at it so thanks in advance and any help appreciated,
rikm
If you are running the 64 bit build there is no reason to install 32 bit libs.
Whenever you run on an unsupported OS it's possible these issues will crop up.
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: rikmnet on April 30, 2015, 01:25:15 pm
Good morning and thanks for the response,

...well the 'About' box showed -46 instead of -100 so I removed the alien created install [although I really did use the .deb that is posted here] and ran the script from the first post above...it all seemed to work and finished with an 'exit 0' but it now segfaults on start...

Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: BryanC on May 27, 2015, 10:10:51 am
I'll have a revised script up shortly.

Remy FYI, see...

I see you renamed the binary (mediacenter20-64).
You can't have both 32 bit and 64 bit MC installed at the same time and the library path is hardcoded to /usr/lib/jriver/Media\ Center\ 20 so you can't change that directory either.
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: RemyJ on May 27, 2015, 10:32:38 am
Hard coded.  It figures.

Well, I'll make 1 more attempt to get this working but after that, I'm done with the Linux version altogether.  Too many headaches, not enough features.  I'm going back to running the windows version in a virtual machine.
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: BryanC on May 27, 2015, 11:18:40 am
Hard coded.  It figures.

Well, I'll make 1 more attempt to get this working but after that, I'm done with the Linux version altogether.  Too many headaches, not enough features.  I'm going back to running the windows version in a virtual machine.


Here is a working build script based on your work. I've made a few modifications here and there in other areas but you can just incorporate the libdir, et al. changes into yours if you prefer.
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: RemyJ on May 27, 2015, 11:20:31 am
Ok, I've updated the script to version 22 which combines both the 32 and 64 bit builds and puts the 64 bit libraries in /usr/lib instead of lib64.
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: bob on May 28, 2015, 02:46:47 pm
Hard coded.  It figures.
...
It's done so that MC will find it's own libraries over the system ones which is quite important if you are running on an unsupported platform.
In the case of libcrypt only the version in MC's library path will work with MC.
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: Patatorz on July 12, 2015, 08:34:23 am
Hello, just tried to jump into this huge solution but I have some probleme executing the scripts :
Quote
[root@localhost SPECS]# ./rpmb 20.0.123
Package rpm-build-4.12.0.1-6.fc21.x86_64 already installed and latest version
Package dpkg-1.16.16-5.fc21.x86_64 already installed and latest version
Package wget-1.16.3-1.fc21.x86_64 already installed and latest version
Nothing to do
--2015-07-12 15:30:12--  http://files.jriver.com/mediacenter/channels/v20/latest                                                /MediaCenter-20.0.123.deb
Resolving files.jriver.com (files.jriver.com)... 54.231.65.81
Connecting to files.jriver.com (files.jriver.com)|54.231.65.81|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 25358902 (24M) [application/octet-stream]
Saving to: ‘/mediacenter-20/SOURCES/MediaCenter-20.0.123.deb’

/mediacenter-20/SOU 100%[=====================>]  24.18M   846KB/s   in 30s

2015-07-12 15:30:43 (819 KB/s) - ‘/mediacenter-20/SOURCES/MediaCenter-20.0.123.d                                                eb’ saved [25358902/25358902]

error: Macro %_mcarch has empty body
error: Macro %_mcarch has empty body
error: Macro %_mcarch has empty body
Building target platforms: i686-redhat-linux-gnu
Building for target i686-redhat-linux-gnu
error: failed to stat /mediacenter-20/SPECS/mediacenter-20-64.spec: No such file                                                 or directory
[root@localhost SPECS]#
I try to install it on Fedora 21. I donwload the zipped scripts through wget, unzip creating a folder into the root of Fedora (mediacenter-20). I can start the script after with the error in the quote above.

I also tried to install the 64b version : same problem.

Thanks for your support.

Ludovic
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: BryanC on July 29, 2015, 09:45:50 am
Hello, just tried to jump into this huge solution but I have some probleme executing the scripts :I try to install it on Fedora 21. I donwload the zipped scripts through wget, unzip creating a folder into the root of Fedora (mediacenter-20). I can start the script after with the error in the quote above.

I also tried to install the 64b version : same problem.

Thanks for your support.

Ludovic

I think RemyJ's script has a little bug in it. You can try this one that's based on his script but operates in a slightly different manner.
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: fvdb06 on September 21, 2015, 11:17:52 am
Hello Fedora users,

After I try to install jriver 64 bits

[root@localhost SOURCES]# dnf install --allowerasing mediacenter20-20.0.110-2.x86_64.rpm
Last metadata expiration check performed 0:04:15 ago on Mon Sep 21 18:03:29 2015.

I get the Error: nothing provides libgnutls-deb0.so.28()(64bit) needed by mediacenter20-20.0.110-2.x86_64

I successfully installed libgnutls-deb0.so.28() with: dnf install gnutls.i686

But the Error: nothing provides libgnutls-deb0.so.28()(64bit) needed by mediacenter20-20.0.110-2.x86_64 is comming back

What to do now?


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 (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 (http://tinyurl.com/mediacenter-19-13-zip)

-------------------
Edit: Script Version 13
Added dependency for libboost_regex.
http://tinyurl.com/mediacenter-19-14-zip (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

Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: bob on September 21, 2015, 01:23:27 pm
Hello Fedora users,

After I try to install jriver 64 bits

[root@localhost SOURCES]# dnf install --allowerasing mediacenter20-20.0.110-2.x86_64.rpm
Last metadata expiration check performed 0:04:15 ago on Mon Sep 21 18:03:29 2015.

I get the Error: nothing provides libgnutls-deb0.so.28()(64bit) needed by mediacenter20-20.0.110-2.x86_64

I successfully installed libgnutls-deb0.so.28() with: dnf install gnutls.i686

But the Error: nothing provides libgnutls-deb0.so.28()(64bit) needed by mediacenter20-20.0.110-2.x86_64 is comming back

What to do now?


MC21 64 bit doesn't need an external libgnutls anymore.
I'm not sure what you have to do to get MC20 running.
Title: Re: Fedora 17+ Linux Setup for JRiver Media Center
Post by: BryanC on September 22, 2015, 01:33:00 pm
Hello Fedora users,

After I try to install jriver 64 bits

[root@localhost SOURCES]# dnf install --allowerasing mediacenter20-20.0.110-2.x86_64.rpm
Last metadata expiration check performed 0:04:15 ago on Mon Sep 21 18:03:29 2015.

I get the Error: nothing provides libgnutls-deb0.so.28()(64bit) needed by mediacenter20-20.0.110-2.x86_64

I successfully installed libgnutls-deb0.so.28() with: dnf install gnutls.i686

But the Error: nothing provides libgnutls-deb0.so.28()(64bit) needed by mediacenter20-20.0.110-2.x86_64 is comming back

What to do now?


It looks like you are installing the 32-bit dependency when mediacenter is asking for the 64-bit dependency.