sentriz / gonic

music streaming server / free-software subsonic server API implementation
ircs://irc.libera.chat/#gonic
GNU General Public License v3.0
1.5k stars 105 forks source link

Missing Internet Radio Stations #417

Closed tpeacock19 closed 7 months ago

tpeacock19 commented 7 months ago

gonic version: v0.16.1

I just recently updated from 0.15.2 and on the Play:Sub ios application, I no longer see the radio stations that I have added to gonic. I don't really know how to troubleshoot this, but if there is anything I can do to help please let me know. Thanks!

sentriz commented 7 months ago

hmm interesting

could you visit http://GONICIP:GONICPORT/rest/getInternetRadioStations?u=USERNAME&p=PASSWORD&c=c&f=json and show the output?

also, the output of

$ sqlite3 path/to/your/gonic.db "select * from internet_radio_stations"

tpeacock19 commented 7 months ago

Apologies for getting back to this late. I forgot I even submitted the issue. I'll be more responsive from here on, but here is the output from those commands:

API Output

{
  "subsonic-response": {
    "status": "ok",
    "version": "1.15.0",
    "type": "gonic",
    "serverVersion": "0.16.1",
    "openSubsonic": true,
    "internetRadioStations": {
      "internetRadioStation": [
        {
          "id": "ir-1",
          "name": "BBC London",
          "streamUrl": "http://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/http-icy-mp3-a/vpid/bbc_london/format/pls.pls",
          "homepageUrl": "https://www.bbc.co.uk/sounds/play/live:bbc_london"
        },
        {
          "id": "ir-2",
          "name": "BBC 5 Sports Extra",
          "streamUrl": "https://www.radiofeeds.net/playlists/bbc5livesportsextra.pls",
          "homepageUrl": "http://www.bbc.co.uk/5livesportsextra/"
        },
        {
          "id": "ir-3",
          "name": "NTS Radio 1",
          "streamUrl": "http://listen2.ntslive.co.uk/listen.pls",
          "homepageUrl": "https://www.nts.live/schedule"
        },
        {
          "id": "ir-4",
          "name": "NTS Radio 2",
          "streamUrl": "http://stream-relay-geo.ntslive.net/stream2",
          "homepageUrl": "https://www.nts.live/schedule"
        },
        {
          "id": "ir-5",
          "name": "Radio France FIP",
          "streamUrl": "https://icecast.radiofrance.fr/fip-hifi.aac?id=radiofrance",
          "homepageUrl": "https://www.radiofrance.fr/fip"
        },
        {
          "id": "ir-6",
          "name": "Radio France FIP Jazz",
          "streamUrl": "https://icecast.radiofrance.fr/fipjazz-hifi.aac?id=radiofrance",
          "homepageUrl": "https://www.radiofrance.fr/fip"
        },
        {
          "id": "ir-7",
          "name": "Radio France FIP Groove",
          "streamUrl": "https://icecast.radiofrance.fr/fipgroove-hifi.aac?id=radiofrance",
          "homepageUrl": "https://www.radiofrance.fr/fip"
        },
        {
          "id": "ir-8",
          "name": "Radio France Mouv",
          "streamUrl": "https://icecast.radiofrance.fr/mouv-hifi.aac?id=radiofrance",
          "homepageUrl": "https://www.radiofrance.fr/mouv"
        },
        {
          "id": "ir-9",
          "name": "TSF Jazz",
          "streamUrl": "https://tsfjazz.ice.infomaniak.ch/tsfjazz-high.mp3",
          "homepageUrl": "https://www.tsfjazz.com/"
        },
        {
          "id": "ir-10",
          "name": "Netil Radio",
          "streamUrl": "https://netilradio.out.airtime.pro/netilradio_a",
          "homepageUrl": "https://www.netilradio.com/"
        },
        {
          "id": "ir-11",
          "name": "SomaFM Groove Salad",
          "streamUrl": "https://somafm.com/m3u/groovesalad130.m3u",
          "homepageUrl": "https://somafm.com/groovesalad/"
        },
        {
          "id": "ir-12",
          "name": "SomaFM Drone Zone",
          "streamUrl": "https://somafm.com/m3u/dronezone130.m3u",
          "homepageUrl": "https://somafm.com/dronezone/"
        },
        {
          "id": "ir-13",
          "name": "SomaFM Vaporwaves",
          "streamUrl": "https://somafm.com/m3u/vaporwaves130.m3u",
          "homepageUrl": "https://somafm.com/vaporwaves/directstreamlinks.html"
        },
        {
          "id": "ir-14",
          "name": "SomaFM Lush",
          "streamUrl": "https://somafm.com/m3u/lush130.m3u",
          "homepageUrl": "https://somafm.com/lush/directstreamlinks.html"
        },
        {
          "id": "ir-15",
          "name": "SomaFM 7\" Soul",
          "streamUrl": "https://somafm.com/m3u/7soul130.m3u",
          "homepageUrl": "https://somafm.com/7soul/"
        },
        {
          "id": "ir-16",
          "name": "Worldwide FM",
          "streamUrl": "http://worldwidefm.out.airtime.pro:8000/worldwidefm_a",
          "homepageUrl": "http://worldwidefm.net/"
        },
        {
          "id": "ir-18",
          "name": "Disco Studio 54",
          "streamUrl": "http://149.56.147.197:8307/stream?1516542990510",
          "homepageUrl": "http://www.discostudio54.com/"
        },
        {
          "id": "ir-19",
          "name": "The Lot Radio",
          "streamUrl": "https://playback.livepeer.studio/hls/3612a961j4sy3l7q/index.m3u8",
          "homepageUrl": "https://www.thelotradio.com/"
        },
        {
          "id": "ir-20",
          "name": "Hope St Radio",
          "streamUrl": "http://hopestreetradio.out.airtime.pro:8000/hopestreetradio_a",
          "homepageUrl": "https://www.hopestradio.community/"
        }
      ]
    }
  }
}

