PDA

View Full Version : iTunes Update Plugin Crashing slim.exe



Craig, James (IT)
2005-01-17, 03:05
Hi Jon,
It seems from the errors that the OLE connection to iTunes is not in
fact successful.
The line
iTunesUpdate: OLE connection established to iTunes:
Should be followed by the iTunes version number - hence the undefined
value warning.
The second error occurs when the plugin attempts to actually use the
iTunes connection.

Are you running SlimServer as a service?
Does iTunes start running when the plugin tries to connect to it?

(I haven't tested the plugin on Win2000 and I don't know if anyone else
is using it on this platform.)

James

-----Original Message-----
From: discuss-bounces (AT) lists (DOT) slimdevices.com
[mailto:discuss-bounces (AT) lists (DOT) slimdevices.com] On Behalf Of Jon Pecot
Sent: 15 January 2005 20:56
To: discuss (AT) lists (DOT) slimdevices.com
Subject: [slim] iTunes Update Plugin Crashing slim.exe

Hi,

I've installed the iTunes update plugin in direct
mode, and every time it needs to update iTunes
(basically, after any song is played), it causes
slim.exe to crash.

Here's the output from the cli:

2005-01-15 15:54:07.2583 iTunesUpdate: "Sand" was
played long enough to count as
played.
2005-01-15 15:54:07.2585 iTunesUpdate: Played past
percentage threshold of 208.2
61 seconds.
2005-01-15 15:54:07.2587 iTunesUpdate:
==logTrackToiTunesWin()
2005-01-15 15:54:07.2596 iTunesUpdate: Attempting to
make connection to iTunes..
..
Use of uninitialized value in concatenation (.) or
string at C:/Program Files/Sl
imServer/server/Plugins/iTunesUpdate.pm line 1183.
2005-01-15 15:54:07.3980 iTunesUpdate: OLE connection
established to iTunes:
2005-01-15 15:54:07.3999 iTunesUpdate: Searching
iTunes for *Klimek Sand*
Can't call method "Search" on an undefined value at
C:/Program Files/SlimServer/
server/Plugins/iTunesUpdate.pm line 1097.

Then it crashes.

When I take it out of direct mode, the crashing stops,
but I'd really like to get this working, as it seems
like a very cool plugin.

I'm running Win2000, with the most recent versions of
Slimserver and iTunes.

Help....

Thanks,

Jon



__________________________________
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail