Bug 339 - Warnings while loading a large directory
: Warnings while loading a large directory
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Misc
: 5.x or older
: All All
: P2 normal (vote)
: ---
Assigned To: Blackketter Dean
:
Depends on:
Blocks: 505
  Show dependency treegraph
 
Reported: 2004-06-03 09:27 UTC by Blackketter Dean
Modified: 2008-12-18 11:50 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments
return playlist item if shufflelist item is undef (714 bytes, patch)
2004-09-01 23:46 UTC, KDF
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Blackketter Dean 2004-06-03 09:27:50 UTC
This looks to be a problem where the shufflelist is empty.  (If it's empty, we should just use the main 
list, I think...)

I still get the ""Use
of uninitialized
value in array element at F:/SLIMSERVER/slim/server/Slim/Player/Playlist.pm
line 39." error message  multiple times when I create a playlist.

I browse my music folder, choose a nice folder an hit play and while
slimserver creates the playlist with 696 songs I get the error message above
multiple times in the server window. any ideas?
At first I thought I get it every time the display on my SLIMP3 refreshs and
displays the current song count for the playlist - but it doesn't refresh
that often.

But I in the log below you can see that it happens exactly 4 times between
the refresh, does this help?

"
Use of uninitialized value in array element at
F:/SLIMSERVER/slim/server/Slim/Player/Playlist.pm line 39.
Use of uninitialized value in array element at
F:/SLIMSERVER/slim/server/Slim/Player/Playlist.pm line 39.
Use of uninitialized value in array element at
F:/SLIMSERVER/slim/server/Slim/Player/Playlist.pm line 39.
Use of uninitialized value in array element at
F:/SLIMSERVER/slim/server/Slim/Player/Playlist.pm line 39.
2004-05-29 01:00:18.5244 vfdUpdate katakana
line1: Stopped (1 of 497)
vfD_leftprogress0_VfdvfD_middleprogress0_VfdvfD_middleprogress0_VfdvfD_middl
eprogress0_VfdvfD_middleprogress0_VfdvfD_middleprogress0_VfdvfD_middleprogre
ss0_VfdvfD_middleprogr
ess0_VfdvfD_middleprogress0_VfdvfD_middleprogress0_VfdvfD_middleprogress0_Vf
dvfD_middleprogress0_VfdvfD_middleprogress0_VfdvfD_middleprogress0_VfdvfD_ri
ghtprogress0_Vfd 00:00
line2: A*Teens - Can't Help Falling In Love   vfD_notesymbol_Vfd

2004-05-29 01:00:19.3973 vfdUpdate katakana
line1: __center__Samstag, Mai 29, 2004
line2: __center__1:00:19

Use of uninitialized value in array element at
F:/SLIMSERVER/slim/server/Slim/Player/Playlist.pm line 39.
Use of uninitialized value in array element at
F:/SLIMSERVER/slim/server/Slim/Player/Playlist.pm line 39.
Use of uninitialized value in array element at
F:/SLIMSERVER/slim/server/Slim/Player/Playlist.pm line 39.
Use of uninitialized value in array element at
F:/SLIMSERVER/slim/server/Slim/Player/Playlist.pm line 39.
2004-05-29 01:00:19.5415 vfdUpdate katakana
line1: Stopped (1 of 572)
vfD_leftprogress0_VfdvfD_middleprogress0_VfdvfD_middleprogress0_VfdvfD_middl
eprogress0_VfdvfD_middleprogress0_VfdvfD_middleprogress0_VfdvfD_middleprogre
ss0_VfdvfD_middleprogr
ess0_VfdvfD_middleprogress0_VfdvfD_middleprogress0_VfdvfD_middleprogress0_Vf
dvfD_middleprogress0_VfdvfD_middleprogress0_VfdvfD_middleprogress0_VfdvfD_ri
ghtprogress0_Vfd 00:00
line2: A*Teens - Can't Help Falling In Love   vfD_notesymbol_Vfd

2004-05-29 01:00:20.3989 vfdUpdate katakana"


Or another log that shows that it happens always 4 times in a row:


"2004-05-29 01:04:54.1186 extracted: M:\MP3_ALBEN\A\Alicia Keys - Songs In A
Minor from file:///M:/MP3_ALBEN/A/Alicia%20Keys%20-%20Songs%20
2004-05-29 01:04:54.1296 Got
/M:/MP3_ALBEN/A/Alicia%20Keys%20-%20Songs%20In%20A%20Minor from file url
file:///M:/MP3_ALBEN/A/Alicia%20Keys
2004-05-29 01:04:54.1371 extracted: M:\MP3_ALBEN\A\Alicia Keys - Songs In A
Minor from file:///M:/MP3_ALBEN/A/Alicia%20Keys%20-%20Songs%20
Use of uninitialized value in array element at
F:/SLIMSERVER/slim/server/Slim/Player/Playlist.pm line 39.
Use of uninitialized value in array element at
F:/SLIMSERVER/slim/server/Slim/Player/Playlist.pm line 39.
Use of uninitialized value in array element at
F:/SLIMSERVER/slim/server/Slim/Player/Playlist.pm line 39.
Use of uninitialized value in array element at
F:/SLIMSERVER/slim/server/Slim/Player/Playlist.pm line 39.
2004-05-29 01:04:54.1882 Got
/M:/MP3_ALBEN/A/Alicia%20Keys%20-%20Songs%20In%20A%20Minor from file url
file:///M:/MP3_ALBEN/A/Alicia%20Keys
2004-05-29 01:04:54.1961 extracted: M:\MP3_ALBEN\A\Alicia Keys - Songs In A
Minor from file:///M:/MP3_ALBEN/A/Alicia%20Keys%20-%20Songs%20
2004-05-29 01:04:54.2059 Got
/M:/MP3_ALBEN/A/Alicia%20Keys%20-%20Songs%20In%20A%20Minor from file url
file:///M:/MP3_ALBEN/A/Alicia%20Keys"

but as I can see it has nothing to do with file or directory access.

Submitted by Roladn Fischer
Comment 1 KDF 2004-09-01 23:46:26 UTC
Created attachment 120 [details]
return playlist item if shufflelist item is undef

also partly fixes the warning resultant from bug 505
Comment 2 KDF 2004-09-10 00:14:32 UTC
should now be fixed.  reopen if it appears in other methods.
Comment 3 Chris Owens 2006-06-16 14:40:21 UTC
There are 536 bugs in the database with targets of '---' that were fixed prior to new year 2006.  I am setting them to targets of 6.2.1 to keep them from showing up in my queries.
Comment 4 Chris Owens 2008-12-18 11:50:51 UTC
Routine bug db maintenance; removing old versions which cause confusion.  I apologize for the inconvenience.