Plugins::BrutefirDrc::Plugin::linkFilter (396) Changed filter for client 00:04:20:06:b2:c2 to: /etc/squeezeboxserver/BrutefirDrc/filters/nastyfilter.txt
But as I said, the audio is not affected.
I suspect that I have simply missed a small configuration step. Any ideas, please?
I,ve been running BrutefirDRC with LMS 7.8 on a RN Ultra 2+ for some time. Here is a list of files and paths that work on my box
for LMS v7.8 (beta) on a ReadyNas (x86) use following path for the above files:
/c/.squeezeboxserver/Plugins/BrutefirDrc
cd /c/.squeezeboxserver/cache/InstalledPlugins/Plugins
and make this softlink:
ln -s BrutefirDrc /c/.squeezeboxserver/Plugins/BrutefirDrc
/etc/squeezeboxserver/BrutefirDrc/settings/
/etc/squeezeboxserver/BrutefirDrc/filters/null-65k48-l.pcm
/etc/squeezeboxserver/BrutefirDrc/filters/null-65k48-r.pcm
/etc/squeezeboxserver/BrutefirDrc/filters/sample_eq.txt
/etc/squeezeboxserver/BrutefirDrc/filters/sample_filter_and_eq.txt
/etc/squeezeboxserver/BrutefirDrc/filters/sample_filter_no_eq.txt
Check ownership of folders and files during installation. Usually this would be user "squeezeboxserver", but note that on a Readynas this is different as LMS is run by root.
In addition python v2.4 or higher and brutefir v1.0k must be present on the system and working.
brutefirwrapper writes to 'brutefir.log' Check this for relevant output.
Hi, Olav. Thanks again for your help so far. I hope you have time to offer more advice.I've found a lot of BrutefirDRC information on the web, but it's all for old versions running on desktop PCs. As soon as I get this working, I'm going to write up a set of step-by-step instructions for version 4.0 on the ReadyNAS.
On Sunday, May 19, 2013 2:11:07 AM UTC-7, Olav Sunde wrote:for LMS v7.8 (beta) on a ReadyNas (x86) use following path for the above files:
/c/.squeezeboxserver/Plugins/BrutefirDrcThe BrutefirDRC package (Bin and HTML directories, the install.xml file, and all the other files) is there.cd /c/.squeezeboxserver/cache/InstalledPlugins/Plugins
and make this softlink:
ln -s BrutefirDrc /c/.squeezeboxserver/Plugins/BrutefirDrcI think that's a typo; did you mean "ln -s /c/.squeezeboxserver/Plugins/BrutefirDrc BrutefirDrc "? In other words, make a softlink in the /c/.squeezeboxserver/cache/InstalledPlugins/Plugins directory that points to the actual location of the BrutefirDRC directory, /c/.squeezeboxserver/Plugins/BrutefirDrc . Correct?
/etc/squeezeboxserver/BrutefirDrc/settings/
/etc/squeezeboxserver/BrutefirDrc/filters/null-65k48-l.pcm
/etc/squeezeboxserver/BrutefirDrc/filters/null-65k48-r.pcm
/etc/squeezeboxserver/BrutefirDrc/filters/sample_eq.txt
/etc/squeezeboxserver/BrutefirDrc/filters/sample_filter_and_eq.txt
/etc/squeezeboxserver/BrutefirDrc/filters/sample_filter_no_eq.txtMy settings and filters directories are there, and the BrutefirDRC web GUI settings specify those directories. My filters directory contains only one filter -- the "delay the right channel" sample filter from the old instructions on the slimdevices wiki -- but BrutefirDRC is able to find it: When I enable the filter, BrutefirDRC creates a softlink in the settings directory that points to that filter in the filters directory.
Check ownership of folders and files during installation. Usually this would be user "squeezeboxserver", but note that on a Readynas this is different as LMS is run by root.Ownership is set to 201:201 wherever other plugin files have that ownership, and it's set to root:root where other plugin files have THAT ownership. The BrutefirDRC files in /c/.squeezeboxserver/Plugins/BrutefirDrc are set to 201:201.
In addition python v2.4 or higher and brutefir v1.0k must be present on the system and working.Hmm... I have Python 2.4 (although I'm thinking about upgrading to 2.7.3 -- will that break LMS 7.8.0?), but my version of brutefir is 1.0f, not 1.0k. Version 1.0f is the latest one available from the debian etch repository; version 1.0k is available from the debian squeeze repo, but it has dependencies (new libc, etc.) that can't be safely installed on the ReadyNAS.
If 1.0f won't work, where can I get a version of 1.0k that will run on the ReadyNAS's etch release?brutefirwrapper writes to 'brutefir.log' Check this for relevant output.That logfile isn't present on my system. Maybe that's a clue that brutefir isn't working properly. Where should the logfile be? /var/log?
Which readynas and version do you use?
Found some more info from my own installation of brutefir.
### brutefir 1.0k on RN ultra 2+ ###
brutefir_1.0k-2_i386.deb
gcc-4.4-base_4.4.5-12_i386.deb
libasound2_1.0.23-2.1_i386.deb
libfftw3-3_3.2.2-1_i386.deb
libjack-jackd2-0_1.9.6~dfsg.1-2_i386.deb
libstdc++6_4.4.5-12_i386.deb
I have set up 4.0beta on my ReadyNas today. Had some trouble getting it working. Turned out that file proprties were wrong so brutefirwrapper wouldn't run. chmod -R 755 on the plugin folder fixed it.
I have two, both x86: My main server is a Pro Pioneer running OS 4.2.23, but I also have an Ultra 2 Plus running 4.2.22 that's currently unused. I have been trying to get BrutefirDRC running on the Pro, but I don't like to do too much trial-and-error experimentation there because, as I said, it is my main server.
Tonight I will install LMS 7.8 on the Ultra and experiment with BrutefirDRC there, where I can safely break things with no consequences.Found some more info from my own installation of brutefir.
### brutefir 1.0k on RN ultra 2+ ###
brutefir_1.0k-2_i386.deb
gcc-4.4-base_4.4.5-12_i386.deb
libasound2_1.0.23-2.1_i386.deb
libfftw3-3_3.2.2-1_i386.deb
libjack-jackd2-0_1.9.6~dfsg.1-2_i386.deb
libstdc++6_4.4.5-12_i386.debWow. None of those version numbers match mine, and none match what is available from apt using the default 4.2.23 sources.list. I will have to download individual packages and install them with dpkg tonight.
I tried 4.2.22 on my Ultra. Had to downgrade to .16 because I experienced the bug where eth0 (and eth1) would stop working. Pity Netgear has stopped development and bugfixing of this OS.
[13-05-23 02:40:18.3781] Slim::Player::Pipeline::sysread (282) Pipeline doesn't have pending bytes - trying to get some from source [13-05-23 02:40:18.3789] Slim::Player::Pipeline::sysread (304) Attempting to write to pipeline writer [13-05-23 02:40:18.3798] Slim::Player::Pipeline::sysread (310) Wrote 32768 bytes to pipeline writer [13-05-23 02:40:18.3806] Slim::Player::Pipeline::sysread (282) Pipeline doesn't have pending bytes - trying to get some from source [13-05-23 02:40:18.3813] Slim::Player::Pipeline::sysread (304) Attempting to write to pipeline writer [13-05-23 02:40:18.3822] Slim::Player::Pipeline::sysread (310) Wrote 32768 bytes to pipeline writer [13-05-23 02:40:18.3828] Slim::Player::Pipeline::sysread (282) Pipeline doesn't have pending bytes - trying to get some from source [13-05-23 02:40:18.3835] Slim::Player::Pipeline::sysread (304) Attempting to write to pipeline writer [13-05-23 02:40:18.3844] Slim::Player::Pipeline::sysread (310) Wrote 32768 bytes to pipeline writer [13-05-23 02:40:18.3851] Slim::Player::Pipeline::sysread (282) Pipeline doesn't have pending bytes - trying to get some from source [13-05-23 02:40:18.3858] Slim::Player::Pipeline::sysread (304) Attempting to write to pipeline writer [13-05-23 02:40:18.3867] Slim::Player::Pipeline::sysread (310) Wrote 32768 bytes to pipeline writer [13-05-23 02:40:18.3874] Slim::Player::Pipeline::sysread (282) Pipeline doesn't have pending bytes - trying to get some from source [13-05-23 02:40:18.3881] Slim::Player::Pipeline::sysread (304) Attempting to write to pipeline writer [13-05-23 02:40:18.3889] Slim::Player::Pipeline::sysread (310) Wrote 32768 bytes to pipeline writer [13-05-23 02:40:18.3896] Slim::Player::Pipeline::sysread (282) Pipeline doesn't have pending bytes - trying to get some from source [13-05-23 02:40:18.3903] Slim::Player::Pipeline::sysread (304) Attempting to write to pipeline writer [13-05-23 02:40:18.3911] Slim::Player::Pipeline::sysread (310) Wrote 32768 bytes to pipeline writer [13-05-23 02:40:18.3918] Slim::Player::Pipeline::sysread (282) Pipeline doesn't have pending bytes - trying to get some from source [13-05-23 02:40:18.3925] Slim::Player::Pipeline::sysread (304) Attempting to write to pipeline writer [13-05-23 02:40:18.3932] Slim::Player::Pipeline::sysread (310) Wrote 32768 bytes to pipeline writer [13-05-23 02:40:18.3939] Slim::Player::Pipeline::sysread (282) Pipeline doesn't have pending bytes - trying to get some from source [13-05-23 02:40:18.3946] Slim::Player::Pipeline::sysread (304) Attempting to write to pipeline writer [13-05-23 02:40:18.3956] Slim::Player::Pipeline::sysread (310) Wrote 32768 bytes to pipeline writer [13-05-23 02:40:18.3966] Slim::Player::Pipeline::sysread (282) Pipeline doesn't have pending bytes - trying to get some from source [13-05-23 02:40:18.3978] Slim::Player::Pipeline::sysread (304) Attempting to write to pipeline writer [13-05-23 02:40:18.3989] Slim::Player::Source::_readNextChunk (347) readlen undef: (Broken pipe) 32 [13-05-23 02:40:18.3996] Slim::Player::Source::_readNextChunk (374) end of file or error on socket, song pos: 0 [13-05-23 02:40:18.4003] Slim::Player::Source::_readNextChunk (379) 00:04:20:06:b2:c2 mark end of stream [13-05-23 02:40:18.4010] Slim::Player::Source::_readNextChunk (387) Didn't stream any bytes for this song; mark it as failed [13-05-23 02:40:18.4017] Slim::Player::StreamingController::playerStreamingFailed (2345) 00:04:20:06:b2:c2 [13-05-23 02:40:18.4028] Slim::Player::StreamingController::_playersMessage (789) Problem: Can't open file for:: file:///media/music/Music/Various%20Artists/Rewind!%204/03%20Word%20Up.flac [13-05-23 02:40:18.4079] Slim::Player::StreamingController::_eventAction (271) 00:04:20:06:b2:c2: StreamingFailed in BUFFERING-STREAMING -> Slim::Player::StreamingController::_StopNextIfMore [13-05-23 02:40:18.4086] Slim::Player::StreamingController::_eventAction (284) params: errorDisconnect => undef [13-05-23 02:40:18.4102] Slim::Player::StreamingController::_Stop (603) Song queue is now 0 [13-05-23 02:40:18.4111] Slim::Player::SongStreamController::DESTROY (44) DESTROY(Slim::Player::SongStreamController=HASH(0xa7eb138)) live=0 [13-05-23 02:40:18.4118] Slim::Player::StreamingController::_setPlayingState (2474) new playing state STOPPED [13-05-23 02:40:18.4125] Slim::Player::StreamingController::_setStreamingState (2487) new streaming state IDLE [13-05-23 02:40:18.4135] Slim::Player::StreamingController::_willRetry (1458) no retry data [13-05-23 02:40:18.4146] Slim::Player::StreamingController::nextsong (877) The next song is number 0, was 0 [13-05-23 02:40:18.4153] Slim::Player::StreamingController::_eventAction (303) 00:04:20:06:b2:c2: StreamingFailed - new state STOPPED-IDLE
Olav and Klaas:
Thank you. I think your advice regarding permissions and ownership is all I need to solve the problem.
My work has unfortunately taken precedence over my music this week, so I have not been able to proceed further with BrutefirDRC. I hope to have time to work on my installation again this weekend, and I will post the results here.
I still do not quite understand which user 201 is. I do not have 201 anywhere on my box. Try changing ownership to root:root for the plugin files, in particular brutefirwrapper. Then create the missing folder /var/log/squeezeboxserver/ . If you look in brutefirwrapper it wants to write a log file here, but I guess only root can do that. Also, the /tmp/.BrutefirDrc-0/ is created by brutefirwrapper on first run IF it has rights to do it. If not, brutefirwrapper will simply exitAs LMS is working when BrutefirDRC is disabled you are very close to a working BrutefirDRC now!
By the way the user "201" could this be the user "squeezeboxserver"? At least at my box (ubuntu) all files must be owned by squeezeboxserver or at least be read and writeable for the squeezeboxuser. The installation package created the user automatically on my box.If the files are changed to user "root" the server process is running as root. Make sure that you always run as the same user, if the files are owned by root and the server is run as different user you will get permission problems.
new release on sourceforge. It is the same file as posted here. Version is 4.1.beta, I guess there are still some problems so I keep the beta state :)
1. Diffing the 4.1 template files against 4.0 shows that all but one (flac-loudness, if I recall correctly) have been modified for different/better resampling. Was the unchanged file left alone deliberately, or was that an oversight?
2. With 4.1, sometimes the last few seconds of a track sound odd. I think it only happens when the volume is changed during playback of the track; could it be that the last few seconds are playing at the original volume, and might this be related to the new tail processing you have been working on? I saw the tail-processing discussion but I am afraid I did not really pay attention to exactly what was being changed.
3. With 4.0 (I have not checked since installing 4.1), my server log shows errors as Plugin.pm tries to execute calculateReplayGain. Is this a common problem with a known solution? If not, I will get the exact error message later today and post it here.
4. I cannot seek within a track while BrutefirDRC is active. If I try to seek 20 seconds into the track, for example, the web GUI places the marker on the track progress bar properly, but the track actually starts playing from the beginning (T=0). With BrutefirDRC disabled, I can seek to that point and the track will start to play from T=20, as expected. My files are all FLAC (nearly all 16/44.1), if that makes a difference.
The ReadyNAS installation guide is turning out to be more involved than I thought it would be. It is a good thing that I have a spare box to experiment on; I am discovering/remembering that I had to do a lot to get my main box to its current state (for example, by default the ReadyNAS does not even have bzip installed). I am having fun documenting the process, however, even though it is a little bit tedious.