Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 7 of 7
  1. #1
    Senior Member
    Join Date
    Jan 2008
    Posts
    212

    "Tune" into an MP3 file

    Hi,

    I am wondering if it's possible to play an MP3 which is located on some server without actually downloading it first, just by supplying the URL. I would imagine the "Tune into URL" feature could do this, but it doesn't seem to: I think it can only handle radio stations.

    Thanks!

    This is what I get in the log if I do try to just tune into the MP3:

    Code:
    [11-05-06 15:25:49.4248] Slim::Utils::Misc::msg (1212) Warning: [15:25:49.4239] Use of uninitialized value in join or string at /<C:\Program Files\Squeezebox\server\SqueezeSvr.exe>Log/Log4perl/Appender.pm line 164.
    [11-05-06 15:25:49.4264] Slim::Utils::Misc::msg (1212) Warning: [15:25:49.4257] Use of uninitialized value in join or string at /<C:\Program Files\Squeezebox\server\SqueezeSvr.exe>Log/Log4perl/Appender.pm line 164.
    [11-05-06 15:25:49.4269] Slim::Schema::RemoteTrack::get (291) http://mp3.factmagazine.co.uk.s3.amazonaws.com/FACT%20Mix%20244%20-%20Aardvarck%20(May%20%2711).mp3, tracknum->
    [11-05-06 15:25:50.4160] Slim::Utils::Misc::msg (1212) Warning: [15:25:50.4152] Use of uninitialized value in join or string at /<C:\Program Files\Squeezebox\server\SqueezeSvr.exe>Log/Log4perl/Appender.pm line 164.
    [11-05-06 15:25:50.4176] Slim::Utils::Misc::msg (1212) Warning: [15:25:50.4169] Use of uninitialized value in join or string at /<C:\Program Files\Squeezebox\server\SqueezeSvr.exe>Log/Log4perl/Appender.pm line 164.
    [11-05-06 15:25:50.4181] Slim::Schema::RemoteTrack::get (291) http://mp3.factmagazine.co.uk.s3.amazonaws.com/FACT%20Mix%20244%20-%20Aardvarck%20(May%20%2711).mp3, tracknum->
    [11-05-06 15:25:51.4230] Slim::Utils::Misc::msg (1212) Warning: [15:25:51.4218] Use of uninitialized value in join or string at /<C:\Program Files\Squeezebox\server\SqueezeSvr.exe>Log/Log4perl/Appender.pm line 164.
    [11-05-06 15:25:51.4251] Slim::Utils::Misc::msg (1212) Warning: [15:25:51.4242] Use of uninitialized value in join or string at /<C:\Program Files\Squeezebox\server\SqueezeSvr.exe>Log/Log4perl/Appender.pm line 164.
    [11-05-06 15:25:51.4257] Slim::Schema::RemoteTrack::get (291) http://mp3.factmagazine.co.uk.s3.amazonaws.com/FACT%20Mix%20244%20-%20Aardvarck%20(May%20%2711).mp3, tracknum->
    [11-05-06 15:25:52.4202] Slim::Utils::Misc::msg (1212) Warning: [15:25:52.4191] Use of uninitialized value in join or string at /<C:\Program Files\Squeezebox\server\SqueezeSvr.exe>Log/Log4perl/Appender.pm line 164.
    [11-05-06 15:25:52.4224] Slim::Utils::Misc::msg (1212) Warning: [15:25:52.4214] Use of uninitialized value in join or string at /<C:\Program Files\Squeezebox\server\SqueezeSvr.exe>Log/Log4perl/Appender.pm line 164.
    [11-05-06 15:25:52.4231] Slim::Schema::RemoteTrack::get (291) http://mp3.factmagazine.co.uk.s3.amazonaws.com/FACT%20Mix%20244%20-%20Aardvarck%20(May%20%2711).mp3, tracknum->
    [11-05-06 15:25:53.4246] Slim::Utils::Misc::msg (1212) Warning: [15:25:53.4238] Use of uninitialized value in join or string at /<C:\Program Files\Squeezebox\server\SqueezeSvr.exe>Log/Log4perl/Appender.pm line 164.
    [11-05-06 15:25:53.4261] Slim::Utils::Misc::msg (1212) Warning: [15:25:53.4254] Use of uninitialized value in join or string at /<C:\Program Files\Squeezebox\server\SqueezeSvr.exe>Log/Log4perl/Appender.pm line 164.
    [11-05-06 15:25:53.4266] Slim::Schema::RemoteTrack::get (291) http://mp3.factmagazine.co.uk.s3.amazonaws.com/FACT%20Mix%20244%20-%20Aardvarck%20(May%20%2711).mp3, tracknum->
    [11-05-06 15:25:54.5525] Slim::Utils::Misc::msg (1212) Warning: [15:25:54.5514] Use of uninitialized value in join or string at /<C:\Program Files\Squeezebox\server\SqueezeSvr.exe>Log/Log4perl/Appender.pm line 164.
    [11-05-06 15:25:54.5547] Slim::Utils::Misc::msg (1212) Warning: [15:25:54.5537] Use of uninitialized value in join or string at /<C:\Program Files\Squeezebox\server\SqueezeSvr.exe>Log/Log4perl/Appender.pm line 164.
    [11-05-06 15:25:54.5554] Slim::Schema::RemoteTrack::get (291) http://mp3.factmagazine.co.uk.s3.amazonaws.com/FACT%20Mix%20244%20-%20Aardvarck%20(May%20%2711).mp3, tracknum->

  2. #2
    Senior Member toby10's Avatar
    Join Date
    Jul 2007
    Location
    USA (home of the bottomless credit card)
    Posts
    7,989
    http://wiki.slimdevices.com/index.php/RemoteStreaming

    http://wiki.slimdevices.com/index.ph...ectingRemotely

    Not exactly what you are asking but covers some of the basics of remote streaming. There are numerous limitations to doing so.
    Perhaps if you described more details of exactly what you are attempting others can offer more ideas and methods.

  3. #3
    Senior Member
    Join Date
    Jan 2008
    Posts
    212
    Hi,

    Actually what I am trying to do is very simple: I browse various music websites which give you download links to free tracks or mixes, usually as MP3.

    Right now I either listen to these through my browser on the laptop (with bad speakers) or if I want to hear it through the SB, I go through the effort of downloading it, placing it in a music folder and then browsing in the SBS web interface to access the file.

    What I would like to do is to just pass the URL to SBS such that the Squeezebox immediately plays the track off a server on which it is located in the internet.

    So, say I would like to listen to the mix linked to on this page:

    http://www.factmag.com/2011/04/11/fact-mix-238-j-rocc/

    There is a link for a direct download there, linking to

    http://mp3.factmagazine.co.uk.s3.ama...r%20%2711).mp3

    I would like to be able to just pass this onto the SBS to stream directly to my Squeezebox. Going to "Tune in URL" doesn't seem to work.

  4. #4
    Senior Member toby10's Avatar
    Join Date
    Jul 2007
    Location
    USA (home of the bottomless credit card)
    Posts
    7,989
    Whether playing from that site or downloading the stream/track won't work because both require a web browser. SB players have no web browser nor downloading (for storage) capabilities.

    If you give Tune In URL (or even Favorites) a correctly formatted direct stream http:// URL, meant for live direct streaming absent a web browser, it will work fine.

  5. #5
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    11,251
    The problem the with "http://mp3.factmagazine.co.uk.s3.amazonaws.com/FACT%20Mix%20238%20-%20J.%20Rocc%20(Apr%20%2711).mp3" stream is that its MIME setting is audio/mpeg3 which is not in SBS types.conf file.

    If you add audio/mpeg3 to types.conf on the same line "audio/mpeg,audio/mp3,audio/mp3s,audio/x-mpeg audio" and restart SBS - this stream will play.

    edit:

    As a permanent fix you should just have the audio/mpeg3 lines fix in a custom-types.conf file or request SBS developers to add "audio/mpeg3" to the types.conf file.

  6. #6
    Senior Member
    Join Date
    Jan 2008
    Posts
    212
    You sir, are a genius. I thought it should be something as simple as this.

    How does one determine what MIME type a link is served as? It will save me pleading for help next time!

    Thanks!

  7. #7
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    11,251
    On Linux I use "wget" on these problem SBS URL and it details the MIME that is provided by the server as well as downloading the file. I'm sure there are other solutions.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •