PDA

View Full Version : Re: Large number of warnings in Info.pm



Jason Holtzapple
2003-12-01, 14:36
--- dean blackketter <dean (AT) slimdevices (DOT) com> wrote:
> Jason,
>
> I'm not sure that this is the right solution, I'd rather find out why
> the offsets are zero to begin with.
>
> Do you have an idea of what kind of song files you might have in your
> library that could be triggering these warnings? (Turn on --d_info and
> you should see some context around the warnings...)

They all seem to be mp3s referenced from cue files. These are full-album
mp3s without any id3 tags. Here's some sample --d_info out below.
I've had some of these files for a while and don't recall these errors from
pre-5.0 servers. There also doesn't seem to be a problem actually
playing the songs in the cue files - just these warnings. I also spot-checked
some cue files and they seem well-formed.

thanks
--Jason

---
for:/export/music/bach/christmas_oratorio_gardiner/bach_-_christmas_oratio_-_gardiner_-_monteverdi_choir_-_di
sc_1.mp3
2003-12-01 14:22:22 updating
/export/music/bach/christmas_oratorio_gardiner/bach_-_christmas_oratio_-_gardiner_-_
monteverdi_choir_-_disc_1.mp3 with mp3 for CT
2003-12-01 14:22:22 updating
/export/music/bach/christmas_oratorio_gardiner/bach_-_christmas_oratio_-_gardiner_-_
monteverdi_choir_-_disc_1.mp3 with bach - christmas oratio - gardiner -
monteverdi choir - disc 1 for TITLE
2003-12-01 14:22:22 updating
/export/music/bach/christmas_oratorio_gardiner/bach_-_christmas_oratio_-_gardiner_-_
monteverdi_choir_-_disc_1.mp3 with 1067887307 for AGE
2003-12-01 14:22:22 updating
/export/music/bach/christmas_oratorio_gardiner/bach_-_christmas_oratio_-_gardiner_-_
monteverdi_choir_-_disc_1.mp3 with 122681956 for FS
2003-12-01 14:22:22 updating
/export/music/bach/christmas_oratorio_gardiner/bach_-_christmas_oratio_-_gardiner_-_
monteverdi_choir_-_disc_1.mp3 with 122681956 for SIZE
2003-12-01 14:22:22 updating
/export/music/bach/christmas_oratorio_gardiner/bach_-_christmas_oratio_-_gardiner_-_
monteverdi_choir_-_disc_1.mp3 with 4381.49842857143 for SECS
2003-12-01 14:22:22 updating
/export/music/bach/christmas_oratorio_gardiner/bach_-_christmas_oratio_-_gardiner_-_
monteverdi_choir_-_disc_1.mp3 with 224 for BITRATE
2003-12-01 14:22:22 updating
/export/music/bach/christmas_oratorio_gardiner/bach_-_christmas_oratio_-_gardiner_-_
monteverdi_choir_-_disc_1.mp3 with 1 for TAG
2003-12-01 14:22:22 Converting
file:///export/music/bach/christmas_oratorio_gardiner/bach_-_christmas_oratio_-_ga
rdiner_-_monteverdi_choir_-_disc_1.mp3#0.32-461.42 to
/export/music/bach/christmas_oratorio_gardiner/bach_-_chris
tmas_oratio_-_gardiner_-_monteverdi_choir_-_disc_1.mp3
2003-12-01 14:22:22 mp3 file type for
file:///export/music/bach/christmas_oratorio_gardiner/bach_-_christmas_orat
io_-_gardiner_-_monteverdi_choir_-_disc_1.mp3#0.32-461.42
2003-12-01 14:22:22 Converting
file:///export/music/bach/christmas_oratorio_gardiner/bach_-_christmas_oratio_-_ga
rdiner_-_monteverdi_choir_-_disc_1.mp3#0.32-461.42 to
/export/music/bach/christmas_oratorio_gardiner/bach_-_chris
tmas_oratio_-_gardiner_-_monteverdi_choir_-_disc_1.mp3
2003-12-01 14:22:22 mp3 file type for
file:///export/music/bach/christmas_oratorio_gardiner/bach_-_christmas_orat
io_-_gardiner_-_monteverdi_choir_-_disc_1.mp3#0.32-461.42
2003-12-01 14:22:22 Updating cache for:
file:///export/music/bach/christmas_oratorio_gardiner/bach_-_christmas_or
atio_-_gardiner_-_monteverdi_choir_-_disc_1.mp3#0.32-461.42
2003-12-01 14:22:22 Info: no title found, using plain title for
file:///export/music/bach/christmas_oratorio_gard
iner/bach_-_christmas_oratio_-_gardiner_-_monteverdi_choir_-_disc_1.mp3#0.32-461.42
2003-12-01 14:22:22 Plain title for:
file:///export/music/bach/christmas_oratorio_gardiner/bach_-_christmas_orati
o_-_gardiner_-_monteverdi_choir_-_disc_1.mp3#0.32-461.422003-12-01 14:22:22 is
bach - christmas oratio - gardine
r - monteverdi choir - disc 1
Use of uninitialized value in addition (+) at Slim/Music/Info.pm line 1653.
2003-12-01 14:22:22 readTags: calculating duration for anchor: 461.1
Use of uninitialized value in concatenation (.) or string at Slim/Music/Info.pm
line 1658.
2003-12-01 14:22:22 readTags: calculating header , startbytes 8960 and endbytes
12919760
2003-12-01 14:22:22 updating genre cache with: No Genre - No Artist - No Album
- bach - christmas oratio - gardin
er - monteverdi choir - disc 1


> -dean
>
> On Nov 30, 2003, at 1:36 PM, Jason Holtzapple wrote:
>
> > In the current nightly release (30 Nov) I get a very large number of
> > warnings from Info.pm:
> >
> > Use of uninitialized value in addition (+) at Slim/Music/Info.pm line
> > 1653.
> > ...
> >
> > I assume that it is safe for this value to be zero if undefined, so I
> > cleared these warnings by changing line 1649 to:
> >
> > my $header = $tempCacheEntry->{'OFFSET'} || 0;
> >
> > Thanks
> > --Jason
> >
> > __________________________________
> > Do you Yahoo!?
> > Free Pop-Up Blocker - Get it now
> > http://companion.yahoo.com/
> >

dean
2003-12-01, 14:40
Ah, I see. They don't have any ID3 tags, right?

-dean
On Dec 1, 2003, at 1:36 PM, Jason Holtzapple wrote:

> --- dean blackketter <dean (AT) slimdevices (DOT) com> wrote:
>> Jason,
>>
>> I'm not sure that this is the right solution, I'd rather find out why
>> the offsets are zero to begin with.
>>
>> Do you have an idea of what kind of song files you might have in your
>> library that could be triggering these warnings? (Turn on --d_info
>> and
>> you should see some context around the warnings...)
>
> They all seem to be mp3s referenced from cue files. These are
> full-album
> mp3s without any id3 tags. Here's some sample --d_info out below.
> I've had some of these files for a while and don't recall these errors
> from
> pre-5.0 servers. There also doesn't seem to be a problem actually
> playing the songs in the cue files - just these warnings. I also
> spot-checked
> some cue files and they seem well-formed.
>
> thanks
> --Jason
>
> ---
> for:/export/music/bach/christmas_oratorio_gardiner/bach_-
> _christmas_oratio_-_gardiner_-_monteverdi_choir_-_di
> sc_1.mp3
> 2003-12-01 14:22:22 updating
> /export/music/bach/christmas_oratorio_gardiner/bach_-
> _christmas_oratio_-_gardiner_-_
> monteverdi_choir_-_disc_1.mp3 with mp3 for CT
> 2003-12-01 14:22:22 updating
> /export/music/bach/christmas_oratorio_gardiner/bach_-
> _christmas_oratio_-_gardiner_-_
> monteverdi_choir_-_disc_1.mp3 with bach - christmas oratio - gardiner -
> monteverdi choir - disc 1 for TITLE
> 2003-12-01 14:22:22 updating
> /export/music/bach/christmas_oratorio_gardiner/bach_-
> _christmas_oratio_-_gardiner_-_
> monteverdi_choir_-_disc_1.mp3 with 1067887307 for AGE
> 2003-12-01 14:22:22 updating
> /export/music/bach/christmas_oratorio_gardiner/bach_-
> _christmas_oratio_-_gardiner_-_
> monteverdi_choir_-_disc_1.mp3 with 122681956 for FS
> 2003-12-01 14:22:22 updating
> /export/music/bach/christmas_oratorio_gardiner/bach_-
> _christmas_oratio_-_gardiner_-_
> monteverdi_choir_-_disc_1.mp3 with 122681956 for SIZE
> 2003-12-01 14:22:22 updating
> /export/music/bach/christmas_oratorio_gardiner/bach_-
> _christmas_oratio_-_gardiner_-_
> monteverdi_choir_-_disc_1.mp3 with 4381.49842857143 for SECS
> 2003-12-01 14:22:22 updating
> /export/music/bach/christmas_oratorio_gardiner/bach_-
> _christmas_oratio_-_gardiner_-_
> monteverdi_choir_-_disc_1.mp3 with 224 for BITRATE
> 2003-12-01 14:22:22 updating
> /export/music/bach/christmas_oratorio_gardiner/bach_-
> _christmas_oratio_-_gardiner_-_
> monteverdi_choir_-_disc_1.mp3 with 1 for TAG
> 2003-12-01 14:22:22 Converting
> file:///export/music/bach/christmas_oratorio_gardiner/bach_-
> _christmas_oratio_-_ga
> rdiner_-_monteverdi_choir_-_disc_1.mp3#0.32-461.42 to
> /export/music/bach/christmas_oratorio_gardiner/bach_-_chris
> tmas_oratio_-_gardiner_-_monteverdi_choir_-_disc_1.mp3
> 2003-12-01 14:22:22 mp3 file type for
> file:///export/music/bach/christmas_oratorio_gardiner/bach_-
> _christmas_orat
> io_-_gardiner_-_monteverdi_choir_-_disc_1.mp3#0.32-461.42
> 2003-12-01 14:22:22 Converting
> file:///export/music/bach/christmas_oratorio_gardiner/bach_-
> _christmas_oratio_-_ga
> rdiner_-_monteverdi_choir_-_disc_1.mp3#0.32-461.42 to
> /export/music/bach/christmas_oratorio_gardiner/bach_-_chris
> tmas_oratio_-_gardiner_-_monteverdi_choir_-_disc_1.mp3
> 2003-12-01 14:22:22 mp3 file type for
> file:///export/music/bach/christmas_oratorio_gardiner/bach_-
> _christmas_orat
> io_-_gardiner_-_monteverdi_choir_-_disc_1.mp3#0.32-461.42
> 2003-12-01 14:22:22 Updating cache for:
> file:///export/music/bach/christmas_oratorio_gardiner/bach_-
> _christmas_or
> atio_-_gardiner_-_monteverdi_choir_-_disc_1.mp3#0.32-461.42
> 2003-12-01 14:22:22 Info: no title found, using plain title for
> file:///export/music/bach/christmas_oratorio_gard
> iner/bach_-_christmas_oratio_-_gardiner_-_monteverdi_choir_-
> _disc_1.mp3#0.32-461.42
> 2003-12-01 14:22:22 Plain title for:
> file:///export/music/bach/christmas_oratorio_gardiner/bach_-
> _christmas_orati
> o_-_gardiner_-_monteverdi_choir_-_disc_1.mp3#0.32-461.422003-12-01
> 14:22:22 is
> bach - christmas oratio - gardine
> r - monteverdi choir - disc 1
> Use of uninitialized value in addition (+) at Slim/Music/Info.pm line
> 1653.
> 2003-12-01 14:22:22 readTags: calculating duration for anchor: 461.1
> Use of uninitialized value in concatenation (.) or string at
> Slim/Music/Info.pm
> line 1658.
> 2003-12-01 14:22:22 readTags: calculating header , startbytes 8960 and
> endbytes
> 12919760
> 2003-12-01 14:22:22 updating genre cache with: No Genre - No Artist -
> No Album
> - bach - christmas oratio - gardin
> er - monteverdi choir - disc 1
>
>
>> -dean
>>
>> On Nov 30, 2003, at 1:36 PM, Jason Holtzapple wrote:
>>
>>> In the current nightly release (30 Nov) I get a very large number of
>>> warnings from Info.pm:
>>>
>>> Use of uninitialized value in addition (+) at Slim/Music/Info.pm line
>>> 1653.
>>> ...
>>>
>>> I assume that it is safe for this value to be zero if undefined, so I
>>> cleared these warnings by changing line 1649 to:
>>>
>>> my $header = $tempCacheEntry->{'OFFSET'} || 0;
>>>
>>> Thanks
>>> --Jason
>>>
>>> __________________________________
>>> Do you Yahoo!?
>>> Free Pop-Up Blocker - Get it now
>>> http://companion.yahoo.com/
>>>