Output from sqlite

gonic@gonic:/var/lib/gonic$ sqlite3 /var/lib/gonic/gonic.db "select * from internet_radio_stations"
1|http://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/http-icy-mp3-a/vpid/bbc_london/format/pls.pls|BBC London|https://www.bbc.co.uk/sounds/play/live:bbc_london
2|https://www.radiofeeds.net/playlists/bbc5livesportsextra.pls|BBC 5 Sports Extra|http://www.bbc.co.uk/5livesportsextra/
3|http://listen2.ntslive.co.uk/listen.pls|NTS Radio 1|https://www.nts.live/schedule
4|http://stream-relay-geo.ntslive.net/stream2|NTS Radio 2|https://www.nts.live/schedule
5|https://icecast.radiofrance.fr/fip-hifi.aac?id=radiofrance|Radio France FIP|https://www.radiofrance.fr/fip
6|https://icecast.radiofrance.fr/fipjazz-hifi.aac?id=radiofrance|Radio France FIP Jazz|https://www.radiofrance.fr/fip
7|https://icecast.radiofrance.fr/fipgroove-hifi.aac?id=radiofrance|Radio France FIP Groove|https://www.radiofrance.fr/fip
8|https://icecast.radiofrance.fr/mouv-hifi.aac?id=radiofrance|Radio France Mouv|https://www.radiofrance.fr/mouv
9|https://tsfjazz.ice.infomaniak.ch/tsfjazz-high.mp3|TSF Jazz|https://www.tsfjazz.com/
10|https://netilradio.out.airtime.pro/netilradio_a|Netil Radio|https://www.netilradio.com/
11|https://somafm.com/m3u/groovesalad130.m3u|SomaFM Groove Salad|https://somafm.com/groovesalad/
12|https://somafm.com/m3u/dronezone130.m3u|SomaFM Drone Zone|https://somafm.com/dronezone/
13|https://somafm.com/m3u/vaporwaves130.m3u|SomaFM Vaporwaves|https://somafm.com/vaporwaves/directstreamlinks.html
14|https://somafm.com/m3u/lush130.m3u|SomaFM Lush|https://somafm.com/lush/directstreamlinks.html
15|https://somafm.com/m3u/7soul130.m3u|SomaFM 7" Soul|https://somafm.com/7soul/
16|http://worldwidefm.out.airtime.pro:8000/worldwidefm_a|Worldwide FM|http://worldwidefm.net/
18|http://149.56.147.197:8307/stream?1516542990510|Disco Studio 54|http://www.discostudio54.com/
19|https://playback.livepeer.studio/hls/3612a961j4sy3l7q/index.m3u8|The Lot Radio|https://www.thelotradio.com/
20|http://hopestreetradio.out.airtime.pro:8000/hopestreetradio_a|Hope St Radio|https://www.hopestradio.community/
tpeacock19 commented 7 months ago

If you have a suggestion for another client that shows radio stations, i'd be happy to test it to see if it is just play:Sub. I tried downloading a few on iOS, but none of them seem to offer the feature.

I have tried logging into my Admin & normal user Gonic accounts and neither of them work.

sentriz commented 7 months ago

@brian-doherty are internet radio stations working for you? they work for me at least. otherwise i'll have to classify this as a play:Sub issue

brian-doherty commented 7 months ago

They work for me, and that output above looks compliant. My advice would be to submit the issue to the play:Sub team and see if they have a different opinion.

sentriz commented 7 months ago

thanks @brian-doherty yes I agree :+1: apologies @tpeacock19

tpeacock19 commented 7 months ago

Thank you both, I appreciate it. Do you mind sharing what clients you both are using where it does work?

brian-doherty commented 7 months ago

DSub.

sentriz commented 7 months ago

airsonic-refix here :+1: even on mobile it works great as a PWA