97 Commits

Author SHA1 Message Date
e360bacd23 Standardize repo file 2025-12-14 18:22:19 -05:00
b62ba38c49 1.35.5 release 2025-11-25 10:44:24 -05:00
37d3f643a5 Bump final MC34 version 2025-11-25 10:43:40 -05:00
be9f594b25 Update docs for new repo location 2025-11-22 13:16:37 -05:00
5bcbc9a935 1.35.4 release 2025-11-22 04:06:23 -05:00
1f61ec4888 Change SCRIPT_URL for gitea path 2025-11-22 04:06:05 -05:00
3c8ed002bb 1.35.3 release 2025-11-22 03:29:19 -05:00
7ef9669dec Update spec file for RPM 6.0 2025-11-21 21:25:15 -05:00
eb62392da7 Add RPM 6.0 support to rpmbuild 2025-11-21 16:07:49 -05:00
60961f8415 Add RPM 6.0 support to rpmbuild 2025-11-21 16:02:22 -05:00
e087248165 Add RPM 6.0 support to rpmbuild 2025-11-21 15:57:18 -05:00
90ea1e0fa4 Add RPM 6.0 support to rpmbuild 2025-11-21 15:49:36 -05:00
bafd812074 Add RPM 6.0 support to rpmbuild 2025-11-21 15:44:55 -05:00
75881d5ac1 Add RPM 6.0 support to rpmbuild 2025-11-21 15:38:07 -05:00
fd6d4d872f Add RPM 6.0 support to rpmbuild 2025-11-21 15:22:08 -05:00
c96ff1ed4b Use SHA256 checksums in rpmbuild 2025-11-21 15:00:11 -05:00
a37ae0b5f5 Run postbuild RPM routines 2025-11-21 14:49:47 -05:00
b8f64b3f0c Add rpm checksums 2025-11-21 14:41:28 -05:00
bcde2c252b 1.35.2 release 2025-11-21 13:20:46 -05:00
1f8f276258 Fix last MC34 version 2025-11-21 13:19:29 -05:00
ce46f50cd1 1.35.1 release 2025-11-21 13:10:54 -05:00
07878d97ce Update for MC35 2025-11-21 13:10:11 -05:00
d015f70ec2 Always install, don't reinstall MC RPMs 2025-11-13 09:23:22 -05:00
b4a80f5ba1 1.34.11 release 2025-11-07 23:24:58 -05:00
6dcf224b8e Remove unused var 2025-11-07 22:55:49 -05:00
5fb8e0e75f Workaround weird buildah FD 2025-11-07 22:20:56 -05:00
20e09ea15c Still print buildah rm debug 2025-11-07 22:13:16 -05:00
2ac055e827 Make buildah rm quiet 2025-11-07 22:11:30 -05:00
0ee91075fb Download deb to /tmp in container 2025-11-07 21:59:31 -05:00
3c7ef14aac Mounting container in buildah unshare 2025-11-07 21:52:16 -05:00
71ce48626f Make package manager operations noisier by default 2025-11-07 21:22:32 -05:00
f564980ec6 Temp debug 2025-11-07 20:36:34 -05:00
e040a94504 Temp debug 2025-11-07 20:34:42 -05:00
e913d57e17 Remove rootful buildah for cmd execution 2025-11-07 20:28:11 -05:00
61d9e2f98c Remove rootful buildah for deb download 2025-11-07 20:24:22 -05:00
148e821fa9 Remove rootful buildah for buildah checking 2025-11-07 20:20:01 -05:00
622e5d9295 Remove rootful buildah 2025-11-07 20:18:40 -05:00
71defe9672 Pass vars to working container instead of heredoc 2025-11-07 20:11:46 -05:00
60cfe6a19c Fix quoted repo names in containerized pm 2025-11-07 20:09:03 -05:00
c6eed2a89a Allow future full versions for --mcversion 2025-11-07 18:22:48 -05:00
f2c8865216 Print helper for future beta versions instead of scraping 2025-11-07 18:17:38 -05:00
fc1956dc04 Skip containerized version lookup for beta versions 2025-11-07 18:01:22 -05:00
533106cbd7 Allow future major beta versions 2025-11-07 17:54:51 -05:00
89499ddac8 Allow empty --install flag, default to repo method 2025-10-22 20:45:26 -04:00
e19422257d 1.34.10 release 2025-10-21 18:58:32 -04:00
4683ed4c0e Optionally rerun installJRMC on repo failure 2025-10-21 18:56:56 -04:00
8a38cbef41 Optionally rerun installJRMC on repo failure 2025-10-21 18:55:15 -04:00
d86b454be4 Optionally rerun installJRMC on repo failure 2025-10-21 18:53:15 -04:00
98a10f2539 1.34.9 release 2025-10-21 17:56:29 -04:00
373ec80694 Don't unset recommends namerefs 2025-10-21 17:55:01 -04:00
f7ddf6830e Remove buildah force flag 2025-10-21 17:49:08 -04:00
29ade7e11c Set MC_VERSION in all cases 2025-10-21 17:23:43 -04:00
c9ac0c94b0 Streamline user version handling 2025-10-21 17:04:12 -04:00
eda302ac11 Update default version 2025-10-21 15:06:03 -04:00
a975749b26 Remove explicit version check 2025-10-21 15:04:55 -04:00
da199b1278 Silence erroneous shellcheck warnings and update docs 2025-08-06 21:29:18 -04:00
c6429d563c Fix linting 2025-08-02 20:05:17 -04:00
a2de08da42 1.34.8 release 2025-08-02 10:58:05 -04:00
633938eb4d Fix python dependency on SUSE 2025-08-02 10:52:37 -04:00
3bbd846a3f 1.34.7 release 2025-08-01 21:02:06 -04:00
e6b51568f9 Re-add .bbcode 2025-08-01 20:49:43 -04:00
9b9b82d1af Tighten up output 2025-08-01 20:43:15 -04:00
f2016b6b50 install fakeroot on Arch 2025-08-01 20:22:54 -04:00
94e2bfa848 FIx one variable reassignment 2025-08-01 20:16:16 -04:00
cfc21cda14 Debug array 2025-08-01 19:57:49 -04:00
8ae3ae5915 Debug array 2025-08-01 19:55:58 -04:00
7bbe16b6a2 Try rough re-split 2025-08-01 19:54:18 -04:00
2ee1fd5b9c Improve array filtering for PKGBUILD 2025-08-01 19:50:49 -04:00
45be120254 Strip rpm array modifications 2025-08-01 19:40:59 -04:00
62f0b862c3 Install dpkg for Arch for consistency 2025-08-01 19:29:34 -04:00
c42f0a6dd3 Fix circular namerefs 2025-08-01 19:26:15 -04:00
e3777f0dec Remove colons from Arch recommends 2025-08-01 19:19:49 -04:00
9bae3a42c7 Fix derp 2025-08-01 19:16:54 -04:00
3587ac8db2 Refactor package translations on behalf of Arch 2025-08-01 18:14:39 -04:00
e390f36d84 Normailize CachyOS as Arch 2025-07-30 09:21:57 -04:00
de38073978 1.34.5 release 2025-07-28 17:19:58 -04:00
a0d6707d1c Ignore bbcode since gogs clobbers 2025-07-28 17:16:57 -04:00
61f5b2c19d Update .gitignore and add new README 2025-07-28 17:14:29 -04:00
54923fd212 Rename README for gogs precedence 2025-07-28 17:12:47 -04:00
df9c1ccbea Keep /home/bryan consistent 2025-07-11 20:56:24 -04:00
d62f844371 Fix bad .jriver permissions more gracefully 2025-07-11 20:55:24 -04:00
f2d08bc3e6 Add debug output 2025-07-11 20:43:10 -04:00
ce2b1e70c6 Clobber repo files (more automatic) 2025-07-11 20:38:12 -04:00
1e1e7e3792 Make package update less noisy 2025-07-11 20:35:50 -04:00
c44bfe8aa3 Format and test 2025-07-11 20:12:10 -04:00
10d9e9e213 Remove uncessary warnings 2025-07-11 20:09:02 -04:00
f80f9ccd08 Add testing debug output 2025-07-11 19:52:38 -04:00
175c6deb5a Make package scrape prettier 2025-07-11 19:51:18 -04:00
9d8e338872 Make package scrape prettier 2025-07-11 19:50:01 -04:00
558c7a059c More explicitly fix .jriver dir permissions 2025-07-11 19:44:12 -04:00
f92a89c99c Quiet containerized package manager warning 2025-07-11 19:32:29 -04:00
68c03ab186 Make sure we pop commits after git update 2025-07-11 19:28:17 -04:00
9587308d84 Improve verbiage 2025-07-11 19:12:35 -04:00
3848e880ed Simplify build_rpm() 2025-07-11 19:09:52 -04:00
dc16e06ea8 Use --install=local by default on Mandriva 2025-07-11 18:59:26 -04:00
c5921c33cc Tighten up Mandriva support 2025-07-11 18:54:14 -04:00
0795491d61 Add Mandriva support 2025-07-11 17:55:26 -04:00
4 changed files with 602 additions and 466 deletions

