stsaz / phiola

Fast audio player, recorder, converter for Windows, Linux & Android
BSD 2-Clause "Simplified" License
116 stars 7 forks source link

Connect to web radio #51

Open Ducke1001 opened 3 days ago

Ducke1001 commented 3 days ago

I have many stations that I cannot hear with phiola. Here is a small list with the corresponding error message:

`D:\Programmierung\wxbasic\Projects\dsmPlayer\ThirdParty\phiola-2>phiola http://timesradio.wireless.radio/stream?ref=rf

57988 ERROR dir open: http://timesradio.wireless.radio: Die Syntax für den Dateinamen, Verzeichnisnamen oder die Datenträgerbezeichnung ist falsch

phiola "http://timesradio.wireless.radio/stream?ref=rf"

31980 ERROR dir open: http://timesradio.wireless.radio: Die Syntax für den Dateinamen, Verzeichnisnamen oder die Datenträgerbezeichnung ist falsch

phiola "http://176.9.86.211:8023/stream φphiola v2.2.7 (windows-amd64)

phiola "http://streaming.radionomy.com/JamendoLounge?lang=en-US%2cen%3bq%3d0.5"

56056 ERROR dir open: http://streaming.radionomy.com: Die Syntax für den Dateinamen, Verzeichnisnamen oder die Datenträgerbezeichnung ist falsch

phiola "http://159.69.217.78:8000/?radio=radio2000.mp3"

37804 ERROR dir open: http://159.69.217.78:8000: Die Syntax für den Dateinamen, Verzeichnisnamen oder die Datenträgerbezeichnung ist falsch

phiola "http://schlager.stream.laut.fm/schlager?pl=m3u&t302=2018-07-27_15-18-07&uuid=4c44a06e-f324-4ca3-8fa5-75e8dfe968a4"

63308 ERROR dir open: http://schlager.stream.laut.fm: Die Syntax für den Dateinamen, Verzeichnisnamen oder die Datenträgerbezeichnung ist falsch

phiola "http://nrj.de/muenchen" φphiola v2.2.7 (windows-amd64) 18:57:28.465 #59048 ERROR http-client: *1: auto-switching to secure HTTP isn't supported yet

phiola-2>phiola "https://player.ffn.de/radioffn.mp3" φphiola v2.2.7 (windows-amd64) 18:58:47.790 #51268 ERROR http-client: *1: auto-switching to plain HTTP isn't supported yet

phiola "http://campusfm.de" φphiola v2.2.7 (windows-amd64) 18:59:33.268 #41440 ERROR http-client: resource unavailable: 400 Bad Request

phiola "http://www.antenne.de/webradio/channels/80er-kulthits.m3u" φphiola v2.2.7 (windows-amd64) 19:01:10.661 #48788 ERROR http-client: *1: auto-switching to secure HTTP isn't supported yet

phiola "http://185.33.21.111/costadelmarchillout_128" φphiola v2.2.7 (windows-amd64) 19:02:32.001 #57072 WARN http-client: 1: connect to 185.33.21.111 (185.33.21.111:80): (121) Das Zeitlimit für die Semaphore wurde erreicht 19:02:32.002 #57072 ERROR http-client: 1: no next address to connect`

"resource unavailable" probably means that the address does not exist. In contrast, "Das Zeitlimit für die Semaphore wurde erreicht" probably means that the address does exist, but no connection could be established.

Can you take a look at the other addresses or error messages and fix the errors or ensure support?

stsaz commented 2 days ago

Hi! Several issues here:

  1. (Windows) URLs with ? character do not work because phiola thinks it's a local path wildcard.

    phiola http://timesradio.wireless.radio/stream?ref=rf
    #57988 ERROR dir open: http://timesradio.wireless.radio: Die Syntax für den Dateinamen, Verzeichnisnamen oder die Datenträgerbezeichnung ist falsch
  2. URLs with query strings are not passed to server.

  3. phiola can't redirect between http and https URLs. Known issue.

    ERROR http-client: *1: auto-switching to secure HTTP isn't supported yet

  4. Can you check if any other player plays this stream? Maybe the server expects some additional HTTP request headers...

    phiola "http://campusfm.de"
    φphiola v2.2.7 (windows-amd64)
    18:59:33.268 #41440 ERROR http-client: resource unavailable: 400 Bad Request
  5. This is pure network error.

    WARN http-client: *1: connect to 185.33.21.111 (185.33.21.111:80): (121) Das Zeitlimit für die Semaphore wurde erreicht

So the issues 1 & 2 are easy to fix; issue 3 may take some time. Issue 4 - if you can make another player work with this URL - please post some details, I'll look into it.