INTERACT FORUM

Please login or register.

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

Author Topic: installJRMC - MC installer for Linux  (Read 19211 times)

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 8254
  • The color of Spring!
Re: installJRMC - MC installer for Linux
« Reply #100 on: April 06, 2025, 09:06:31 am »

The installJRMC script should work as-is then for Raspberry Pi OS, at least it did the last time I checked. Give it a go and see what happens. :)

Here's the one-liner I use for fresh installs (of course you change it to your liking/needs):

Code: [Select]
mkdir installJRMC && cd installJRMC && wget https://git.bryanroessler.com/bryan/installJRMC/raw/master/installJRMC && chmod +x ./installJRMC && ./installJRMC -d
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 (AMD 7900X CPU/AMD 7800 XT GPU/64GB RAM/2TB M.2 NVMe SSD)
macOS Sequoia 15.4 (M4 Mac Mini 16GB RAM/256GB SSD)
Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Mac + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

vkostas

  • Recent member
  • *
  • Posts: 23
Re: installJRMC - MC installer for Linux
« Reply #101 on: April 06, 2025, 12:28:49 pm »

oh oh of. I see now what happened.
My command in the TextEdit ended up with the hyphen translated to some special "hyphen-like" character. And it's not reach-text formatted. :(

Anything I tried, the response was always the same. Default installation.
I thought I was not skilled enough to make it run with my parameters. Had tried many times. Same result. Garbage in, garbage out.

After intentionally executed the script with incorrect values (without thinking the issue is in the parameter name itself) :), suspected smth must be wrong in the script. But why it would run for the rest of the world?

Code: [Select]
wget https://git.bryanroessler.com/bryan/installJRMC/raw/master/installJRMC && chmod +x ./installJRMC && ./installJRMC ——install XXXXXXXX ——compat ——mcversion XXXXXXXX —dInstaller would always continue with the default option. I wanted to install and activate with my .mjr file.

After checking the installJRMC script, discovered that parameter value is checked but not the parameter name itself (e.g. --mcversio 29.0.91, or --Mcversion would just be ignored).
It would be great idea to add this validation (just saying).

Code: [Select]
        --uninstall|-u) UNINSTALL_SWITCH=1 ;;
        --) shift; break ;;
[b]# <<<<<<<<<< non existent parameter ?
        *) err "incorrect parameter $1"; print_help; exit 1 ;;
# <<<<<<<<<< non existent parameter ?
[/b]      esac
      shift
    done
  else
    err "Incorrect option provided, see installJRMC --help"; exit 1
  fi

I can continue now.
Many thanks @Awsome Donkey

Nobody's fault but mine.
[uodate] Bitperfect output achieved.
I can even listen natively DSD (2ch only of course) in my Denon AVR-X3800H via DLNA. Well done guys.
Logged

BryanC

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2703
Re: installJRMC - MC installer for Linux
« Reply #102 on: April 07, 2025, 01:55:14 pm »

getopt is used to parse incorrect arguments prior to the case statement. Works for me, not sure why it did not work for you (but glad it is now).

Code: [Select]
if input=$(getopt -o $short_opts -l $long_opts -- "$@"); then
  *snip*
else
  err "Incorrect option provided, see installJRMC --help"; exit 1
fi

Code: [Select]
./installJRMC --wrongarg
Starting installJRMC 1.4.9-dev
To enable debugging output, use --debug or -d
getopt: unrecognized option '--wrongarg'
Error: Incorrect option provided, see installJRMC --help
Logged

antenna

  • Galactic Citizen
  • ****
  • Posts: 477
Re: installJRMC - MC installer for Linux
« Reply #103 on: April 10, 2025, 04:59:04 pm »

That worked.

The install is complete.

thx.


Just a quick follow-up to my prior thx ...


I noticed this evening when I fired up the laptop, among the updates presented (Thunderbird, Firefox, etc) was an update for Media Center.  The update to Media Center proceeded without a problem.

I had been wondering if the package manager would take that step.

