PDA

View Full Version : Non-URL passed to InfoHash backtrace



Jason Holtzapple
2004-08-04, 07:35
I have a cron job that plays a playlist every night using these commands:

mixer volume 25
playlist shuffle 1
playlist play sleepytime

It produces this backtrace when it occurs:

2004-08-03 21:05:10.1952 Non-URL passed to InfoHash::info (/home/slimp3/playlists/sleepytime.m3u)
2004-08-03 21:05:10.2008 Backtrace:

frame 0: Slim::Music::Info::infoHash (/home/slimp3/SlimServer_v5.3.0b1/Slim/Music/Info.pm line 983)
frame 1: Slim::Music::Info::infoFormat (/home/slimp3/SlimServer_v5.3.0b1/Slim/Music/Info.pm line 1167)
frame 2: Slim::Music::Info::standardTitle (/home/slimp3/SlimServer_v5.3.0b1/Slim/Web/Pages.pm line 674)
frame 3: Slim::Web::Pages::playlist (/home/slimp3/SlimServer_v5.3.0b1/Slim/Web/HTTP.pm line 638)
frame 4: Slim::Web::HTTP::generateHTTPResponse (/home/slimp3/SlimServer_v5.3.0b1/Slim/Web/HTTP.pm line 560)
frame 5: Slim::Web::HTTP::processURL (/home/slimp3/SlimServer_v5.3.0b1/Slim/Web/HTTP.pm line 436)
frame 6: Slim::Web::HTTP::processHTTP (/home/slimp3/SlimServer_v5.3.0b1/Slim/Networking/Select.pm line 116)
frame 7: Slim::Networking::Select::select (slimserver.pl line 428)
frame 8: main::idle (slimserver.pl line 371)
frame 9: main::main (slimserver.pl line 832)

This m3u file consists of both file paths and file:// urls

/export/music/handel/harp_concertos/dittersdorf_-_harp_concerto_-_robles_-_brown_-_02_larghetto.mp3
file:///export/music/stars_of_the_lid/the_ballasted_orchestra/stars_of_the_lid_-_the_ballasted_orchestra.mp3#0-223.493333333333
....

Should these m3u entries all be "file://" urls?

In any case playback of the playlist doesn't seem to be affected, I'm just
wondering if there's anything that can be done about these tracebacks in
the server log. This is with 5.3.0 beta, but it also occurred with earlier
versions of the server.

thanks
--Jason

dean
2004-08-04, 08:50
Thanks for the report, Jason. It looks like it doesn't like the
playlist path for display in the web interface

Can you file a bug on http://bugs.slimdevices.com so it doesn't get
lost?



On Aug 4, 2004, at 7:35 AM, Jason Holtzapple wrote:

> I have a cron job that plays a playlist every night using these
> commands:
>
> mixer volume 25
> playlist shuffle 1
> playlist play sleepytime
>
> It produces this backtrace when it occurs:
>
> 2004-08-03 21:05:10.1952 Non-URL passed to InfoHash::info
> (/home/slimp3/playlists/sleepytime.m3u)
> 2004-08-03 21:05:10.2008 Backtrace:
>
> frame 0: Slim::Music::Info::infoHash
> (/home/slimp3/SlimServer_v5.3.0b1/Slim/Music/Info.pm line 983)
> frame 1: Slim::Music::Info::infoFormat
> (/home/slimp3/SlimServer_v5.3.0b1/Slim/Music/Info.pm line 1167)
> frame 2: Slim::Music::Info::standardTitle
> (/home/slimp3/SlimServer_v5.3.0b1/Slim/Web/Pages.pm line 674)
> frame 3: Slim::Web::Pages::playlist
> (/home/slimp3/SlimServer_v5.3.0b1/Slim/Web/HTTP.pm line 638)
> frame 4: Slim::Web::HTTP::generateHTTPResponse
> (/home/slimp3/SlimServer_v5.3.0b1/Slim/Web/HTTP.pm line 560)
> frame 5: Slim::Web::HTTP::processURL
> (/home/slimp3/SlimServer_v5.3.0b1/Slim/Web/HTTP.pm line 436)
> frame 6: Slim::Web::HTTP::processHTTP
> (/home/slimp3/SlimServer_v5.3.0b1/Slim/Networking/Select.pm line 116)
> frame 7: Slim::Networking::Select::select (slimserver.pl line 428)
> frame 8: main::idle (slimserver.pl line 371)
> frame 9: main::main (slimserver.pl line 832)
>
> This m3u file consists of both file paths and file:// urls
>
> /export/music/handel/harp_concertos/dittersdorf_-_harp_concerto_-
> _robles_-_brown_-_02_larghetto.mp3
> file:///export/music/stars_of_the_lid/the_ballasted_orchestra/
> stars_of_the_lid_-_the_ballasted_orchestra.mp3#0-223.493333333333
> ...
>
> Should these m3u entries all be "file://" urls?
>
> In any case playback of the playlist doesn't seem to be affected, I'm
> just
> wondering if there's anything that can be done about these tracebacks
> in
> the server log. This is with 5.3.0 beta, but it also occurred with
> earlier
> versions of the server.
>
> thanks
> --Jason
>