Re: [SlimDevices: Unix] Run Slim Center in Ubuntu

2008-03-22 Thread SuperQ

Yup, the slim people do a great job making the Ubuntu package work out
of the box.


-- 
SuperQ

SuperQ's Profile: http://forums.slimdevices.com/member.php?userid=2139
View this thread: http://forums.slimdevices.com/showthread.php?t=45128

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/unix


[SlimDevices: Unix] Squeezecenter upgrade woes

2008-03-22 Thread dazwin

To the Slimdevices guys,

I am now affected by two bugs
(http://bugs.slimdevices.com/show_bug.cgi?id=7195 and
http://bugs.slimdevices.com/show_bug.cgi?id=7580). In and of
themselves, these bugs won't impact the majority of users, and probably
aren't even down to programming errors in squeezecenter/slimserver
itself. Nevertheless, it's the kind of thing that should never have
happened and, from looking at previous forum posts, I believe the cause
of my woes is the same for many users.

I am a developer, and enjoy playing around with new software, but only
in my office, and not my living room (or bedroom), where I was quite
happy running Slimserver 6.5.4 on Ubuntu 6.04 LTS amd64 until
recently.

I'm forced to upgrade because Pandora no longer works (firmware
upgrade/downgrade cycle), and I cannot upgrade to Squeezecenter because
of bug #7195. Installing a temporary (beta) solution until Ubuntu gets
released at the end of April was my 2am fallback, and now even that
alludes me. Forced upgrades leave a bitter taste in anyones mouth, and
looking at some old forum posts, this seems to be a recurring issue.
For me, I guess the only current solution is to upgrade to an
intermediate OS, and again when I can download something that will last
me a while.

I can and will help you fix these to the extent that my
wife/kid/otherwise allows me (I love my Squeezeboxes!). But my music is
even more sacred and I don't think it's unreasonable to want things to
remain stable and just work. This means retaining a level of backwards
compatibly and a cut-over period in which users may evaluate new
upgrades (if they are to be forced at all) - the kind of things that
the customers of our industry should learn to expect.

Can this be made better?


-- 
dazwin

dazwin's Profile: http://forums.slimdevices.com/member.php?userid=15410
View this thread: http://forums.slimdevices.com/showthread.php?t=45133

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/unix


[SlimDevices: Unix] Squeezecenter configuration file

2008-03-22 Thread remd

The configuration file for Squeezecenter used to be in the usual /etc/
directory and it now seems to be in the /var/lib/ directory. 
Any particular reason for this change ?


-- 
remd

remd's Profile: http://forums.slimdevices.com/member.php?userid=14098
View this thread: http://forums.slimdevices.com/showthread.php?t=45135

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/unix


Re: [SlimDevices: Unix] SlimServer and .ac3 files

2008-03-22 Thread rumpel

Hello everybody,

I have now found time to update my Slimserver to Squeezecenter. After
the update, all conversions of the standard files like APE, MPC, AAC
work fine again. Conversion of ac3 does not work yet, however. This is
the output when I use mplayer with the "-v" option to play the file as
suggested. As you can see, I have aborted playback after a few seconds
by pressing Crtl+C:



D:\Musiq>c:\programme\mplayer\mplayer -v -af resample=44100:0:1 -ao
win32 test.a
c3
MPlayer 1.0pre8-3.4.2 (C) 2000-2006 MPlayer Team
CPU: AMD Athlon(tm) 64 Processor 3200+ (Family: 15, Model: 4, Stepping:
10)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled with runtime CPU detection.

get_path('codecs.conf') -> 'c:/programme/mplayer/mplayer/codecs.conf'
Reading c:/programme/mplayer/mplayer/codecs.conf: Can't open
'c:/programme/mplay
er/mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open
'/usr/local/etc/mplayer/c
odecs.conf': No such file or directory
Using built-in default codecs.conf.
CommandLine: '-v' '-af' 'resample=44100:0:1' '-ao' 'win32' 'test.ac3'
init_freetype
get_path('font/font.desc') ->
'c:/programme/mplayer/mplayer/font/font.desc'
font: can't open file: c:/programme/mplayer/mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using Windows native timing
get_path('input.conf') -> 'c:/programme/mplayer/mplayer/input.conf'
Can't open input config file c:/programme/mplayer/mplayer/input.conf:
No such fi
le or directory
Can't open input config file /usr/local/etc/mplayer/input.conf: No such
file or
directory
Falling back on default (hardcoded) input config
get_path('test.ac3.conf') ->
'c:/programme/mplayer/mplayer/test.ac3.conf'