Thank you (again!) for making this easy.

And, fwiw, here's some info about  the Linux Mint version I am running...

Quote
me@t05-mint:~$ ck-linux-version.sh
 
NAME="Linux Mint"
VERSION="22.1 (Xia)"
ID=linuxmint
ID_LIKE="ubuntu debian"
PRETTY_NAME="Linux Mint 22.1"
VERSION_ID="22.1"
HOME_URL="https://www.linuxmint.com/"
SUPPORT_URL="https://forums.linuxmint.com/"
BUG_REPORT_URL="http://linuxmint-troubleshooting-guide.readthedocs.io/en/latest/"
PRIVACY_POLICY_URL="https://www.linuxmint.com/"
VERSION_CODENAME=xia
UBUNTU_CODENAME=noble
 
 
No LSB modules are available.
Distributor ID:   Linuxmint
Description:   Linux Mint 22.1
Release:   22.1
Codename:   xia
 
System:
  Kernel: 6.8.0-57-generic arch: x86_64 bits: 64 compiler: gcc v: 13.3.0
  Desktop: MATE v: 1.26.2 Distro: Linux Mint 22.1 Xia
    base: Ubuntu 24.04 noble
Machine:
  Type: Laptop System: LENOVO product: 2522DU5 v: ThinkPad T410
    serial: <superuser required>
  Mobo: LENOVO model: 2522DU5 serial: <superuser required> BIOS: LENOVO
    v: 6IET75WW (1.35 ) date: 02/01/2011
Battery:
  ID-1: BAT0 charge: 42.1 Wh (86.3%) condition: 48.8/48.8 Wh (100.0%)
    volts: 11.9 min: 11.1 model: SANYO 42T4763 status: discharging
CPU:
  Info: dual core model: Intel Core i5 M 560 bits: 64 type: MT MCP
    arch: Westmere rev: 5 cache: L1: 128 KiB L2: 512 KiB L3: 3 MiB
  Speed (MHz): avg: 1340 high: 1455 min/max: 1199/2667 boost: enabled cores:
    1: 1283 2: 1425 3: 1197 4: 1455 bogomips: 21279
  Flags: ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3
Graphics:
  Device-1: NVIDIA GT218M [NVS 3100M] vendor: Lenovo ThinkPad T410
    driver: nouveau v: kernel arch: Tesla bus-ID: 01:00.0 temp: 47.0 C
  Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.6 driver: X:
    loaded: modesetting unloaded: fbdev,vesa dri: nouveau gpu: nouveau
    resolution: 1280x800~60Hz
  API: EGL v: 1.4,1.5 drivers: nouveau,swrast platforms:
    active: gbm,x11,surfaceless,device inactive: wayland
  API: OpenGL v: 4.5 compat-v: 3.3 vendor: mesa v: 24.2.8-1ubuntu1~24.04.1
    glx-v: 1.4 direct-render: yes renderer: NVA8
Audio:
  Device-1: Intel 5 Series/3400 Series High Definition Audio vendor: Lenovo 5
    driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
  Device-2: NVIDIA High Definition Audio vendor: Lenovo
    driver: snd_hda_intel v: kernel bus-ID: 01:00.1
  API: ALSA v: k6.8.0-57-generic status: kernel-api
  Server-1: PipeWire v: 1.0.5 status: active
Network:
  Device-1: Intel 82577LM Gigabit Network vendor: Lenovo driver: e1000e
    v: kernel port: 1820 bus-ID: 00:19.0
  IF: enp0s25 state: down mac: <filter>
  Device-2: Intel Centrino Advanced-N 6200 driver: iwlwifi v: kernel
    bus-ID: 03:00.0
  IF: wlp3s0 state: up mac: <filter>
Drives:
  Local Storage: total: 119.24 GiB used: 12.16 GiB (10.2%)
  ID-1: /dev/sda vendor: Patriot model: P220 128GB size: 119.24 GiB
