Re: [SlimDevices: Unix] BrutefirDRC version 1.1.1 for Squeezeboxcenter 7.4.0 released
In the brutefirwrapper it appears that you made a typo. You have squeezeboxcenter everywhere instead of squeezeboxserver. The fix did cure my BITRATE issue. I will check out resampling if I get a chance. -- mamsterla mamsterla's Profile: http://forums.slimdevices.com/member.php?userid=469 View this thread: http://forums.slimdevices.com/showthread.php?t=69181 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] BrutefirDRC version 1.1.1 for Squeezeboxcenter 7.4.0 released
I am the guy causing Klaas all this extra work. Sorry about that. I have been finding a couple of minor issues with hard coded paths and a few minor things in the Perl API. I stumbled upon the BITRATE issue (where the brutefirwrapper chokes because BITRATE was not defined for FLAC). I will try the 1.1.2 release tonight. Currently I only have 3 non 44.1KHz FLAC files, but I think there are a few sites that have high bitrate FLAC samples to try. On a separate note, I am running this on older 2.8GHz Xeon processors with Centos 5.x and I notice that as the brutefir processes are started, my CPU gets pegged to 100% and I hear the music stutter. Anyone else have this issue? -- mamsterla mamsterla's Profile: http://forums.slimdevices.com/member.php?userid=469 View this thread: http://forums.slimdevices.com/showthread.php?t=69181 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Use Brutefir for DRC Plugin (7.0+)
I decided that the cleanest thing to do would be to wipe out my confused installation. I think it had been upgraded a few times in place. This was on a Centos 5.2 box. So I rpm -e squeezecenter. I went in into /var/lib/squeezecenter, /etc/squeezecenter and /usr/share/squeezecenter and cleared them all out. I did the clean install of SqueezeCenter-7.2.1 and BrutefirDrc. And from there the stuff worked. What I realized was the problem, was that I changed the location of custom-convert.conf. I did not realize the SqueezeCenter REQUIRES that it be in the same directory as convert.conf. By default on Linux for the RPM, this is in /etc/squeezecenter as Klaas has set. The rest of the install went well and I have some nice results from my brutefir 3.0.1 with flat target. I will try generating a bunch more and listening to them (and driving my wife nuts) over the next couple of nights. As a note, I also made 2 edits to the tempate-custom-convert.conf 1. Changed the sox instance on the first line to [sox] 2. Edited the parameters to change -w to -2 as per sox documentation Thanks for such a nice contribution. It seems to take a lot less CPU than InguzEQ did. -- mamsterla mamsterla's Profile: http://forums.slimdevices.com/member.php?userid=469 View this thread: http://forums.slimdevices.com/showthread.php?t=45347 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/unix
Re: [SlimDevices: Unix] Use Brutefir for DRC Plugin (7.0+)
I was able to edit the install and change the version from 7.0+ to 7.2+ but I cannot get the plugin to run. I see that the custom-convert.conf is built (the first few lines are at the end of this post). I did not see the file types added under the advanced menu. When I run on my enabled unit, I can see the server.log get entries: [08-12-16 23:18:24.4228] Plugins::BrutefirDrc::Plugin::getClientConversionConfig (798) mac: 00:04:20:05:a7:d2, type: FLAC, version: 1 [08-12-16 23:18:24.4247] Plugins::BrutefirDrc::Plugin::getDrcStatus (764) Status for client: 00:04:20:05:a7:d2 is=1 [08-12-16 23:18:24.4289] Plugins::BrutefirDrc::Plugin::getClientConversionConfig (798) mac: 00:04:20:05:a7:d2, type: FLAC, version: 1 [08-12-16 23:18:24.4306] Plugins::BrutefirDrc::Plugin::getDrcStatus (764) Status for client: 00:04:20:05:a7:d2 is=1 [08-12-16 23:18:26.0888] Plugins::BrutefirDrc::Plugin::getClientConversionConfig (798) mac: 00:04:20:05:a7:d2, type: FLAC, version: 1 [08-12-16 23:18:26.0906] Plugins::BrutefirDrc::Plugin::getDrcStatus (764) Status for client: 00:04:20:05:a7:d2 is=1 [08-12-16 23:55:54.0216] Plugins::BrutefirDrc::Settings::myDebug (38) Brutefir DRC: in handler I do not see the brutefir process running and I do not see any special file types in the SqueezeCenter Advanced - File Types screen. Attached find the top of my custom-convert.conf # START client config for Brutefir DRC Clients-MAC address: 00:04:20:05:a7:d2 FLAC 1 # Use sox rather than lame here, so that the input stream can be resampled to 44100Hz if necessary. # This allows internet radio streams to work, because it avoids the need to know $RATE$. mp3 flc * 00:04:20:05:a7:d2 sox -t mp3 $FILE$ -t raw -r 44100 -c 2 -2 -s - | /usr/share/squeezecenter/Plugins/BrutefirDrc/brutefirwrapper 00:04:20:05:a7:d2 /usr/share/BrutefirDRC/settings/filter-00_04_20_05_a7_d2 44100 | [flac] -cs -0 --totally-silent --endian=little --sign=signed --channels=2 --bps=24 --sample-rate=44100 - flc flc * 00:04:20:05:a7:d2 [flac] -dcs --force-raw-format --endian=little --sign=signed --skip=$START$ --until=$END$ -- $FILE$ | /usr/share/squeezecenter/Plugins/BrutefirDrc/brutefirwrapper 00:04:20:05:a7:d2 /usr/share/BrutefirDRC/settings/filter-00_04_20_05_a7_d2 $RATE$ | [flac] -cs -0 --totally-silent --endian=little --sign=signed --channels=2 --bps=24 --sample-rate=$RATE$ - -- mamsterla mamsterla's Profile: http://forums.slimdevices.com/member.php?userid=469 View this thread: http://forums.slimdevices.com/showthread.php?t=45347 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/unix
Re: [SlimDevices: Unix] Use Brutefir for DRC Plugin (7.0+)
bpa;371885 Wrote: The application should be in square brackets so that SC can find the executable. So you should have [sox] -t and not sox -t Also /usr/share/squeezecenter/Plugins/BrutefirDrc/brutefirwrapper should be [brutefirwrapper] and the file brutefirwrapper should be in the SC Bin or a Plugin Bin directory. I can try changing these around to see if they make a difference. Nothing is logging an error, and it does not explain why the x-flac types are not showing up on the types list. BTW, sox as of 14.0 has removed the -w parameter and has replaced it with -2 -- mamsterla mamsterla's Profile: http://forums.slimdevices.com/member.php?userid=469 View this thread: http://forums.slimdevices.com/showthread.php?t=45347 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/unix
Re: [SlimDevices: Unix] Use Brutefir for DRC Plugin (7.0+)
Klaas;372064 Wrote: I guess that this will not help, the plugin is working with this generated file for others. Could you try two things: Use the command from custom-convert.conf, replace the variables with a test song and check if the command is working (it prints binary stuff to the console window). If this works all software is correct. It looks like the custom-convert.conf is not loaded by SqueezeCenter for some reason. You could try to replace squeezecenters convert.conf with the generated output from custom-convert.conf. Restart SqueezeCenter and check if the file types appear. If the file types are there find the location where you have to put the custom-convert.conf file for your OS. I am using Ubuntu so it could be an issue with different OS. Good to know, difficult to be compatible with the different releases. We had problems with 12.x to 13.x now to 14.x. I have tested the flc flc mapping binary and it did work (I removed the start and end and used 44100 for the rate and I saw a bountiful amount of binary data spew forth on the screen. I will experiment with the custom-convert.conf file (I am running Centos 5.2 Linux distro). I will also edit the template and fix the calls to sox there too. -- mamsterla mamsterla's Profile: http://forums.slimdevices.com/member.php?userid=469 View this thread: http://forums.slimdevices.com/showthread.php?t=45347 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/unix