View File

@@ -1,16 +1,16 @@
[size=20pt]installJRMC[/size] [size=20pt]installJRMC[/size]
This program will install [url=https://www.jriver.com/]JRiver Media Center[/url] and associated services on most Linux distributions. This program installs [url=https://www.jriver.com/]JRiver Media Center[/url] and associated services on most Linux distributions.
You can find the latest version of installJRMC, changelog, and documentation in [url=https://git.bryanroessler.com/bryan/installJRMC]my repository[/url]. You can find the latest version of installJRMC, changelog, and documentation in [url=https://git.bryanroessler.com/bryan/installJRMC]my repository[/url].
[size=18pt]tl;dr One-line MC install[/size] [size=18pt]tl;dr (One-line MC install)[/size]
[code]curl https://git.bryanroessler.com/bryan/installJRMC/raw/master/installJRMC|bash[/code] [code]curl https://git.bryanroessler.com/bryan/installJRMC/raw/branch/master/installJRMC|bash[/code]
[size=18pt]Instructions[/size] [size=18pt]Instructions[/size]
Download and unzip installJRMC from the attachment below or grab the latest stable version directly: Download and unzip installJRMC from the attachment below or grab the latest stable version directly:
[code]curl -O https://git.bryanroessler.com/bryan/installJRMC/raw/master/installJRMC && [code]curl -O https://git.bryanroessler.com/bryan/installJRMC/raw/branch/master/installJRMC &&
chmod +x ./installJRMC && chmod +x ./installJRMC &&
./installJRMC [--option [ARGUMENT]] ./installJRMC [--option [ARGUMENT]]
[/code] [/code]
@@ -23,48 +23,48 @@ Specifying [tt]--build[/tt], [tt]--createrepo[/tt], [tt]--service[/tt], or [tt]-
[code] [code]
$ installJRMC --help $ installJRMC --help
--install, -i repo|local --install, -i repo|local
repo: Install MC from repository, future updates will be handled by the system package manager repo: Install MC from repository, future updates will be handled by the system package manager.
local: Build and install MC package from official source package local: Build and install MC package from official source package.
--build[=suse|fedora|centos] --build[=suse|fedora|centos]
Build RPM from source DEB but do not install Build RPM from source DEB but do not install.
Optionally, specify a target distro for cross-building (ex. --build=suse, note the '=') Optionally, specify a target distro for cross-building (ex. --build=suse, note the '=').
--compat --compat
Build/install MC without minimum dependency version requirements Build/install MC without minimum dependency version requirements.
--mcversion VERSION --mcversion VERSION
Specify the MC version, ex. "33", "34.0.36", or "34.0.36-1" (default: latest) Specify the MC version, ex. "33", "35.0.24", or "35.0.24-1" (default: latest).
--arch ARCH --arch ARCH
Specify the target MC architecture, ex. "amd64", "arm64", etc (default: host architecture) Specify the target MC architecture, ex. "amd64", "arm64", etc (default: host architecture).
--mcrepo REPO --mcrepo REPO
Specify the MC repository, ex. "bullseye", "bookworm", "noble", etc (default: host or official) Specify the MC repository, ex. "bullseye", "bookworm", "noble", etc (default: host or official).
--outputdir PATH --outputdir PATH
Generate reusable installJRMC output in this PATH (default: ./output) Generate reusable installJRMC output in this PATH (default: ./output).
--restorefile RESTOREFILE --restorefile RESTOREFILE
Restore file location for automatic license registration Restore file location for automatic license registration.
--betapass PASSWORD --betapass PASSWORD
Enter beta team password for access to beta builds Enter beta team password for access to beta builds.
--service, -s SERVICE --service, -s SERVICE
See SERVICES section below for the list of services to deploy See SERVICES section below for the list of services to deploy.
--service-type user|system --service-type user|system
Starts services at boot (system) or user login (user) (default: per-service, see SERVICES) Starts services at boot (system) or user login (user) (default: per-service, see SERVICES).
--container, -c CONTAINER (TODO: Under construction) --container, -c CONTAINER (TODO: Under construction)
See CONTAINERS section below for a list of containers to deploy See CONTAINERS section below for a list of containers to deploy.
--createrepo[=suse|fedora|centos] --createrepo[=suse|fedora|centos]
Build rpm, copy to webroot, and run createrepo. Build rpm, copy to webroot, and run createrepo.
Optionally, specify a target distro for non-native repo (ex. --createrepo=fedora, note the '=') Optionally, specify a target distro for non-native repo (ex. --createrepo=fedora, note the '=').
--createrepo-webroot PATH --createrepo-webroot PATH
The webroot directory to install the repo (default: /var/www/jriver/) The webroot directory to install the repo (default: /var/www/jriver/).
--createrepo-user USER --createrepo-user USER
The web server user if different from the current user The web server user if different from the current user.
--no-update --no-update
Disable the installJRMC update check Disable the installJRMC update check.
--yes, -y, --auto --yes, -y, --auto
Always assumes yes for questions Always assumes yes for questions.
--version, -v --version, -v
Print installJRMC version and exit Print installJRMC version and exit.
--debug, -d --debug, -d
Print debug output Print debug output.
--help, -h --help, -h
Print help dialog and exit Print help dialog and exit.
--uninstall, -u --uninstall, -u
Uninstall JRiver MC, service files, firewall rules, etc. Uninstall JRiver MC, service files, firewall rules, etc.
[/code] [/code]
@@ -72,20 +72,20 @@ $ installJRMC --help
[size=18pt]Services[/size] [size=18pt]Services[/size]
[code]jriver-mediaserver (user) [code]jriver-mediaserver (user)
Enable and start a mediaserver systemd service (requires an existing X server) Enable and start a mediaserver systemd service (requires an existing X server).
jriver-mediacenter (user) jriver-mediacenter (user)
Enable and start a mediacenter systemd service (requires an existing X server) Enable and start a mediacenter systemd service (requires an existing X server).
jriver-x11vnc (user) jriver-x11vnc (user)
Enable and start x11vnc for the local desktop (requires an existing X server, does NOT support Wayland) Enable and start x11vnc for the local desktop (requires an existing X server, does NOT support Wayland).
--vncpass and --display are also valid options (see below) --vncpass and --display are also valid options (see below).
jriver-xvnc (system) jriver-xvnc (system)
Enable and start a new Xvnc session running JRiver Media Center Enable and start a new Xvnc session running JRiver Media Center.
--vncpass PASSWORD --vncpass PASSWORD
Set vnc password for x11vnc/Xvnc access. If no password is set, the script will either use existing password stored in ~/.vnc/jrmc_passwd or else no password Set vnc password for x11vnc/Xvnc access. If no password is set, the script will either use existing password stored in ~/.vnc/jrmc_passwd or else no password.
--display DISPLAY --display DISPLAY
Manually specify display to use for x11vnc/Xvnc (ex. ':1') Manually specify display to use for x11vnc/Xvnc (ex. ':1').
jriver-createrepo (system) jriver-createrepo (system)
Install hourly service to build latest MC RPM and run createrepo Install hourly service to build latest MC RPM and run createrepo.
[/code] [/code]
Services use a sane default [tt]--service-type[/tt] listed next to the service name in the Services description. Services use a sane default [tt]--service-type[/tt] listed next to the service name in the Services description.
@@ -106,20 +106,18 @@ Multiple services (but not [tt]--service-types[/tt]) can be installed at one tim
[size=18pt]Firewall[/size] [size=18pt]Firewall[/size]
installJRMC automatically creates port forwarding firewall rules for remote access to Media Network (52100-52200/tcp, 1900/udp DLNA) and Xvnc/x11vnc (if selected), using firewall-cmd or ufw. installJRMC automatically creates port forwarding firewall rules for remote access to Media Network (52100-52200/tcp, 1900/udp DLNA) and Xvnc/x11vnc (if selected), using firewall-cmd or ufw (if available).
[size=18pt]Other Nicities[/size] [size=18pt]Other Nicities[/size]
[list] [list]
[*]Automatically updates [tt]installJRMC[/tt] to the latest release [*]Automatically updates [tt]installJRMC[/tt] to the latest release.
[*]Activates external third-party repositories for improved media playback (hardware decoding, etc.) [*]Activates external third-party repositories for improved media playback (hardware decoding, etc.).
[*]Adds temporary legacy repositories to provide deprecated libraries [*]Adds temporary legacy repositories to provide deprecated libraries.
[*]Links non-standard SSL certs [*]Links non-standard SSL certs.
[*]Disables BTRFS CoW for MC database directories [*]Activates MC if a valid license file is found in common locations.
[*]Activates MC if a valid license file is found in common locations
[/list] [/list]
[size=18pt]Examples[/size] [size=18pt]Examples[/size]
[code]installJRMC[/code] [code]installJRMC[/code]
Install the latest version of MC from the best available repository. Install the latest version of MC from the best available repository.
[code]installJRMC --mcversion 33 --debug[/code] [code]installJRMC --mcversion 33 --debug[/code]
@@ -128,8 +126,8 @@ Install the latest version of MC33 from the best available repository with debug
Install a more widely-compatible version of the latest MC version. Install a more widely-compatible version of the latest MC version.
[code]installJRMC --install repo --service jriver-mediacenter --service-type user[/code] [code]installJRMC --install repo --service jriver-mediacenter --service-type user[/code]
Install MC from the repository and start/enable jriver-mediacenter.service as a user service. Install MC from the repository and start/enable jriver-mediacenter.service as a user service.
[code]installJRMC --install local --compat --restorefile /path/to/license.mjr --mcversion 34.0.36[/code] [code]installJRMC --install local --compat --restorefile /path/to/license.mjr --mcversion 35.0.24[/code]
Build and install an MC 34.0.36 comptability RPM locally and activate it using the /path/to/license.mjr Build and install an MC 35.0.24 comptability RPM locally and activate it using the [tt]/path/to/license.mjr[/tt].
[code]installJRMC --createrepo --createrepo-webroot /srv/jriver/repo --createrepo-user www-user[/code] [code]installJRMC --createrepo --createrepo-webroot /srv/jriver/repo --createrepo-user www-user[/code]
Build an RPM locally for the current distro, move it to the webroot, and run createrepo as www-user. Build an RPM locally for the current distro, move it to the webroot, and run createrepo as www-user.
[code]installJRMC --service jriver-createrepo --createrepo-webroot /srv/jriver/repo --createrepo-user www-user[/code] [code]installJRMC --service jriver-createrepo --createrepo-webroot /srv/jriver/repo --createrepo-user www-user[/code]
@@ -143,4 +141,8 @@ Uninstall MC, services, and firewall rules. This will [b]not[/b] remove your med
[size=18pt]Additional Info[/size] [size=18pt]Additional Info[/size]
Did you find installJRMC useful? [url=https://paypal.me/bryanroessler]Buy me a coffee![/url] Did you find installJRMC useful? [url=https://paypal.me/bryanroessler]Paypal me a coffee![/url]
[url=bitcoin:bc1q7wy0kszjavgcrvkxdg7mf3s6rh506rasnhfa4a]↓ ↓ ↓ Bitcoin ↓ ↓ ↓[/url]
[url=bitcoin:bc1q7wy0kszjavgcrvkxdg7mf3s6rh506rasnhfa4a][img]https://repos.bryanroessler.com/files/bc1q7wy0kszjavgcrvkxdg7mf3s6rh506rasnhfa4a.png[/img][/url]

2
.gitignore vendored
View File

@@ -2,4 +2,6 @@
.vscode/ .vscode/
installJRMC.zip installJRMC.zip
README.shdoc.md README.shdoc.md
README.bbcode
output/ output/
*.code-workspace

View File

@@ -1,89 +1,89 @@
# installJRMC # installJRMC
This program will install [JRiver Media Center](https://www.jriver.com/) and associated services on most Linux distributions. Installs [JRiver Media Center](https://www.jriver.com/) and associated services on most Linux distributions.
You can find the latest version of installJRMC, changelog, and documentation in [my repository](https://git.bryanroessler.com/bryan/installJRMC). You can find the latest version of installJRMC, changelog, and documentation in [my repository](https://git.bryanroessler.com/bryan/installJRMC).
## Executing ## Usage
`installJRMC [--option [ARGUMENT]]` `installJRMC [--option [ARGUMENT]]`
`installJRMC` defaults to `--install=repo` on distros with MC repositories and `--install=local` on all others. `installJRMC` defaults to `--install=repo` on distros with Media Center repositories and `--install=local` on others.
Specifying `--build`, `--createrepo`, `--service`, or `--uninstall` disables the default install method. Specifying `--build`, `--createrepo`, `--service`, or `--uninstall` disables the default install method.
### tl;dr ### tl;dr
`curl https://git.bryanroessler.com/bryan/installJRMC/raw/master/installJRMC|bash` `curl https://git.bryanroessler.com/bryan/installJRMC/raw/branch/master/installJRMC|bash`
## Options ## Options
```text ```text
$ installJRMC --help $ installJRMC --help
--install, -i repo|local --install, -i repo|local
repo: Install MC from repository, future updates will be handled by the system package manager repo: Install MC from repository, future updates will be handled by the system package manager.
local: Build and install MC package locally from official source package local: Build and install MC package locally from official source package.
--build[=suse|fedora|centos] --build[=suse|fedora|centos|mandriva]
Build RPM from source DEB but do not install Build RPM from source DEB but do not install.
Optionally, specify a target distro for cross-building (ex. --build=suse, note the '=') Optionally, specify a target distro for cross-building (ex. --build=suse, note the '=').
--compat --compat
Build/install MC without minimum dependency version requirements Build/install MC without minimum dependency version requirements.
--mcversion VERSION --mcversion VERSION
Build or install a specific MC version, ex. "34.0.36" or "33" (default: latest) Build or install a specific MC version, ex. "35.0.24" or "33" (default: latest).
--mcrepo REPO --mcrepo REPO
Specify the MC repository, ex. "bullseye", "bookworm", "noble", etc (default: latest official) Specify the MC repository, ex. "bullseye", "bookworm", "noble", etc (default: latest official).
--arch ARCH --arch ARCH
Specify the MC architecture, ex. "amd64", "arm64", etc (default: host architecture) Specify the MC architecture, ex. "amd64", "arm64", etc (default: host architecture).
--outputdir PATH --outputdir PATH
Generate rpmbuild output in this PATH (default: ./output) Generate rpmbuild output in this PATH (default: ./output).
--restorefile RESTOREFILE --restorefile RESTOREFILE
Restore file location for automatic license registration Restore file location for automatic license registration.
--betapass PASSWORD --betapass PASSWORD
Enter beta team password for access to beta builds Enter beta team password for access to beta builds.
--service, -s SERVICE --service, -s SERVICE
See SERVICES section below for the list of services to deploy See SERVICES section below for the list of services to deploy.
--service-type user|system --service-type user|system
Starts services at boot (system) or user login (user) (default: per-service, see SERVICES) Starts services at boot (system) or user login (user) (default: per-service, see SERVICES).
--container, -c CONTAINER (TODO: Under construction) --container, -c CONTAINER (TODO: Under construction)
See CONTAINERS section below for a list of containers to deploy See CONTAINERS section below for a list of containers to deploy.
--createrepo[=suse|fedora|centos] --createrepo[=suse|fedora|centos|mandriva]
Build rpm, copy to webroot, and run createrepo. Build rpm, copy to webroot, and run createrepo.
Optionally, specify a target distro for non-native repo (ex. --createrepo=fedora, note the '=') Optionally, specify a target distro for non-native repo (ex. --createrepo=fedora, note the '=').
--createrepo-webroot PATH --createrepo-webroot PATH
The webroot directory to install the repo (default: /var/www/jriver/) The webroot directory to install the repo (default: /var/www/jriver/).
--createrepo-user USER --createrepo-user USER
The web server user if different from the current user The web server user if different from the current user.
--no-update --no-update
Disable the installJRMC update check Disable the installJRMC update check.
--yes, -y, --auto --yes, -y, --auto
Always assume yes for questions Always assume yes for questions.
--version, -v --version, -v
Print installJRMC version and exit Print installJRMC version and exit.
--debug, -d --debug, -d
Print debug output Print debug output.
--help, -h --help, -h
Print help dialog and exit Print help dialog and exit.
--uninstall, -u --uninstall, -u
Uninstall JRiver MC, service files, and firewall rules (does not remove library or media files) Uninstall JRiver MC, service files, and firewall rules (does not remove library or media files).
``` ```
### `--service=` ### `--service=`
```text ```text
jriver-mediaserver [--service-type=user] jriver-mediaserver [--service-type=user]
Enable and start a mediaserver systemd service (requires an existing X server) Enable and start a mediaserver systemd service (requires an existing X server).
jriver-mediacenter [--service-type=user] jriver-mediacenter [--service-type=user]
Enable and start a mediacenter systemd service (requires an existing X server) Enable and start a mediacenter systemd service (requires an existing X server).
jriver-x11vnc [--service-type=user] jriver-x11vnc [--service-type=user]
Enable and start x11vnc for the local desktop (requires an existing X server, does NOT support Wayland) Enable and start x11vnc for the local desktop (requires an existing X server, does NOT support Wayland).
--vncpass and --display are also valid options (see below) --vncpass and --display are also valid options (see below).
jriver-xvnc [--service-type=system] jriver-xvnc [--service-type=system]
Enable and start a new Xvnc session running JRiver Media Center Enable and start a new Xvnc session running JRiver Media Center.
--vncpass PASSWORD --vncpass PASSWORD
Set vnc password for x11vnc/Xvnc access. If no password is set, the script will either use existing password stored in ~/.vnc/jrmc_passwd or use no password Set vnc password for x11vnc/Xvnc access. If no password is set, the script will either use existing password stored in ~/.vnc/jrmc_passwd or use no password.
--display DISPLAY --display DISPLAY
Manually specify display to use for x11vnc/Xvnc (ex. ':1') Manually specify display to use for x11vnc/Xvnc (ex. ':1').
jriver-createrepo [--service-type=system] jriver-createrepo [--service-type=system]
Install hourly service to build latest MC RPM and run createrepo Install hourly service to build latest MC RPM and run createrepo.
``` ```
#### `--service-type=` #### `--service-type=`
@@ -102,18 +102,15 @@ Multiple services (but not `--service-types`) can be installed at one time using
## Firewall ## Firewall
`installJRMC` automatically creates port forwarding firewall rules for remote access to Media Network (52100-52200/tcp, 1900/udp DLNA) and Xvnc/x11vnc (if selected), using `firewall-cmd` or `ufw`. `installJRMC` automatically creates port forwarding firewall rules for remote access to Media Network (52100-52200/tcp, 1900/udp DLNA) and Xvnc/x11vnc (if selected), using `firewall-cmd` or `ufw` (if available).
**Note:** `ufw` is not installed by default on Debian but will be installed by `installJRMC`. To prevent SSH lock-out, Debian users that have not already enabled `ufw` will need to `sudo ufw enable` after running `installJRMC` and inspecting their configuration.
## Other Nicities ## Other Nicities
* Automatically updates `installJRMC` to the latest release * Automatically updates `installJRMC` to the latest release.
* Activates external third-party repositories for improved media playback (hardware decoding, etc.) * Activates external third-party repositories for improved media playback (hardware decoding, etc.).
* Adds temporary legacy repositories to provide deprecated libraries * Adds temporary legacy repositories to provide deprecated libraries.
* Links non-standard SSL certs * Links non-standard SSL certs.
* Disables BTRFS CoW for MC database directories * Activates MC if a valid license file is found in common locations.
* Activates MC if a valid license file is found in common locations
## Examples ## Examples
@@ -133,9 +130,9 @@ Multiple services (but not `--service-types`) can be installed at one time using
Install MC from the repository and start/enable `jriver-mediacenter.service` as a user service. Install MC from the repository and start/enable `jriver-mediacenter.service` as a user service.
* `installJRMC --install local --compat --restorefile /path/to/license.mjr --mcversion 34.0.36` * `installJRMC --install local --compat --restorefile /path/to/license.mjr --mcversion 35.0.24`
Build and install an MC 34.0.36 compatibility RPM locally and activate it using the `/path/to/license.mjr` Build and install an MC 35.0.24 compatibility RPM locally and activate it using the `/path/to/license.mjr`.
* `installJRMC --createrepo --createrepo-webroot /srv/jriver/repo --createrepo-user www-user` * `installJRMC --createrepo --createrepo-webroot /srv/jriver/repo --createrepo-user www-user`
@@ -161,7 +158,7 @@ Multiple services (but not `--service-types`) can be installed at one time using
Find a bug? [Let me know on Interact!](https://yabb.jriver.com/interact/index.php/topic,141168.0.html) Find a bug? [Let me know on Interact!](https://yabb.jriver.com/interact/index.php/topic,141168.0.html)
Find `installJRMC` useful? [Buy me a coffee with Paypal!](https://paypal.me/bryanroessler) Find `installJRMC` useful? [Paypal me a coffee!](https://paypal.me/bryanroessler)
[↓ ↓ ↓ Bitcoin ↓ ↓ ↓](bitcoin:bc1q7wy0kszjavgcrvkxdg7mf3s6rh506rasnhfa4a) [↓ ↓ ↓ Bitcoin ↓ ↓ ↓](bitcoin:bc1q7wy0kszjavgcrvkxdg7mf3s6rh506rasnhfa4a)

File diff suppressed because it is too large Load Diff