2024-12-10, 04:47 PM
(This post was last modified: 2024-12-11, 06:54 PM by mvallevand.)
I went to update an addon I wrote for v6 but when I checked I couldn't find it so I may never actually released it. That could explain the lack of feedback! The main purpose of NextRadio is to provide local radio to NextPVR using IPTV and or cheap SDR radio tuners.
To install
First unzip the attached into the NextPVR program folder, C:\Program Files\NextPVR or /opt/nextpvr/system/ and then
- on Windows delete the two JSON files and run NextRadio.exe,
- on Linux run sudo opt/dotnet/dotnet /opt/nextpvr/system/NextRadio.dll
1. For Internet radio
Running this will (should?) generate an m3u file with icons for IPTV in your data folder. On Windows go to IPTV and for the m3u file enter C:\Users\Public\NPVR-Data\Local Radio.m3u. On Linux that would be /var/opt/nextpvr/LocalRadio.m3u
The stations loaded will be the same as you have if you follow the link https://tunein.com/radio/local/ If that doesn't find your local stations go to https://tunein.com/radio/regions/ and navigate to the city that you want and check the URL it should end with -r#### Using Wellington NZ as an example that is https://tunein.com/radio/Stream-Wellington-r101620/ To manually add this you would add the parameter --rtid r101620 to the command The m3u file will be name CityName.m3u
If you want to confirm the radio stations that will be added use the --list parameter.
There are advanced options to install based on query too to add genres and specialized music. If you are interested let me know.
2. For SDR radio
SDR radio uses a program called rtl_fm to tune your FM stations. Windows and arm32 (for the RPi) programs are included but on Linux if you have it installed locally on Linux that will be used. Instead of IPTV an extra is created called extra-rtlfm.xml and you select that directly from the device list. You will need to refresh the Device list the first time to get it loaded.
The parameter to install SDR radio is --sdr In Canada and the the radio frequencies for you city are geolocated and loaded from this database https://db.wtfda.org/ For other countries all FM radio frequencies are selectable. You can add the --manual option in North America if your frequency is not showing.
After installing this I leave it to you to tweak the rtl_fm settings. These well be in Windows (C:\Users\Public\NPVR-data\scripts\nextradio\SDRadio.bat and Linux /var/opt/nextpvr/scripts/nextradio/SDRadio.sh Quite often the Internet radio will sound better but some users link to tinker with their hardware.
If you really only want SDR radio use --no-m3u
Icons for SDR radio will be added from Internet FM if they are found.
Happy listening.
Martin
To install
First unzip the attached into the NextPVR program folder, C:\Program Files\NextPVR or /opt/nextpvr/system/ and then
- on Windows delete the two JSON files and run NextRadio.exe,
- on Linux run sudo opt/dotnet/dotnet /opt/nextpvr/system/NextRadio.dll
1. For Internet radio
Running this will (should?) generate an m3u file with icons for IPTV in your data folder. On Windows go to IPTV and for the m3u file enter C:\Users\Public\NPVR-Data\Local Radio.m3u. On Linux that would be /var/opt/nextpvr/LocalRadio.m3u
The stations loaded will be the same as you have if you follow the link https://tunein.com/radio/local/ If that doesn't find your local stations go to https://tunein.com/radio/regions/ and navigate to the city that you want and check the URL it should end with -r#### Using Wellington NZ as an example that is https://tunein.com/radio/Stream-Wellington-r101620/ To manually add this you would add the parameter --rtid r101620 to the command The m3u file will be name CityName.m3u
If you want to confirm the radio stations that will be added use the --list parameter.
There are advanced options to install based on query too to add genres and specialized music. If you are interested let me know.
2. For SDR radio
SDR radio uses a program called rtl_fm to tune your FM stations. Windows and arm32 (for the RPi) programs are included but on Linux if you have it installed locally on Linux that will be used. Instead of IPTV an extra is created called extra-rtlfm.xml and you select that directly from the device list. You will need to refresh the Device list the first time to get it loaded.
The parameter to install SDR radio is --sdr In Canada and the the radio frequencies for you city are geolocated and loaded from this database https://db.wtfda.org/ For other countries all FM radio frequencies are selectable. You can add the --manual option in North America if your frequency is not showing.
After installing this I leave it to you to tweak the rtl_fm settings. These well be in Windows (C:\Users\Public\NPVR-data\scripts\nextradio\SDRadio.bat and Linux /var/opt/nextpvr/scripts/nextradio/SDRadio.sh Quite often the Internet radio will sound better but some users link to tinker with their hardware.
If you really only want SDR radio use --no-m3u
Icons for SDR radio will be added from Internet FM if they are found.
Happy listening.
Martin