Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 6 of 6

Thread: SomaFM URLs

  1. #1
    Senior Member
    Join Date
    Sep 2005
    Location
    Coeur d'Alene
    Posts
    201

    SomaFM URLs

    This is a long shot but here goes. Recently (between 2 and 8 weeks ago) the SomaFM app streams stopped working for me. After a bit of digging I have found that my server, an admittedly old ReadyNAS Pro 6, won't get the URLs because they are HTTPS (://somafm.com) and the certificate is apparently now for https://api.somafm.com/. I checked/confirmed this with wget:

    SBNAS:/# wget https://somafm.com/poptron.pls
    --2017-04-20 16:28:57-- https://somafm.com/poptron.pls
    Resolving somafm.com... 74.217.192.208
    Connecting to somafm.com|74.217.192.208|:443... connected.
    ERROR: certificate common name `api.somafm.com' doesn't match requested host name `somafm.com'.
    To connect to somafm.com insecurely, use `--no-check-certificate'.
    Unable to establish SSL connection.
    SBNAS:/# wget https://api.somafm.com/poptron.pls
    --2017-04-20 16:29:42-- https://api.somafm.com/poptron.pls
    Resolving api.somafm.com... 74.217.192.208
    Connecting to api.somafm.com|74.217.192.208|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 321 [audio/x-scpls]
    Saving to: `poptron.pls'

    100%[======================================>] 321 --.-K/s in 0s

    2017-04-20 16:29:43 (92.4 MB/s) - `poptron.pls' saved [321/321]


    Normal HTTP (not secure) URLs also work just fine. I'm wondering if the Squeezebox app can have its URLs updated. If there's any way to effect the same change on my local server I'm fine with that too, since it is always running, but as best as I can tell my server makes a request of mysqueezebox.com for the URL and then connects to that URL.

    I have worked around this for now by making a local playlist with the URLs that I want but browsing those for the stations I want is less than ideal because the interface shows the last song played rather than station title, meaning that I have to remember which station is which positionally.

  2. #2
    Senior Member
    Join Date
    May 2008
    Location
    United States
    Posts
    11,012
    Quote Originally Posted by eq72521 View Post
    This is a long shot but here goes. Recently (between 2 and 8 weeks ago) the SomaFM app streams stopped working for me. After a bit of digging I have found that my server, an admittedly old ReadyNAS Pro 6, won't get the URLs because they are HTTPS (://somafm.com) and the certificate is apparently now for https://api.somafm.com/. I checked/confirmed this with wget:

    SBNAS:/# wget https://somafm.com/poptron.pls
    --2017-04-20 16:28:57-- https://somafm.com/poptron.pls
    Resolving somafm.com... 74.217.192.208
    Connecting to somafm.com|74.217.192.208|:443... connected.
    ERROR: certificate common name `api.somafm.com' doesn't match requested host name `somafm.com'.
    To connect to somafm.com insecurely, use `--no-check-certificate'.
    Unable to establish SSL connection.
    SBNAS:/# wget https://api.somafm.com/poptron.pls
    --2017-04-20 16:29:42-- https://api.somafm.com/poptron.pls
    Resolving api.somafm.com... 74.217.192.208
    Connecting to api.somafm.com|74.217.192.208|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 321 [audio/x-scpls]
    Saving to: `poptron.pls'

    100%[======================================>] 321 --.-K/s in 0s

    2017-04-20 16:29:43 (92.4 MB/s) - `poptron.pls' saved [321/321]


    Normal HTTP (not secure) URLs also work just fine. I'm wondering if the Squeezebox app can have its URLs updated. If there's any way to effect the same change on my local server I'm fine with that too, since it is always running, but as best as I can tell my server makes a request of mysqueezebox.com for the URL and then connects to that URL.

    I have worked around this for now by making a local playlist with the URLs that I want but browsing those for the stations I want is less than ideal because the interface shows the last song played rather than station title, meaning that I have to remember which station is which positionally.
    There's several other threads talking about problems with https streams. Have you updated to LMS 7.9 (relatively recent version). This has been mostly fixed in the recent updates.
    Home: VortexBox 4TB (2.4) > LMS 7.9.1 > Transporter, Touch, Boom, Radio (all ethernet)
    Cottage: VBA 3TB (2.4) > LMS 7.9.1 > Touch > Benchmark DAC I, Boom, Radio w/Battery (all ethernet except Radio)
    Office: Win8(64) > LMS 7.9.1 > Squeezelite
    Spares: Transporter, Touch(3), Radio(3), Boom, SB3, CONTROLLER
    Controllers: iPhone6 & iPadAir2 (iPeng & Squeezepad), CONTROLLER, or SqueezePlay 7.8 on Win10(64) laptop
    Files: ripping: dbpoweramp > FLAC; post-rip: mp3tag, PerfectTunes; Streaming: Spotify

  3. #3
    Senior Member toby10's Avatar
    Join Date
    Jul 2007
    Location
    USA (home of the bottomless credit card)
    Posts
    9,068
    You can access the non-https Soma URL's via (internet) Radio > Music > Internet Only > Soma FM

  4. #4
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    15,017
    The user is using mysqeezebox.com whihc measn the https urls are passed to the players and players firmware will never support https.

    However there is the mysqeezebox SomaFM app (if confgured under My Apps) which seems to play OK on my SB Touch.

  5. #5
    Senior Member toby10's Avatar
    Join Date
    Jul 2007
    Location
    USA (home of the bottomless credit card)
    Posts
    9,068
    Correct. And connected to MySB.com the URL's via (internet) Radio > Music > Internet Only > Soma FM are indeed http (not https) so they will play fine on any SB player.

  6. #6
    Senior Member
    Join Date
    Sep 2005
    Location
    Coeur d'Alene
    Posts
    201
    Quote Originally Posted by toby10 View Post
    Correct. And connected to MySB.com the URL's via (internet) Radio > Music > Internet Only > Soma FM are indeed http (not https) so they will play fine on any SB player.
    Thank you so much. It's funny, on Saturday, having remembered previously accessing the stations through the "Internet Radio" item/link, I attempted to find the stations there but could not. I just didn't traverse down quite the right tree nodes.

Posting Permissions

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