Partition:
  ID-1: / size: 112.61 GiB used: 12.15 GiB (10.8%) fs: ext4 dev: /dev/dm-0
    mapped: vgmint-root
  ID-2: /boot/efi size: 512 MiB used: 6.1 MiB (1.2%) fs: vfat dev: /dev/sda2
Swap:
  ID-1: swap-1 type: partition size: 3.77 GiB used: 256 KiB (0.0%)
    dev: /dev/dm-1 mapped: vgmint-swap_1
Sensors:
  System Temperatures: cpu: 48.0 C mobo: N/A gpu: nouveau temp: 47.0 C
  Fan Speeds (rpm): fan-1: 3568
Info:
  Memory: total: 4 GiB note: est. available: 3.69 GiB used: 1.52 GiB (41.1%)
  Processes: 232 Uptime: 21m Init: systemd target: graphical (5)
  Packages: 2014 Compilers: gcc: 13.3.0 Shell: ck-linux-versio inxi: 3.3.34
 

me@t05-mint:~$

 
Logged
=========
Vinyl: Shure V15VxMR, Shure VN5MR stylus, VPI Scout turntable
Shellac: Shure M91, Shure N75-3 stylus,  Dual 1218 turntable

Apt Holman preamp (updated), Benchmark Media ADC-1, Benchmark Media DAC-1, Carver TFM-45 power amp (updated), Original Acoustic Research AR-9 speakers (LF surrounds replaced), Sennheiser HD590 headphones

gerfling

  • Recent member
  • *
  • Posts: 5
Re: installJRMC - MC installer for Linux
« Reply #104 on: Today at 05:09:23 am »

Hiya, I am a long standing jriver media center user on pc but have never had any luck with Linux..  I tried:

curl https://git.bryanroessler.com/bryan/installJRMC/raw/master/installJRMC|bash

and got:

-s -- --mcrepo=noble --debug
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 59185    0 59185    0     0  93683      0 --:--:-- --:--:-- --:--:-- 93795
Debug: Running: main --mcrepo=noble --debug
Starting installJRMC 1.4.8
Debugging on
Debug: Running: init
Debug: Running: parse_input --mcrepo=noble --debug
Debug: Automatically using --install=repo
Debug: Running: update --mcrepo=noble --debug
Debug: Checking for installJRMC update
Debug: Not in a git repository or not the installJRMC repository. Checking for updates via download.
Debug: Current installJRMC 1.4.8 is the latest version
Debug: rm -f /tmp/tmp.4uXZbNvdFe
Debug: Detected host platform: ubuntu 22.04 amd64
Debug: Host platform: ubuntu 22.04
Debug: MC repository: noble
Debug: Running: install_external_repos
Adding universe repository
Debug: sudo add-apt-repository -y universe
Adding component(s) 'universe' to all repositories.
Hit:1 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:2 http://gb.archive.ubuntu.com/ubuntu jammy InRelease                     
Hit:3 http://gb.archive.ubuntu.com/ubuntu jammy-updates InRelease             
Hit:4 http://gb.archive.ubuntu.com/ubuntu jammy-backports InRelease           
Hit:5 https://linux.teamviewer.com/deb stable InRelease                       
Get:6 https://brave-browser-apt-release.s3.brave.com stable InRelease [7,546 B]
Hit:7 https://ppa.launchpadcontent.net/mixxx/mixxx/ubuntu jammy InRelease     
Hit:8 https://ppa.launchpadcontent.net/slytomcat/ppa/ubuntu jammy InRelease   
Hit:9 https://ppa.launchpadcontent.net/ubuntuhandbook1/dvdstyler/ubuntu jammy InRelease
Ign:10 https://downloads.iridiumbrowser.de/deb stable InRelease         
Err:11 https://downloads.iridiumbrowser.de/deb stable Release           
  404  Not Found [IP: 78.46.90.112 443]
