Re: [SlimDevices: Unix] Script/ app to rename folders, please...
I think EasyTag has a file/directory rename feature that can use tags... I'd advice a backup before trying though, whatever software you use. audiomuze;483764 Wrote: The perfectionist in me also wants to see data consistently represented. Perfectionism is a disease when you work with computers, if you ask me... It's totally possible to keep your bookshelf in order (by color, size, author, or whatever) but a computer, or data to be more exact, just has too many moving parts and too many variables: perfect really becomes the enemy of good. I think the only doable way to keep your data in order is to have all your 1s in a row at the beginning of your disk and all your 0s after that. It's not only neat and perfect but it also compresses well. -- jku jku's Profile: http://forums.slimdevices.com/member.php?userid=8144 View this thread: http://forums.slimdevices.com/showthread.php?t=71210 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Centos startup error squeezeboxserver 7.4.1
weaselchops;479261 Wrote: I have seen this question asked many timesbut still no answers!! A good option in that case is to file a bug, and someone seems to have done that only four days ago: https://bugs.slimdevices.com/show_bug.cgi?id=14939 You should add your system information in the bug (the report is for opensuse), and maybe also output from starting sbs with options ---d_startup --debug server=debug-. -- jku jku's Profile: http://forums.slimdevices.com/member.php?userid=8144 View this thread: http://forums.slimdevices.com/showthread.php?t=70596 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
[SlimDevices: Unix] Spotify hack
This may be common knowledge already but I thought I'd share... I've got a fairly nicely working (but ugly) hack where I run Spotify on my laptop, stream the output to Squeezecenter on my media server and then play via Squeezebox. Parts needed on the laptop: - Spotify running on wine - Icecast 2 (configured so your Squeezecenter can access the stream) - Pulseaudio - GStreamer Here is the script that runs from the Spotify stream menu item: Code: #!/bin/sh PA_SINK=spotify ICECAST_PASSWORD=XXX ICECAST_MOUNT=spotify.ogg BIT_RATE=16 # free spotify is 160k, no need to go higher? # start a null sink that spotify should play to PA_MODULE_ID=$(pactl load-module module-null-sink sink_name=$PA_SINK) # encode spotifys output back to vorbis, send to icecast gst-launch-0.10 pulsesrc device=$PA_SINK.monitor ! \ audioconvert ! \ vorbisenc bitrate=$BIT_RATE ! \ oggmux ! \ shout2send ip=localhost \ port=8000 \ password=$ICECAST_PASSWORD \ mount=$ICECAST_MOUNT PID=$! # start spotify padsp -n Spotify -m spotify-stream \ wine $HOME/.wine/drive_c/Program\ Files/Spotify/spotify.exe # TODO: should do # pactl move-sink-input $PA_STREAM $PA_SINK # but I don't know how to get the $PA_STREAM id for the spotify stream... # WORKAROUND: use pavucontrol to move the playback stream to the Null # sink (this needs to be done only once). # remove the sink, stop encoder pactl unload-module $PA_MODULE_ID kill $PID If that looks horrible, that's because it is. Spotify decodes vorbis, pa pushes it to gstreamer that decodes it to vorbis again and gives it to icecast for streaming to Squeezecenter. At this point you can tune squeezebox to http://laptop-ip:8000/spotify.ogg. As you can imagine all this transcoding and streaming means a significant (~5 sec) latency and uses enough cpu to heat the room... Zero playback problems so far though, so I'm happy with it. As you can see in the comment in the script, there is an additional one-time setup step: When Spotify is playing, move the playback stream to the Null output (arrow button). I'm pretty sure this is a very ass-backwards way of doing this... If you know how to do all this without monitoring a null sink or even just how to get the PA stream id in the script, do reply :) -- jku jku's Profile: http://forums.slimdevices.com/member.php?userid=8144 View this thread: http://forums.slimdevices.com/showthread.php?t=70052 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Problems with Ubuntu 5.10 Breezy Badger
pfarrell;467897 Wrote: Perhaps, but in Ubuntu land, even a year is too old to expect support. I had problems with upgrading a 7.10 to 8.04, and so held off until 8.10 was out and patched. Then I found that you can/could not upgrade from 7.10 to 8.10, you had to do the incremental steps. Made me really grumble. As you've probably found out, with Ubuntu you have three sane choices: * dist-upgrade every six months * use long term support releases and dist-upgrade every 18-24 months * use long term support releases and re-install every 5 years (for server) I don't think these options are unreasonable and they clearly show how your comment doesn't paint the whole picture. I think the options aren't clearly communicated to people installing, though. The original poster was being unreasonable, in my opinion: Ubuntu 5.10 has been unsupported for two and a half years already, we can't expect Logitech to keep supporting stuff that even the OS vendor doesn't. Comparing Ubuntu to XP is not too relevant either since the upgrade solution is so different: Since 5.10 Ubuntu have made 700% more OS releases than Microsoft in the same time... Bottom line: Remember to think about support/upgrade issues when selecting an OS. A single upgrade in 2006 or later would have brought 0xdeadbeef to a Long Term Support release which is still supported on the server for a couple of years by Ubuntu (and which seems to be still supported by Logitech as well). 0xdeadbeef: This is probably too late for you but the original bug is probably this one: https://bugs.slimdevices.com/show_bug.cgi?id=14466 -- jku jku's Profile: http://forums.slimdevices.com/member.php?userid=8144 View this thread: http://forums.slimdevices.com/showthread.php?t=68992 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Problems with Ubuntu 5.10 Breezy Badger
pfarrell;468421 Wrote: But IMHO, you are better off with Debian, which naturally values stability and long term support when you are doing a server. Like I said, I agree with your choice of OS: I'd go with Debian as well if I was building a SBS machine now. Things just seem to work better... Still, saying that Debian somehow naturally values long term support (compared to Ubuntu) is wrong. Debian releases are supported a year after a new stable is released. For Etch this means only three years total, after that you have to upgrade. I've already been using my Ubuntu 6.06 server for three years and intend to keep using it until EOL in 2011 (at least if the bug I linked to gets fixed ;))... -- jku jku's Profile: http://forums.slimdevices.com/member.php?userid=8144 View this thread: http://forums.slimdevices.com/showthread.php?t=68992 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Please fix testing repository
radish;467244 Wrote: By seamless do you mean that preferences were preserved? Or just that an uninstall/install worked correctly? It's not an upgrade in the apt/dpkg meaning. Squeezeboxserver is a new package that conflicts with squeezecenter package. Nothing is preserved. -- jku jku's Profile: http://forums.slimdevices.com/member.php?userid=8144 View this thread: http://forums.slimdevices.com/showthread.php?t=68863 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] 7.4 on Ubuntu 6.06, server dies and restarts continuously.
Same problem here on same ancient platform. I've filed a bug, please vote and add yourself to CC: https://bugs.slimdevices.com/show_bug.cgi?id=14466 My debugging got stumped here: The failing call is $sqlHelperClass-init() but I'm not sure where it leads to... I thought it would be MySQLHelper-init() but that does not seem to be the case. -- jku jku's Profile: http://forums.slimdevices.com/member.php?userid=8144 View this thread: http://forums.slimdevices.com/showthread.php?t=68875 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] iTunes problem with 7.4 and how to downgrade to 7.3 (Ubuntu)
Removing the 7.3 package from the packaging system is indeed weird, especially considering how many people seem to have problems with 7.4 (mine segfaults on startup...). Fortunately the package itself is still available, if not via apt: http://debian.slimdevices.com/pool/main/s/squeezecenter/ -- jku jku's Profile: http://forums.slimdevices.com/member.php?userid=8144 View this thread: http://forums.slimdevices.com/showthread.php?t=68826 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] corrupted double-linked list
thespaugh;244844 Wrote: I've uninstalled (purged) and reinstalled slimserver to no avail. I'm reluctant to uninstall glibc without first receiving guidance...is this the proper course of action? Any help in correcting this would be greatly appreciated. I don't see that helping -- glibc is probably working fine. It's just making some extra checks and noticing that somehow a linked list seems to get corrupt. This can happen because of a hardware fault but also through programmer error -- the latter being more probable. The bug is quite probably not in glibc, but elsewhere. Anything that triggers this message is a serious bug, but for debugging purposes you can bypass it: Code: MALLOC_CHECK_=0 slimserver status -- jku jku's Profile: http://forums.slimdevices.com/member.php?userid=8144 View this thread: http://forums.slimdevices.com/showthread.php?t=40510 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/unix
Re: [SlimDevices: Unix] Updated to 6.5.2 on Ubuntu Feisty (x86), now nothing works!
st2lemans;205384 Wrote: OK, did a clean re-install of Ubuntu and SlimServer, now everything is fine (re-installing SlimServer alone didn't work). Tom Tom, advice for next time: A normal uninstall does not remove configuration files (where your problem probably was), you need to explicitly say if you want to uninstall everything -- in Synaptic the command is Remove completely if I remember correctly. -- jku jku's Profile: http://forums.slimdevices.com/member.php?userid=8144 View this thread: http://forums.slimdevices.com/showthread.php?t=35594 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/unix
Re: [SlimDevices: Unix] Ubuntu broken already - discouraging!
nicketynick;195343 Wrote: ...So I figured a restart was the best idea. The urge may be irresistable, but I advice not to do this on linux. It's usually worth it to troubleshoot the actual issue. Sound like hardware or software failure? I'm guessing hard disk failure too. ps - more more I hope Logitech/SD decide to develop a SS-in-a-box you plug an external drive into Of course, a disk failure would be as bad in that situation (or even worse -- you wouldn't see the error messages). -- jku jku's Profile: http://forums.slimdevices.com/member.php?userid=8144 View this thread: http://forums.slimdevices.com/showthread.php?t=34513 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/unix
Re: [SlimDevices: Unix] Automated CD Ripping
Another vote for abcde. My setup is not fully-automatic (I start the ripping with my VDR remote), but here's my config file. Hope it helps. Code: ACTIONS=cddb,read,encode,tag,move,replaygain,clean INTERACTIVE=n ENCNICE=19 OUTPUTTYPE=flac FLACOPTS=--best EJECTCD=y WAVOUTPUTDIR=/tmp/abcde OUTPUTDIR=/media/data/music/flac OUTPUTFORMAT='${ARTISTFILE}/${ALBUMFILE}/${TRACKNUM}-${TRACKFILE}' VAOUTPUTFORMAT='Various Artists/${ALBUMFILE}/${TRACKNUM}-${ARTISTFILE}-${TRACKFILE}' -- jku jku's Profile: http://forums.slimdevices.com/member.php?userid=8144 View this thread: http://forums.slimdevices.com/showthread.php?t=34351 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/unix
Re: [SlimDevices: Unix] slimserver on ubuntu won't answer to anything but localhost
Check the security settings, Slimserver may be blocking incoming connections -- the default in that case is to allow only localhost, if I recall correctly. -- jku jku's Profile: http://forums.slimdevices.com/member.php?userid=8144 View this thread: http://forums.slimdevices.com/showthread.php?t=32547 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/unix
[SlimDevices: Unix] Re: New to Linux and need advice on selecting Distro
Pale Blue Ego;150097 Wrote: If you do choose Ubuntu, you can use the Automatix script to flesh out your system with a lot more media capabilities. You can, but I don't think you should. At least the previous versions did very ugly hacks that could result in a machine that was later un-upgradeable to the next version of the Operating System. -- jku jku's Profile: http://forums.slimdevices.com/member.php?userid=8144 View this thread: http://forums.slimdevices.com/showthread.php?t=29070 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/unix
[SlimDevices: Unix] Re: Slimserver update question
It seems no-one mentioned this yet, so: There is a slimserver package in Ubuntu (Edgy) repositories, but it's a little older. I suggest adding the slimdevices-repository to /etc/apt/sources.list (if you didn't have it there already), that way you will have the newest stable slimserver (6.5). -- jku jku's Profile: http://forums.slimdevices.com/member.php?userid=8144 View this thread: http://forums.slimdevices.com/showthread.php?t=29102 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/unix
[SlimDevices: Unix] Re: Slimserver update question
tyler_durden;150210 Wrote: Will I get some notification that a new release of Slimserver is available, or will I have to manually grab the new package and install it? Will I have to uninstall the old package before installing the new? Two questions: Are you familiar with Ubuntus package management? If not read up (start from e.g. https://help.ubuntu.com/community/Repositories/Ubuntu) and be amazed by how easy it is to keep everything on your machine updated. Question 2: Did you install by using the slimdevices repository as described in http://wiki.slimdevices.com/index.cgi?DebianPackage? I hope you did, because in that case slimserver is taken care of by the package management system... In which case you won't have to do anything except the normal system updates (which on Desktop systems are pretty automatic) -- jku jku's Profile: http://forums.slimdevices.com/member.php?userid=8144 View this thread: http://forums.slimdevices.com/showthread.php?t=29102 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/unix
[SlimDevices: Unix] Re: How do I shutdown Slimserver manually in Debian
AndyL;149807 Wrote: In Xandros the script is in /etc/init.d/, though there's also a file that links to init.d in /etc/rc0.d/ (not sure what the point of that is...) Scripts in /etc/rcX.d/ are run by init when runlevel X is started. They are usually just symlinks to /etc/init.d so that editing the script changes it for all runlevels. -- jku jku's Profile: http://forums.slimdevices.com/member.php?userid=8144 View this thread: http://forums.slimdevices.com/showthread.php?t=29060 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/unix