PDA

View Full Version : I'm going to open the Realslim can of worms again...



Aaron Zinck
2005-08-29, 14:43
I've been trying to set up a "new" (new to me...old in actuality--it was
given to me by a friend) server these past couple of days but have had fits
getting the Realslim plugin to work. There have been a number of problems
(I've always had a number of problems initially configuring realslim), but
with some fiddling I seem to be able to get everything to work except that
the Rhapsody portion of the plugin (hookanddie.exe) doesn't hook into the
Rhapsody application.

While I can't get this to work on my "new" server, in the past I've managed
to get the setup working on various computers with Win2k SP4 as well as
WinXP SP1. I've never managed to get it working on WinXP SP2 (if anyone out
there has had success with that I'd love to hear about it!). My new setup
follows:

Duron 650
384 MB RAM
integrated NIC
integrated sound
WinXP SP1
Rhapsody v. 2.1

I'm logging in under an account with administrative privileges that's not
called administrator.

and probably not pertinent but I'll list it anyhow:
Squeezebox 1 wired with character-based display

I've tried the setup with both slimserver 5.4 (Dec. 3rd '04 nightly--old, I
know, but it's the version I've had success with on other machines) with
Realslim 0.6 as well as slimserver 6.1 (the latest release version) with the
modified Realslim plugin.pm and altered upnp common.pm file as specified by
gsamsa in this thread (btw, thanks, gsamsa, for doing some work on
Realslim...it's greatly appreciated):
http://forums.slimdevices.com/showthread.php?t=14253&highlight=realslim

Does anyone know if the hook into the Rhapsody app is dependent upon the
sound card in any way? Or perhaps I need to do something with the ports on
this machine...I have no firewalls running of any sort. I'll also mention
that I *do* have UPNP turned on in the rhapsody app. Any help would be
greatly appreciated. This machine has a totally fresh install of XP,
updated to SP1 with nothing on it but rhapsody, realslim, and slimserver. I
have no other 3rd-party plugins installed into slimserver and have only a
handful of mp3 files in a test music directory.

Aaron Zinck
2005-08-29, 19:03
I don't know why I didn't think of this originally but it occurs to me that
I should have posted this in the 3rd party plug-ins forum. Sorry about that
folks! I'll move it there now...

gsamsa
2005-08-29, 22:52
I'm attaching a modified version of HookAndDie.exe. I made some comments a while back about what I modified in the realslim forums on sourceforge. Let me know if it makes any difference.

Aaron Zinck
2005-08-30, 10:54
>
> I'm attaching a modified version of HookAndDie.exe. I made some comments
> a while back about what I modified in the realslim forums on
> sourceforge. Let me know if it makes any difference.
>
>
> +-------------------------------------------------------------------+
> |Filename: HookAndDie.zip |
> |Download: http://forums.slimdevices.com/attachment.php?attachmentid=289|
> +-------------------------------------------------------------------+
>
> --
> gsamsa

Awesome...thanks for your help...I'll try it tonight when I get home from
work.

Aaron Zinck
2005-08-31, 13:55
Thanks for trying, but the file is corrupted--could you perhaps mail it to
my gmail account? My username on gmail is azinck.

BTW, using the hookanddie.exe that comes with realslim 0.6 I have gotten
really close to getting everything to work. I am now running the release
version of slimserver (6.1.1) and the version of plugin.pm that you (gsamsa)
provided most recently on the aforementioned realslim thread as well as a
version of common.pm modified as you suggested on the same thread. If I let
all services start normally on boot and launch rhapsody then hookanddie does
not succeed at hooking into rhapsody. If I, however, leave rhapsody open
and simply stop the realslim service and restart it then I can browse and
search the rhapsody catalog. Attempting to browse my rhapsody library,
however, results in an empty list, and trying to play anything from rhapsody
(after searching the rhapsody catalog) seems to crash or hang the server.
Do you suppose your new version of hookanddie would fix this? I should
mention that I *have* tried reinstalling the realslim rhapsody components
and it hasn't seemed to help anything. Thanks again for your help on this!

gsamsa
2005-08-31, 18:50
If I let
all services start normally on boot and launch rhapsody then hookanddie does
not succeed at hooking into rhapsody. If I, however, leave rhapsody open
and simply stop the realslim service and restart it then I can browse and
search the rhapsody catalog. Attempting to browse my rhapsody library,
however, results in an empty list, and trying to play anything from rhapsody
(after searching the rhapsody catalog) seems to crash or hang the server.
Do you suppose your new version of hookanddie would fix this?

Hmmm. I don't think it's a problem with HookAndDie after all. I've also seen the problem you mention, where restarting slimserver makes things work. I've been meaning to figure that out and fix it, but haven't felt that motivated, though it's a nuisance. I also noted in my last update to the earlier realslim thread that there was an additional bug causing slimserver to crash when trying to play anything -- and I posted yet another version of plugin.pm. Did you see that?

http://forums.slimdevices.com/showthread.php?t=14253&page=2

Unfortunately, I don't think I've seen the problem of the library not being read, and I'm not sure what could be causing it.

Let me know if you have already tried the most up to date plugin file.

Aaron Zinck
2005-09-01, 09:05
>
> Hmmm. I don't think it's a problem with HookAndDie after all. I've also
> seen the problem you mention, where restarting slimserver makes things
> work. I've been meaning to figure that out and fix it, but haven't felt
> that motivated, though it's a nuisance. I also noted in my last update
> to the earlier realslim thread that there was an additional bug causing
> slimserver to crash when trying to play anything -- and I posted yet
> another version of plugin.pm. Did you see that?
>
> http://forums.slimdevices.com/showthread.php?t=14253&page=2
>
> Unfortunately, I don't think I've seen the problem of the library not
> being read, and I'm not sure what could be causing it.
>
> Let me know if you have already tried the most up to date plugin file.
>
>
> --
> gsamsa

After much tinkering last night I have come to agree that it's not a
HookAndDie issue. I should clarify--it's not restarting SlimServer that
improves the issue, it's restarting the RealSlim service. Here's what I've
discovered:

We'll call my computer that I've been using to run SlimServer for the past
12 months computer A. It's an athlon 2800+ running windows XP sp1. I've
successfully configured realslim and slimserver 5.4 on this machine and all
has been wonderful for the past year (pretty much). Computer A's
installation of realslim 0.6 is completely "stock" (doesn't use any of
gsamsa's altered files). My "new" computer is computer B. It is the one
having all the issues and has the specs I've outlined in previous emails. I
know that hookanddie works because I can run rhapsody on computer B (with
the realslim extensions) and my slimserver installation on computer A can
talk to it and use it just fine. However, when I attempt to install
slimserver on computer B (having shut down slimserver on computer A to
ensure no issues) things go awry. I've tried slimserver 5.4 as well as
6.1.1 and both the stock as well as the altered versions of plugin.pm (yes,
the newest version in the thread you mentioned) and common.pm. I've tried
starting and restarting things in every order I can imagine. I've installed
and reinstalled in every order I can imagine. My most common result is that
slimserver will start and hang after partially starting (I can start to pull
up the web page but then as the graphics are delivered it just hangs and
never recovers). Sometimes the server won't start at all. The closest I've
gotten was what I described in my post 2 days ago when I could browse and
search the rhapsody catalog, though it would not let me see "my library" nor
would it play anything from rhapsody (the server crashed immediately).

I understand if you're not able to troubleshoot this any further. I realize
that it's likely a rather complex issue. I just wanted to get the details
of what I've been dealing with out there so that there's as much information
as possible available whenever someone decides they want to really fix up
the realslim plugin.

I appreciate any help anyone can offer.

gsamsa
2005-09-01, 15:36
Ah...I forgot all about the RealSlim service, because it never worked for me. I basically run HookAndDie manually after starting Rhapsody manually...kind of a nuisance, but that's basically all RealSlim does, AFAIK.

I've SlimServer hang running RealSlim before because of a UPnP issue that I fixed by manually setting IP address in common.pm. If you've done this, make sure you've set the correct IP address for your new computer rather than just copying the file over. (This might be obvious, but I thought I'd mention it anyway).

When you find it crashing, try running the windows event viewer ("eventvwr" from the Run dialog box). Look at the Application messages, and see if there are any errors from slim.exe. If so, that might help debug the crashes.

Aaron Zinck
2005-09-02, 07:35
> I've SlimServer hang running RealSlim before because of a UPnP issue
> that I fixed by manually setting IP address in common.pm. If you've
> done this, make sure you've set the correct IP address for your new
> computer rather than just copying the file over. (This might be
> obvious, but I thought I'd mention it anyway).

Yeah...thanks for double-checking on this but I've done this.

> When you find it crashing, try running the windows event viewer
> ("eventvwr" from the Run dialog box). Look at the Application messages,
> and see if there are any errors from slim.exe. If so, that might help
> debug the crashes.

good suggestion...I'll be gone for the holiday weekend but I'll look into it
some more when I return.