Hit:12 http://dist.jriver.com/latest/mediacenter jammy InRelease
Err:6 https://brave-browser-apt-release.s3.brave.com stable InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0686B78420038257
Reading package lists... Done
E: The repository 'https://downloads.iridiumbrowser.de/deb stable Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://brave-browser-apt-release.s3.brave.com stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0686B78420038257
Installing JRiver Media Center from remote repository
Debug: Running: install_mc_repo
Installing JRiver Media Center RPM key
Adding MC repository file: /etc/apt/sources.list.d/jriver.list
Debug: repo_text: deb [signed-by=/usr/share/keyrings/jriver-com-archive-keyring.gpg arch=amd64,i386,armhf,arm64] http://dist.jriver.com/latest/mediacenter/ noble main
Hit:1 http://gb.archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 http://gb.archive.ubuntu.com/ubuntu jammy-updates InRelease             
Hit:3 http://gb.archive.ubuntu.com/ubuntu jammy-backports InRelease           
Hit:4 http://security.ubuntu.com/ubuntu jammy-security InRelease               
Hit:5 https://linux.teamviewer.com/deb stable InRelease                       
Get:6 https://brave-browser-apt-release.s3.brave.com stable InRelease [7,546 B]
Hit:7 https://ppa.launchpadcontent.net/mixxx/mixxx/ubuntu jammy InRelease     
Hit:8 https://ppa.launchpadcontent.net/slytomcat/ppa/ubuntu jammy InRelease
Hit:9 https://ppa.launchpadcontent.net/ubuntuhandbook1/dvdstyler/ubuntu jammy InRelease
Get:10 http://dist.jriver.com/latest/mediacenter noble InRelease [3,617 B]
Ign:11 https://downloads.iridiumbrowser.de/deb stable InRelease
Err:12 https://downloads.iridiumbrowser.de/deb stable Release
  404  Not Found [IP: 78.46.90.112 443]
Err:6 https://brave-browser-apt-release.s3.brave.com stable InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0686B78420038257
Get:13 http://dist.jriver.com/latest/mediacenter noble/main i386 Packages [872 B]
Get:14 http://dist.jriver.com/latest/mediacenter noble/main arm64 Packages [2,600 B]
Get:15 http://dist.jriver.com/latest/mediacenter noble/main amd64 Packages [2,638 B]
Get:16 http://dist.jriver.com/latest/mediacenter noble/main armhf Packages [855 B]
Reading package lists... Done
E: The repository 'https://downloads.iridiumbrowser.de/deb stable Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://brave-browser-apt-release.s3.brave.com stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0686B78420038257
Error: Package update failed!
Error: JRiver Media Center installation from remote repository failed

Please help,, Ta
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 8254
  • The color of Spring!
Re: installJRMC - MC installer for Linux
« Reply #105 on: Today at 06:17:34 am »

That might be a bug with the script, with Ubuntu 22.04 it really shouldn't be trying to use the Noble repo, which is meant for Ubuntu 24.04. Anything before Ubuntu 24.04 should probably use the Bullseye repo. With Noble the public key stuff format changed, so it's probably trying to use the newer format which likely doesn't work on Ubuntu 22.04 LTS. You're also getting errors for the missing public keys for the Brave and Iridium browser repos, which you're going to have to fix before you can proceed too (they're not related to installJRMC or MC).

Once that stuff is taken care of, try this one-liner which creates a installJRMC folder and puts it there (of course change to your liking) and tries to use the Bullseye repo.

Code: [Select]
mkdir installJRMC && cd installJRMC && wget https://git.bryanroessler.com/bryan/installJRMC/raw/master/installJRMC && chmod +x ./installJRMC && ./installJRMC -d --mcrepo bullseye
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 (AMD 7900X CPU/AMD 7800 XT GPU/64GB RAM/2TB M.2 NVMe SSD)
macOS Sequoia 15.4 (M4 Mac Mini 16GB RAM/256GB SSD)
Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Mac + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

BryanC

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2703
Re: installJRMC - MC installer for Linux
« Reply #106 on: Today at 08:35:27 am »

I think that gerfling passed --mcrepo=noble in his command so if that is excluded it should work.
Logged
Pages: 1 2 [3]   Go Up