PDA

View Full Version : 6.2.0 + iTunes + XP = No Work



dspeirs
2005-11-16, 21:16
My expeience has been that the new version 6.2.0 does not function well with iTunes. The only time I can get Slimserver not to crap-out* is to disable the iTunes plugin (rendering iTunes option useless) or change the rescan interval to 0 disabling it (I tried it at 500,000 but there still was a problem.

My definition of crap-out is when I play a song it plays for about 5 seconds, stops for 10 seconds and then plays for 5 seconds - throughout the entire song. I posted my problem last week and instead of getting any solutions (other than disabling it) people confirmed they were having problems with iTunes/XP/6.2.0.

So, is my algebra wrong or is everyone else having the same results?

Dan

kdf
2005-11-16, 21:25
6.2.1 is official release now, so you have that option.
You can set the iTunes rescan interval to a larger number (3600 or so),
which will help especially if you have iTunes running at the time.

-k

dspeirs
2005-11-16, 21:50
I had the rescan interval at 500,000 and it wasn't working. I'll stop my whinning anddownload 6.2.1 and see if that helps things out.

Dan

kdf
2005-11-16, 22:04
On 16-Nov-05, at 8:50 PM, dspeirs wrote:

>
> I had the rescan interval at 500,000 and it wasn't working. I'll stop
> my whinning anddownload 6.2.1 and see if that helps things out.
>
oh. then I'm confused as to what could possibly stall the system with
itunes enabled. Once the library (xml file) is scanned in, the plugin
is effectively idle save for a small routine that keeps an eye on the
timestamp of the library. Are you using the itunes updater? that can
stall on song transitions if it is trying to access iTunes without
proper permissions (for example, if slimserver is running as a
service).

Hope 6.2.1 will shed some light.
-kdf

dspeirs
2005-11-16, 22:20
KDF, I do not have any plugins (other than the standard ones) installd (no itunes updater).

6.2.1 still stalls. I counted and found it works for 19 seconds and then is off for 19 seconds. This is with itunes having a 50,000 reload interval.

I changed it to 0 scan interval, restarted the computer and now it works perfectly. again, I have the itunes interval reload at 0.

What gives?

Dan

kdf
2005-11-16, 22:45
On 16-Nov-05, at 9:20 PM, dspeirs wrote:

>
> I changed it to 0 scan interval, restarted the computer and now it
> works perfectly. again, I have the itunes interval reload at 0.
>
> What gives?
>

What about leaving at alone for a while, until it completes the first
scan?
I have no idea how long it will take to 50,000 tracks (depends on where
the files are, etc)

Have you ever run the server from a command prompt and just watched
what was going on?
Do you have a large number of long playlists?

If you do watch, you should see that it goes through songs fairly
slowly. This is allowing for the parse to loop, letting other parts of
the server run for a while between each song. If you see it stall the
scan for any very long period, that may be a clue as to what might be
slowing things down. The iTunes XML parsing is done entirely through
reverse engineering. Yes, much can be done with standard xml parsers,
but Apple is not afraid of tossing in a few not-entirely standard
digressions from your garden variety xml.

it would be very useful to track it down. even if you can manage to
match some particular portion of the log to a cpu spike, it may give us
more clues.

-kdf

dspeirs
2005-11-16, 23:17
My library is 10,000 songs and the iTunes reload interval was 50,000 when it didn't work. Let me fool with it tonight and see what I can find out.

Thanks,

Dan

Craig, James (IT)
2005-11-17, 03:14
Dan,
It really sounds like you are not waiting for the initial iTunes scan to
complete.
I'd guess that is going to take at least 30 minutes if all goes well.

With the interval set to 0 there is no initial scan hence no problem
(but no iTunes interaction!)

James
--------------------------------------------------------

NOTICE: If received in error, please destroy and notify sender. Sender does not waive confidentiality or privilege, and use is prohibited.

jhurley
2005-11-17, 06:56
I had similar problems.

My crap-outs were specifically when the rescan process was occurring.

Solution was to manually control the rescan process.

Now I have the rescan interval set to 0 and I kick off manual rescans at regular intervals when I know the server is not being used to stream music.

Channing Moore
2005-12-11, 23:27
I'm reading this forum because I'm really frustrated about the fact that whenever iTunes is running, it triggers library rescans...

Would it be possible to *schedule* library updates for particular time/day? I update my iTunes library infrequently enough that having it check daily would be nice. But what I don't want, is for it to do the scan while I'm using the server: so having it set to update at, say, 4:30 am every day, would be *fine*.

I want to keep iTunes running for two reasons: 1, to have my roommates be able to easily browse my library on iTunes; 2, because I like the 'last played' info updating.

I understand, though, that using iTunes is really a hack, that you're reverse-engineering it. But I'd really like to see this work better...

allanimal
2005-12-11, 23:56
On 12 Dec 2005, at 07:27 , Channing Moore wrote:

>
> I'm reading this forum because I'm really frustrated about the fact
> that
> whenever iTunes is running, it triggers library rescans...
>
> Would it be possible to *schedule* library updates for particular
> time/day? I update my iTunes library infrequently enough that
> having it
> check daily would be nice. But what I don't want, is for it to do the
> scan while I'm using the server: so having it set to update at, say,
> 4:30 am every day, would be *fine*.
>
> I want to keep iTunes running for two reasons: 1, to have my roommates
> be able to easily browse my library on iTunes; 2, because I like the
> 'last played' info updating.
>
> I understand, though, that using iTunes is really a hack, that you're
> reverse-engineering it. But I'd really like to see this work better...
>

It actually works great, but I think the default settings are out of
whack. I would guess that 90% of iTunes problems are due to this.

You have 2 choices to schedule your rescan: Fixed time or time interval

Time Interval: Go to the server settings, select iTunes and the first
choice is to select an interval, in seconds, for the rescan to happen.

Fixed time: Do the above, but set the number to 0. Then go to the
Plugins window of the server settings and look in the Rescan Music
Library section. Turn the rescan timer on and set the rescan time to
something appropriate. I chose 4:00 am, a time when I know nobody
will be using the system for the 1/2 hour or so that the rescan takes.

Not exactly intuitive, and not well explained in the settings info.
But it works.

And, to make things even more useful, grab the iTunes Update plugin,
so that your play counts and times are kept in sync when you play
them via slimserver. It also lets you adjust ratings & playlists in
itunes as well.

Allan