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

    PC web browser can play tidal,

    When I use a browser on a PC I can play music from the mysqueezebox
    remote control page, but when I try to do the same thing from android
    chrome I'm told "Not allowed".

    Any idea what might be causing this?
    Is there a way to the get tidal menu working on android?

    Some details:

    If I use a regular web browser on a PC (vivaldi 2.5.1525.4 on windows 10)
    with https://www.mysqueezebox.com/ then I'm able to use tidal in the
    remote control pages and play music on a duet receiver.

    If I use the remote control on https://www.mysqueezebox.com/ from
    android chrome I'm able to access network radio stations and podcasts,
    but when I try to access the tidal menus I'm told "Spilleren din har
    ikke lov til ň bruke mysqueezebox.com", which is Norwegian and
    translates to "Your player isn't allowed to use mysqueezebox.com".

    If I start a tidal playlist using the browser on the PC, then
    information about the played track shows up in the
    https://www.mysqueezebox.com/ remote control on the android devices.

    I see this behaviour on two different android devices.

    Android versions, are:
    android 5.1, chrome 79.0.3945.136 (CAT S30)
    android 5.1.1, chrome 80.0.3987.162 (Sony Ericsson Tablet Z)

    Thanks!


    - Steinar


  2. #2
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,430

    PC web browser can play tidal,

    > If I use the remote control on https://www.mysqueezebox.com/ from
    > android chrome I'm able to access network radio stations and podcasts,
    > but when I try to access the tidal menus I'm told "Spilleren din har
    > ikke lov til ├ą bruke mysqueezebox.com", which is Norwegian and
    > translates to "Your player isn't allowed to use mysqueezebox.com".


    Oh, that's interesting. I've had similar reports before, but nobody
    mentioned different behaviour for different browsers. Would that Chrome
    have a developer's console or something? Any way to get error messages
    out of this browser?

    --

    Michael

  3. #3

    PC web browser can play tidal,

    >>>>> Michael Herger <slim (AT) herger (DOT) net>:

    > Oh, that's interesting. I've had similar reports before, but nobody
    > mentioned different behaviour for different browsers. Would that
    > Chrome have a developer's console or something? Any way to get error
    > messages out of this browser?


    I haven't gotten around to setting up remote debug on chrome on android
    yet, but today I encountered the same problem on a vivaldi on a
    different computer

    And what I see, is
    1. No error message in the console

    2. The not allowed message comes as an HTML response to https://mysqueezebox.com/browse/WiMP...=1586867388033

    Here's all of the info from the GET to https://mysqueezebox.com/browse/WiMP...=1586867388033
    (I replaced the cookie with "ANONYMIZED_SESSION". I can email it to you, if of interest)


    Request Method: GET
    Status Code: 200 OK
    Remote Address: 34.244.198.169:443
    Referrer Policy: no-referrer-when-downgrade
    Connection: keep-alive
    Content-Length: 530
    Content-Type: text/html; charset=utf-8
    Date: Tue, 14 Apr 2020 12:30:12 GMT
    Keep-Alive: timeout=30
    Server: nginx/1.16.1
    Set-Cookie: sdi_squeezenetwork_session=ANONYMIZED_SESSION; path=/; expires=Wed, 14-Apr-2021 12:30:13 GMT
    Status: 200
    X-Frame-Options: DENY
    Accept: */*
    Accept-Encoding: gzip, deflate, br
    Accept-Language: en-US,en;q=0.9
    Connection: keep-alive
    Content-Type: application/json
    Cookie: sdi_squeezenetwork_session=ANONYMIZED_SESSION; Squeezebox-player=00%3A04%3A20%3A17%3A45%3Ac8
    Host: mysqueezebox.com
    Referer: https://mysqueezebox.com/player/playerControl
    Sec-Fetch-Dest: empty
    Sec-Fetch-Mode: cors
    Sec-Fetch-Site: same-origin
    User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36
    X-Requested-With: XMLHttpRequest
    _dc: 1586867388033


  4. #4
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,430

    PC web browser can play tidal,

    > Here's all of the info from the GET to https://mysqueezebox.com/browse/WiMP...=1586867388033
    > (I replaced the cookie with "ANONYMIZED_SESSION". I can email it to you, if of interest)


    That's the request info. What about the response?

    --

    Michael

  5. #5

    PC web browser can play tidal,

    >>>>> Michael Herger <slim (AT) herger (DOT) net>:

    >> Here's all of the info from the GET to https://mysqueezebox.com/browse/WiMP...=1586867388033
    >> (I replaced the cookie with "ANONYMIZED_SESSION". I can email it to you, if of interest)


    > That's the request info. What about the response?


    I think the headers of the request and response are mixed together in my
    first paste, but it's hard to separate them.

    Request:
    GET /browse/WiMP/2?_dc=1586867388033 HTTP/1.1
    Host: mysqueezebox.com
    Connection: keep-alive
    Sec-Fetch-Dest: empty
    X-Requested-With: XMLHttpRequest
    User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36
    Content-Type: application/json
    Accept: */*
    Sec-Fetch-Site: same-origin
    Sec-Fetch-Mode: cors
    Referer: https://mysqueezebox.com/player/playerControl
    Accept-Encoding: gzip, deflate, br
    Accept-Language: en-US,en;q=0.9
    Cookie: sdi_squeezenetwork_session=ANONYMIZED_COOKIE; Squeezebox-player=00%3A04%3A20%3A17%3A45%3Ac8



    Response:

    HTTP/1.1 200 OK
    Server: nginx/1.16.1
    Date: Tue, 14 Apr 2020 12:30:12 GMT
    Content-Type: text/html; charset=utf-8
    Content-Length: 530
    Connection: keep-alive
    Keep-Alive: timeout=30
    Set-Cookie: sdi_squeezenetwork_session=ANONYMIZED_COOKIE; path=/; expires=Wed, 14-Apr-2021 12:30:13 GMT
    Status: 200
    X-Frame-Options: DENY

    <script type="text/javascript">
    PlayerControl.initItemList();
    </script>

    <div> <div class="menuItem">
    <div> <script type="text/javascript">
    PlayerControl.addItem({});
    </script>Spilleren din har ikke lov til ň bruke mysqueezebox.com. </div>
    <img src="/static/images/playerControl/horizontal_rule.png" class="horizontalRule"/>
    </div>
    <span id="crumblist">
    <span onClick="PlayerControl.browse('/browse/WiMP')" class="browseLink">&nbsp;/&nbsp;&nbsp;TIDAL</span>
    &nbsp;/&nbsp;Mine spillelister</span>
    </div>


  6. #6

    PC web browser can play tidal,

    >>>>> Steinar Bang <sb (AT) dod (DOT) no>:

    [snip! request and response on failing tidal playlists GET]

    And here are a successful GET request and response for the same values
    (same browser type on a different PC, both PCs windows 10):

    Request:

    GET /browse/WiMP/2?_dc=1586874812084 HTTP/1.1
    Host: www.mysqueezebox.com
    Connection: keep-alive
    X-Requested-With: XMLHttpRequest
    User-Agent: Mozilla/5.0 (Windows NT 10.0; ) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4086.0 Safari/537.36
    Content-Type: application/json
    Accept: */*
    Referer: https://www.mysqueezebox.com/player/playerControl
    Accept-Encoding: gzip, deflate, br
    Accept-Language: nb-NO,nb;q=0.9,no;q=0.8,nn;q=0.7,en-US;q=0.6,en;q=0.5
    Cookie: sdi_squeezenetwork_session=ANONYMIZED_COOKIE; Squeezebox-player=00%3A04%3A20%3A17%3A45%3Ac8


    Response:

    HTTP/1.1 200 OK
    Server: nginx/1.16.1
    Date: Tue, 14 Apr 2020 14:33:32 GMT
    Content-Type: text/html; charset=utf-8
    Transfer-Encoding: chunked
    Connection: keep-alive
    Keep-Alive: timeout=30
    Set-Cookie: sdi_squeezenetwork_session=ANONYMIZED_COOKIE; path=/; expires=Wed, 14-Apr-2021 14:33:32 GMT
    Status: 200
    X-Frame-Options: DENY
    Content-Encoding: gzip

    <script type="text/javascript">
    PlayerControl.initItemList();
    </script>

    <div> <div class="menuItem">
    <div> <script type="text/javascript">
    PlayerControl.addItem({"url":"https://www.mysqueezebox.com:443/api/wimp/v1/opml/playlistTracks?userOwned=1&title=Anja%2012%C3%A5r& id=8b9ed46a-9b00-42ad-b8da-f65a1d3ae8ed","duration":null,"title":"Anja%2012%C 3%A5r"});
    </script> <img src="/static/images/spacer.gif" style="background-image:url(/public/imageproxy?w=34&u=docrootHASH(0xae76030));backgrou nd-repeat:no-repeat;background-position:center" class="inline menuItemIcon"/>
    <div class="inline controls">
    <a href="#" onclick="SqueezeJS.Controller.request('https://www.mysqueezebox.com:443/browse/WiMP/2.0?cmd=play'); return false;"><img src="/static/images/b_play.gif" alt="Spill av denne." title="Spill av denne." /></a>
    <a href="#" onclick="SqueezeJS.Controller.request('https://www.mysqueezebox.com:443/browse/WiMP/2.0?cmd=add'); return false;"><img src="/static/images/b_add.gif" alt="Legg til i gjeldende spilleliste" title="Legg til i gjeldende spilleliste" /></a> </div>
    <div class="inline text">
    <span onClick="PlayerControl.browse('/browse/WiMP/2.0')" class="browseLink">Anja 12ňr</span>
    </div> </div>
    <img src="/static/images/playerControl/horizontal_rule.png" class="horizontalRule"/>
    </div> <div class="menuItem">
    <div> <script type="text/javascript">
    PlayerControl.addItem({"url":"https://www.mysqueezebox.com:443/api/wimp/v1/opml/playlistTracks?userOwned=1&title=Eirik2&id=6dffdef a-6793-4594-a717-1009ee80447b","duration":null,"title":"Eirik2"});
    </script> <img src="/static/images/spacer.gif" style="background-image:url(/public/imageproxy?w=34&u=docrootHASH(0xae761f0));backgrou nd-repeat:no-repeat;background-position:center" class="inline menuItemIcon"/>
    <div class="inline controls">
    <a href="#" onclick="SqueezeJS.Controller.request('https://www.mysqueezebox.com:443/browse/WiMP/2.1?cmd=play'); return false;"><img src="/static/images/b_play.gif" alt="Spill av denne." title="Spill av denne." /></a>
    <a href="#" onclick="SqueezeJS.Controller.request('https://www.mysqueezebox.com:443/browse/WiMP/2.1?cmd=add'); return false;"><img src="/static/images/b_add.gif" alt="Legg til i gjeldende spilleliste" title="Legg til i gjeldende spilleliste" /></a> </div>
    <div class="inline text">
    <span onClick="PlayerControl.browse('/browse/WiMP/2.1')" class="browseLink">Eirik2</span>
    </div> </div>
    <img src="/static/images/playerControl/horizontal_rule.png" class="horizontalRule"/>
    </div> <div class="menuItem">
    <div> <script type="text/javascript">
    PlayerControl.addItem({"url":"https://www.mysqueezebox.com:443/api/wimp/v1/opml/playlistTracks?userOwned=1&title=Haralds%20Eksepti on-liste&id=9dcf7c56-1c09-4762-942b-62a8d562daf8","duration":null,"title":"Haralds%20E kseption-liste"});
    </script> <img src="/static/images/spacer.gif" style="background-image:url(/public/imageproxy?w=34&u=http%3A%2F%2Fresources.tidal.com %2Fimages%2F776fc145%2Fad01%2F4e35%2Fb832%2F50feda 342dd3%2F1080x720.jpg);background-repeat:no-repeat;background-position:center" class="inline menuItemIcon"/>
    <div class="inline controls">
    <a href="#" onclick="SqueezeJS.Controller.request('https://www.mysqueezebox.com:443/browse/WiMP/2.2?cmd=play'); return false;"><img src="/static/images/b_play.gif" alt="Spill av denne." title="Spill av denne." /></a>
    <a href="#" onclick="SqueezeJS.Controller.request('https://www.mysqueezebox.com:443/browse/WiMP/2.2?cmd=add'); return false;"><img src="/static/images/b_add.gif" alt="Legg til i gjeldende spilleliste" title="Legg til i gjeldende spilleliste" /></a> </div>
    <div class="inline text">
    <span onClick="PlayerControl.browse('/browse/WiMP/2.2')" class="browseLink">Haralds Ekseption-liste</span>
    </div> </div>
    <img src="/static/images/playerControl/horizontal_rule.png" class="horizontalRule"/>
    </div> <div class="menuItem">
    <div> <script type="text/javascript">
    PlayerControl.addItem({"url":"https://www.mysqueezebox.com:443/api/wimp/v1/opml/playlistTracks?userOwned=1&title=Juleliste&id=9ede d82f-967c-4c36-b251-5e11e2be91e1","duration":null,"title":"Juleliste"} );
    </script> <img src="/static/images/spacer.gif" style="background-image:url(/public/imageproxy?w=34&u=http%3A%2F%2Fresources.tidal.com %2Fimages%2F67469f2c%2Fcac0%2F43d5%2F863b%2F2d0c45 ad2485%2F1080x720.jpg);background-repeat:no-repeat;background-position:center" class="inline menuItemIcon"/>
    <div class="inline controls">
    <a href="#" onclick="SqueezeJS.Controller.request('https://www.mysqueezebox.com:443/browse/WiMP/2.3?cmd=play'); return false;"><img src="/static/images/b_play.gif" alt="Spill av denne." title="Spill av denne." /></a>
    <a href="#" onclick="SqueezeJS.Controller.request('https://www.mysqueezebox.com:443/browse/WiMP/2.3?cmd=add'); return false;"><img src="/static/images/b_add.gif" alt="Legg til i gjeldende spilleliste" title="Legg til i gjeldende spilleliste" /></a> </div>
    <div class="inline text">
    <span onClick="PlayerControl.browse('/browse/WiMP/2.3')" class="browseLink">Juleliste</span>
    </div> </div>
    <img src="/static/images/playerControl/horizontal_rule.png" class="horizontalRule"/>
    </div> <div class="menuItem">
    <div> <script type="text/javascript">
    PlayerControl.addItem({"url":"https://www.mysqueezebox.com:443/api/wimp/v1/opml/playlistTracks?userOwned=1&title=Neil%20Youngs%20b este&id=c067617c-dc33-476c-9eb4-33b4081306a2","duration":null,"title":"Neil%20Youn gs%20beste"});
    </script> <img src="/static/images/spacer.gif" style="background-image:url(/public/imageproxy?w=34&u=http%3A%2F%2Fresources.tidal.com %2Fimages%2Fe45f0c89%2F9cb3%2F40ba%2Fa1f6%2F0b051c 80e5bb%2F1080x720.jpg);background-repeat:no-repeat;background-position:center" class="inline menuItemIcon"/>
    <div class="inline controls">
    <a href="#" onclick="SqueezeJS.Controller.request('https://www.mysqueezebox.com:443/browse/WiMP/2.4?cmd=play'); return false;"><img src="/static/images/b_play.gif" alt="Spill av denne." title="Spill av denne." /></a>
    <a href="#" onclick="SqueezeJS.Controller.request('https://www.mysqueezebox.com:443/browse/WiMP/2.4?cmd=add'); return false;"><img src="/static/images/b_add.gif" alt="Legg til i gjeldende spilleliste" title="Legg til i gjeldende spilleliste" /></a> </div>
    <div class="inline text">
    <span onClick="PlayerControl.browse('/browse/WiMP/2.4')" class="browseLink">Neil Youngs beste</span>
    </div> </div>
    <img src="/static/images/playerControl/horizontal_rule.png" class="horizontalRule"/>
    </div> <div class="menuItem">
    <div> <script type="text/javascript">
    PlayerControl.addItem({"url":"https://www.mysqueezebox.com:443/api/wimp/v1/opml/playlistTracks?userOwned=1&title=Sommersanger&id=2 f4326d5-e7ca-4d0a-b996-0f929099ac61","duration":null,"title":"Sommersange r"});
    </script> <img src="/static/images/spacer.gif" style="background-image:url(/public/imageproxy?w=34&u=http%3A%2F%2Fresources.tidal.com %2Fimages%2F41aaf44e%2F3b44%2F464c%2F9dae%2F27fe2a ac5e92%2F1080x720.jpg);background-repeat:no-repeat;background-position:center" class="inline menuItemIcon"/>
    <div class="inline controls">
    <a href="#" onclick="SqueezeJS.Controller.request('https://www.mysqueezebox.com:443/browse/WiMP/2.5?cmd=play'); return false;"><img src="/static/images/b_play.gif" alt="Spill av denne." title="Spill av denne." /></a>
    <a href="#" onclick="SqueezeJS.Controller.request('https://www.mysqueezebox.com:443/browse/WiMP/2.5?cmd=add'); return false;"><img src="/static/images/b_add.gif" alt="Legg til i gjeldende spilleliste" title="Legg til i gjeldende spilleliste" /></a> </div>
    <div class="inline text">
    <span onClick="PlayerControl.browse('/browse/WiMP/2.5')" class="browseLink">Sommersanger</span>
    </div> </div>
    <img src="/static/images/playerControl/horizontal_rule.png" class="horizontalRule"/>
    </div> <div class="menuItem">
    <div> <script type="text/javascript">
    PlayerControl.addItem({"url":"https://www.mysqueezebox.com:443/api/wimp/v1/opml/playlistTracks?userOwned=1&title=Steinars%20liste& id=66c1c720-ddad-47b9-a98e-090c2f4e786a","duration":null,"title":"Steinars%20 liste"});
    </script> <img src="/static/images/spacer.gif" style="background-image:url(/public/imageproxy?w=34&u=http%3A%2F%2Fresources.tidal.com %2Fimages%2Fc2b9f106%2F45f6%2F4bdd%2F9e81%2Fcfc227 a576ff%2F1080x720.jpg);background-repeat:no-repeat;background-position:center" class="inline menuItemIcon"/>
    <div class="inline controls">
    <a href="#" onclick="SqueezeJS.Controller.request('https://www.mysqueezebox.com:443/browse/WiMP/2.6?cmd=play'); return false;"><img src="/static/images/b_play.gif" alt="Spill av denne." title="Spill av denne." /></a>
    <a href="#" onclick="SqueezeJS.Controller.request('https://www.mysqueezebox.com:443/browse/WiMP/2.6?cmd=add'); return false;"><img src="/static/images/b_add.gif" alt="Legg til i gjeldende spilleliste" title="Legg til i gjeldende spilleliste" /></a> </div>
    <div class="inline text">
    <span onClick="PlayerControl.browse('/browse/WiMP/2.6')" class="browseLink">Steinars liste</span>
    </div> </div>
    <img src="/static/images/playerControl/horizontal_rule.png" class="horizontalRule"/>
    </div> <div class="menuItem">
    <div> <script type="text/javascript">
    PlayerControl.addItem({"url":"https://www.mysqueezebox.com:443/api/wimp/v1/opml/playlistTracks?userOwned=1&title=Supervention&id=2 94bfdd7-06ec-4726-99c5-b78b2130d1b4","duration":null,"title":"Superventio n"});
    </script> <img src="/static/images/spacer.gif" style="background-image:url(/public/imageproxy?w=34&u=http%3A%2F%2Fresources.tidal.com %2Fimages%2F0e394836%2F94ab%2F4b40%2F8f49%2F4f3773 a53e53%2F1080x720.jpg);background-repeat:no-repeat;background-position:center" class="inline menuItemIcon"/>
    <div class="inline controls">
    <a href="#" onclick="SqueezeJS.Controller.request('https://www.mysqueezebox.com:443/browse/WiMP/2.7?cmd=play'); return false;"><img src="/static/images/b_play.gif" alt="Spill av denne." title="Spill av denne." /></a>
    <a href="#" onclick="SqueezeJS.Controller.request('https://www.mysqueezebox.com:443/browse/WiMP/2.7?cmd=add'); return false;"><img src="/static/images/b_add.gif" alt="Legg til i gjeldende spilleliste" title="Legg til i gjeldende spilleliste" /></a> </div>
    <div class="inline text">
    <span onClick="PlayerControl.browse('/browse/WiMP/2.7')" class="browseLink">Supervention</span>
    </div> </div>
    <img src="/static/images/playerControl/horizontal_rule.png" class="horizontalRule"/>
    </div> <div class="menuItem">
    <div> <script type="text/javascript">
    PlayerControl.addItem({"url":"https://www.mysqueezebox.com:443/api/wimp/v1/opml/playlistTracks?userOwned=1&title=Trine%20chillelis te&id=9d770765-bac2-4576-9ab9-8243dc9f9077","duration":null,"title":"Trine%20chi lleliste"});
    </script> <img src="/static/images/spacer.gif" style="background-image:url(/public/imageproxy?w=34&u=http%3A%2F%2Fresources.tidal.com %2Fimages%2F33ccf8c7%2F66f9%2F45fe%2F9a0b%2F96c852 946cd9%2F1080x720.jpg);background-repeat:no-repeat;background-position:center" class="inline menuItemIcon"/>
    <div class="inline controls">
    <a href="#" onclick="SqueezeJS.Controller.request('https://www.mysqueezebox.com:443/browse/WiMP/2.8?cmd=play'); return false;"><img src="/static/images/b_play.gif" alt="Spill av denne." title="Spill av denne." /></a>
    <a href="#" onclick="SqueezeJS.Controller.request('https://www.mysqueezebox.com:443/browse/WiMP/2.8?cmd=add'); return false;"><img src="/static/images/b_add.gif" alt="Legg til i gjeldende spilleliste" title="Legg til i gjeldende spilleliste" /></a> </div>
    <div class="inline text">
    <span onClick="PlayerControl.browse('/browse/WiMP/2.8')" class="browseLink">Trine chilleliste</span>
    </div> </div>
    <img src="/static/images/playerControl/horizontal_rule.png" class="horizontalRule"/>
    </div>
    <span id="crumblist">
    <span onClick="PlayerControl.browse('/browse/WiMP')" class="browseLink">&nbsp;/&nbsp;&nbsp;TIDAL</span>
    &nbsp;/&nbsp;Mine spillelister</span>
    </div>


  7. #7
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,430

    PC web browser can play tidal,

    > Referer: https://www.mysqueezebox.com/player/playerControl

    The non-working was

    Referer: https://mysqueezebox.com/player/playerControl

    Spot the difference ;-).

    That's an excellent catch! I'll have to look into this.

    --

    Michael

  8. #8

    PC web browser can play tidal,

    >>>>> Michael Herger <slim (AT) herger (DOT) net>:

    >> Referer: https://www.mysqueezebox.com/player/playerControl

    > The non-working was


    > Referer: https://mysqueezebox.com/player/playerControl


    > Spot the difference ;-).


    Thanks! I changed the URL to www.mysqueezebox.com on all of the problem
    browsers and now all of my android devices are able to stream music from
    tidal. :-)

    > That's an excellent catch! I'll have to look into this.


    I saw you're using nginx, maybe something like this? (NB! Untested!)

    server {
    listen 80;
    listen [::]:80;
    listen 443 ssl;
    listen [::]:443 ssl;

    server mysqueezebox.com;

    location / {
    return 301 https://www.mysqueezebox.com$uri;
    }
    }

    (the intent is to route both HTTP and HTTPS requests to mysqueezebox.com
    to HTTPS requests to www.mysqueezebox.com)


Posting Permissions

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