Playing test.ac3.
get_path('sub/') -> 'c:/programme/mplayer/mplayer/sub/'
WINSOCK2 init: 0
[file] File size is 5331352 bytes
STREAM: [file] test.ac3
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for NuppelVideo
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename test.ac3 ext: .ac3
Trying demuxer 35 based on filename extension
LAVF_check: raw ac3
libavformat file format detected.
==> Found audio stream: 0
=== WAVE Format ===
Format Tag: 8192 (0x2000)
Channels: 2
Samplerate: 48000
avg byte/sec: 32000
Block align: 0
bits/sample: 0
cbSize: 0
==
LAVF: 1 audio and 0 video streams found
LAVF: build 3277824
==
Opening audio decoder: [liba52] AC3 decoding with liba52
dec_audio: Allocating 3840 bytes for input buffer.
dec_audio: Allocating 6144 + 65536 = 71680 bytes for output buffer.
Using 3DNowEx optimized IMDCT transform
AC3: 2.0 (stereo)  48000 Hz  256.0 kbit/s
A52 flags before a52_frame: 0x2A
A52 flags after a52_frame: 0x2
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 256.0 kbit/16.67% (ratio: 32000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==
Building audio filter chain for 48000Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter resample
[resample] Changing sample rate to 44100Hz
[resample] Using integer processing and exact frequecy conversion.
[resample] New filter designed up: 147 down: 160
[resample] Using integer processing and exact frequecy conversion.
ao_win32: Samplerate:44100Hz Channels:2 Format:s16le
ao_win32: Buffersize:4096
AO: [win32] 44100Hz 2ch s16le (2 bytes per sample)
AO: Description: Windows waveOut audio output
AO: Author: Sascha Sommer <[EMAIL PROTECTED]>
Building audio filter chain for 48000Hz/2ch/s16le ->
44100Hz/2ch/s16le...
[resample] Using integer processing and exact frequecy conversion.
[resample] Using integer processing and exact frequecy conversion.
Video: no video
Freeing 0 unused video chunks.
Starting playback...
[libaf] Reallocating memory in module resample, old len = 0, new len =
60212
MPlayer interrupted by signal 2 in module: play_audio
Uninit audio filters...
[libaf] Removing filter resample
Uninit audio: liba52
WINSOCK2 uninit
waveOut device closed
buffer memory freed



I have also taken a look at the squeezecenter logs. The interesting
lines I get when I try to play an ac3 file are these:



[08-03-22 11:17:40.9557] Slim::Player::Source::openSong (1897) This is
an ac3 file: file:///D:/Musiq/test.ac3
[08-03-22 11:17:40.9560] Slim::Player::Source::openSong (1898)   file
type: ac3 format: wav inrate: 0 maxRate: 0
[08-03-22 11:17:40.9563] Slim::Player::Source::openSong (1899)  
command: [mplayer] -really-quiet -af resample=44100:0:1 -ao
pcm:nowaveheader:file=#

Re: [SlimDevices: Unix] Freebsd samba

2008-03-22 Thread thevoiceofalan

Hi, yes using http I get a 404 and looking at the ports that are
listening with netstat I get nothing on port 9000 as well.


-- 
thevoiceofalan

thevoiceofalan's Profile: http://forums.slimdevices.com/member.php?userid=11393
View this thread: http://forums.slimdevices.com/showthread.php?t=45097

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/unix


Re: [SlimDevices: Unix] Mutlicore CPUs for Ubuntu & SqueezeCenter Server

2008-03-22 Thread musikmonger

You guys do realize that slimserver really doesn't require
very much horsepower?  I'm running v6.5.4 on an ancient Pentium
II 450MHz (Red Hat Enterprise Linux 4) with perfectly good performance.


-- 
musikmonger

musikmonger's Profile: http://forums.slimdevices.com/member.php?userid=16247
View this thread: http://forums.slimdevices.com/showthread.php?t=44810

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/unix


Re: [SlimDevices: Unix] Mutlicore CPUs for Ubuntu & SqueezeCenter Server

2008-03-22 Thread Pat Farrell
musikmonger wrote:
> You guys do realize that slimserver really doesn't require
> very much horsepower?  I'm running v6.5.4 on an ancient Pentium
> II 450MHz (Red Hat Enterprise Linux 4) with perfectly good performance.

I sure realize it. I ran for years on a P-III 500 and even now, its on 
an AMD with something like 2800+

I do think it needs more power than most low end NAS boxes, but any old 
left over PC will do.


-- 
Pat Farrell
http://www.pfarrell.com/

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/unix


Re: [SlimDevices: Unix] Squeezecenter configuration file

2008-03-22 Thread Fletch

FHS compatibility.  The prefs file isn't really a static configuration
file edited by the user and read by the application.   It is more
accurately a file containing variable state data written out by the
application.  That type of data belongs in /var/lib. 

The RPM and deb provide a symlink in /etc/squeezecenter to make it easy
to find for people used to the old behavior.


-- 
Fletch

Fletch's Profile: http://forums.slimdevices.com/member.php?userid=529
View this thread: http://forums.slimdevices.com/showthread.php?t=45135

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/unix


Re: [SlimDevices: Unix] Squeezecenter upgrade woes

2008-03-22 Thread SuperQ

Sorry, I don't have a 6.06 (dapper) amd64 install, but I tested bug 7195
on my 7.04 (feisty) amd64 machine.  I did not get a segfault on my amd64
machine.


-- 
SuperQ

SuperQ's Profile: http://forums.slimdevices.com/member.php?userid=2139
View this thread: http://forums.slimdevices.com/showthread.php?t=45133

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/unix


Re: [SlimDevices: Unix] Squeezecenter upgrade woes

2008-03-22 Thread SuperQ

I posted a fix for bug 7580.  It has to do with the new AppArmor
restrictions.

Adding a few lines to /etc/apparmor.d/usr.sbin.mysqld should fix it.


Code:


  --- usr.sbin.mysqld.orig   2008-03-22 10:13:33.0 -0700
  +++ usr.sbin.mysqld2008-03-22 10:13:51.0 -0700
  @@ -30,4 +30,12 @@
  /var/log/mysql/* rw,
  /var/run/mysqld/mysqld.pid w,
  /var/run/mysqld/mysqld.sock w,
  +  /var/lib/squeezecenter/cache/ r,
  +  /var/lib/squeezecenter/cache/my.cnf r,
  +  /var/lib/squeezecenter/cache/mysql.startup rw,
  +  /var/lib/squeezecenter/cache/mysql-error-log.txt rw,
  +  /var/lib/squeezecenter/cache/squeezecenter-mysql.pid w,
  +  /var/lib/squeezecenter/cache/squeezecenter-mysql.sock w,
  +  /var/lib/squeezecenter/cache/MySQL/ r,
  +  /var/lib/squeezecenter/cache/MySQL/** rwk,
  }
  



-- 
SuperQ

SuperQ's Profile: http://forums.slimdevices.com/member.php?userid=2139
View this thread: http://forums.slimdevices.com/showthread.php?t=45133

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/unix


Re: [SlimDevices: Unix] Mutlicore CPUs for Ubuntu & SqueezeCenter Server

2008-03-22 Thread EvilTed

I built my own home NAS (3TB with hardware RAID controller) and built it
on a Dell Server platform with a quad core Zeon.
There is another free slot for another processor which I may fill one
of these days.
OS is 64-Bit Ubuntu server and it re-scans my music collection like a
bullet :)

I run my Perforce SCM server on this system and manage my other media,
so it's was worthwhile building my own.

All the commercial home NAS devices on the market are underpowered crap
(I work for the company that invented NAS).

This NAS achieves RAID 5 writes of 90MB/s, even from Vista.

The best commercial home NAS on the market, the Thecus, gets about
20MB/s on  a good day!

ET


-- 
EvilTed

EvilTed's Profile: http://forums.slimdevices.com/member.php?userid=11696
View this thread: http://forums.slimdevices.com/showthread.php?t=44810

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/unix


Re: [SlimDevices: Unix] Squeezecenter upgrade woes

2008-03-22 Thread slimpy

To prevent the constant up- and downgrade when switching between
Squeezenetwork and Slimserver 6.5.4 you can replace the Firmware
directory with the Firmware dir from 7.0

As an alternative (assuming you have either SB2 or SB3s) you can
download the file squeezebox2_86.bin from
http://update.slimdevices.com/update/firmware/7.0/, save it in the
Firmware directory of your SS 6.5.4 installation and change the file
squeezebox2.version in the same dir to look like this:

Code:

# Squeezebox2 firmware
  
  # fromto
  # from1..from2 to
  
  1..86 86
  
  # future versions may be downgraded to this one
  * 86
  
  



-s.


-- 
slimpy

slimpy's Profile: http://forums.slimdevices.com/member.php?userid=1524
View this thread: http://forums.slimdevices.com/showthread.php?t=45133

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/unix