Skip to content

Commit 0eded2d

Browse files
committed
hdfd
1 parent 2f61526 commit 0eded2d

File tree

3 files changed

+46
-5
lines changed

3 files changed

+46
-5
lines changed

docs/Backend-Daemon.md

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,10 +104,47 @@ And start it with
104104
As this will fail (or why are you running it as a service?) you will see the error that it is not running again.
105105
Systemd should restart it after 5 seconds and then you'll be able to load RompR**
106106

107+
### On Systems without systemd (eg FreeBSD)
108+
109+
If you run a system that doesn't have systemd, one user has reported that the following works on FreeBSD
110+
111+
Create the file /usr/local/etc/rc.d/romprbackend
112+
113+
# PROVIDE: romprbackend
114+
# REQUIRE: LOGIN cleanvar sshd apache24
115+
# KEYWORD: shutdown
116+
117+
. /etc/rc.subr
118+
119+
name="romprbackend"
120+
rcvar="romprbackend_enable"
121+
122+
romprbackend_chdir="/PATH_TO_ROMPR/"
123+
124+
command="/usr/sbin/daemon"
125+
command_args="-r -f -u www /usr/local/bin/php /PATH_TO_ROMPR/rompr_backend.php"
126+
127+
load_rc_config $name
128+
: ${romprbackend_enable:=no}
129+
: ${romprbackend_msg="Nothing started."}
130+
131+
run_rc_command "$1"
132+
133+
Where /PATH_TO_ROMPR/ is the RompR installation directory, as above. This requires first running.
134+
135+
sysrc romprbackend_enable="YES"
136+
137+
More info might be available by following [This Thread](https://github.com/fatg3erman/RompR/issues/140)
138+
107139
## Troubleshooting
108140

109141
If it's not working, first enable [debug logging](/RompR/Troubleshooting) to level 7 then restart rombackend.
110142
You'll see some output from it in the web server's error log (and your custom logifle if you're using one).
111143

112-
You can also try to run it from the command-line with php /PATH/TO/ROMPR/rompr_backend.php, but if you do this it will need write access to your webserver's error log and everything in your rompr/prefs directory.
144+
You can also try to run it from the command-line with
145+
146+
cd /PATH_TO_ROMPR
147+
php /PATH_TO_ROMPR/rompr_backend.php
148+
149+
but if you do this it will need write access to your webserver's error log and everything in your rompr/prefs directory.
113150
This might, however, be useful if it's crashing out really early.

docs/Changelog.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66

77
* Sleep Timer fadeout time is now configurable.
88
* Further support for Qobuz using the [mopidy-qobuz-hires backend](https://github.com/vitiko98/mopidy-qobuz)
9+
* New options to not scrobble Podcasts and/or Spoken Word tracks to Last.FM
10+
* MPD outputs with hyperlnks in the name will now cause a link to be displayed in the UI (contributed by ron-from-nl)
11+
* All Mopidy-linked functionality that depends on online music sources (eg 'Music From Everywhere') should now recognise all the main ones that work well (Spotify, YTMusic, YouTube, Qobuz)
12+
* You can now limit your Collection view to only show tracks from a specific Mopidy backend (eg only loca, only spotify, etc..)
913
* A few minor bugfixes
1014

1115
NOTE. Due to a limtation in mopidy-qobuz-hires version 0.1.0, to use that backend with RompR 2.14 or later you will
@@ -28,7 +32,7 @@ until an official updated version is released. Trying to use the official releas
2832
### If upgrading from a version before 2.00 please read the notes for version 2.00 before continuing.
2933

3034
* Album art bugfix for people running PHP 8, contributed by svalo.
31-
* Files can now be downloaded through the browser from the File Browser by clicking on the 'mp3' (or whatever) icon next to the file name. This works with anything in mpd and for local files in Mopidy. It requires the path to your localmusic to be configured in the preferences.
35+
* Files can now be downloaded through the browser from the File Browser by clicking on the 'mp3' (or whatever) icon next to the file name. This works with anything in mpd and for local files in Mopidy. It requires the path to your local music to be configured in the preferences.
3236

3337

3438
## Version 2.06
@@ -76,7 +80,7 @@ until an official updated version is released. Trying to use the official releas
7680
* Make the SQLite collection case-insensitive, which makes it work the same way as MySQL and means I can remove a lot of case checking statements, which speeds things up.
7781
* All tracks and podcast episodes can now have an arbitrary number of named bookmarks associated with them.
7882
* All Personal Radio stations are now populated by the Backend Daemon, so there is no longer any need to keep a browser open.
79-
* If Mopidy's HTTP interface is available and you do a search in RompR and limit the search to specific backends the search can be performed using Mopidy's HTTP interface instead of the MPD interface. This can provide significantly improved search performance and better quality information but it can use a lot of RAM and in certain setups it might be a lot slower. You can disable this behaviour by unchcking 'Use Mopidy HTTP interface for Search' on the rompr/?setup screen.
83+
* If Mopidy's HTTP interface is available and you do a search in RompR and limit the search to specific backends the search can be performed using Mopidy's HTTP interface instead of the MPD interface. This can provide significantly improved search performance and better quality information but it can use a lot of RAM and in certain setups it might be a lot slower. You can disable this behaviour by unchecking 'Use Mopidy HTTP interface for Search' on the rompr/?setup screen.
8084
* The usual collection of undocumented bugfixes.
8185
* **Youtube Music as a Spotify Replacement**
8286
* Now that Mopidy-Spotify is no longer working, and we don't know how long it will take (or if ever) to get a fix, the rompr/?setup screen has an option to mark all your Spotify tracks as unplayable. They will no longer appear in your collection and will be added to Your Wishlist. Note that selecting this option will force a rescan of your Music Collection. The Wishlist Viewer will give you an easy way to browse them and decide which ones you want to buy digital or physical copies of. I recommend Bandcamp, where the artist gets a fair share of the money, unlike from Spotify. If you have enabled Youtube Music support in Mopidy the Wishlist Viewer will permit you to search for tracks on Youtube Music and import them into your Collection in place of your Spotify tracks, preserving the tags, ratings, and playcounts.

docs/Rompr-And-Mopidy.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ At the time of writing, version 0.1.0 of mopidy-qobuz-hires does not support alb
106106
you might find the search results get corrupted and end up plyaing different tracks.
107107
I have raised this as a Pull Request with the maintainer but until that gets merged you should install mopidy-qobuz-hires using the command
108108

109-
pip3 install git+https://github.com/fatg3erman/mopidy-qobuz@dev
109+
pip3 install git+https://github.com/vitiko98/mopidy-qobuz@dev
110110

111111

112112
## Mopidy-YTMusic and Mopidy-Youtube
@@ -165,7 +165,7 @@ If you haven't done this right, then your music collection update will just hang
165165

166166
## Genres
167167

168-
Note that only Mopidy-Local seems to return Genres, so Genre-based Collection functions will not work as your might expect if you use Spotify, Soundcloud, etc.
168+
Note that only Mopidy-Local seems to return Genres, so Genre-based Collection functions will not work as you might expect if you use Spotify, Soundcloud, etc.
169169

170170

171171
## Downloading Youtube Tracks

0 commit comments

Comments
 (0)