Bug 9222 - playing flac file from an http url fails
: playing flac file from an http url fails
Status: NEW
Product: Logitech Media Server
Classification: Unclassified
Component: Formats
: 7.1
: PC Debian Linux
: -- enhancement (vote)
: ---
Assigned To: Unassigned bug - please assign me!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-08-19 23:47 UTC by Matt Clements
Modified: 2011-11-06 23:25 UTC (History)
0 users

See Also:
Category: Feature


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Clements 2008-08-19 23:47:58 UTC
select Internet Radio | Tune In URL

enter an http url that points at a flac file, eg for testing I've been using:

http://getz/music/test/skunk.flac

no playing occurs, and this error appears in server.log

[08-08-19 15:48:01.2122] Slim::Networking::IO::Select::select (250) Error: Select task failed: Can't locate object method "filename"
via package "IO::String" at /usr/local/slimserver/Slim/Formats/FLAC.pm line 1179.

the same url plays fine in xmms



(I have done a little further digging, see here http://forums.slimdevices.com/showthread.php?t=51251)


thanks
Matt
Comment 1 Blackketter Dean 2008-08-20 12:50:36 UTC
A proposed patch from the thread:

# diff /usr/local/slimserver/Slim/Formats/FLAC.pm /usr/local/slimserver/Slim/Formats/FLAC.pm.orig 

1179,1183d1178
<       if (substr($url, 0, 4) eq "http") {
<               # http stream - don't bother
<               return (-1, undef);
<       }
<

Another new-streaming thing, Alan?
Comment 2 Alan Young 2008-08-20 13:30:45 UTC
no, not really.
Comment 3 Alan Young 2008-10-15 02:53:06 UTC
Can you provide a real (public) URL to test this with or is it only something that is a problem with your own server?
Comment 4 Matt Clements 2008-10-15 03:29:13 UTC
Alan,

you should be able to use
http://lickham.co.uk/slimdevices/tune.flac
to test.


thanks
Matt
Comment 5 Alan Young 2009-09-29 03:09:36 UTC
Update hours
Comment 6 Alan Young 2011-11-06 23:25:21 UTC
Unassigned bugs cannot have a priority.