NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) v
1 2 3 4 5 … 20 Next »
Radio stations for NextPVR

 
  • 0 Vote(s) - 0 Average
Radio stations for NextPVR
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,087
Threads: 957
Joined: May 2006
#1
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


Attached Files
.zip   NextRadio-1.0.zip (Size: 476.94 KB / Downloads: 7)
.zip   NextRadio-1.1.zip (Size: 487.41 KB / Downloads: 19)
ElihuRozen
Offline

Senior Member

Massachusetts, USA
Posts: 514
Threads: 51
Joined: Apr 2006
#2
2024-12-11, 04:08 PM
In the Internet Radio section, for the Windows filename, you have "Local Radio.3mu" instead of "Local Radio.m3u".
Tuners: SD HDHR Prime (HDHR3-CC). SD HDHR Connect Quatro Tuner (HDHR5-4US) - only QAM.  EXVIST H.265 Encoder - capturing cable box.
Client: Odroid-N2 running knewc on KODI - connected via MoCA.
EPG: SchedulesDirect
Provider: Verizon Fios
Server: Dell XPS 8700 with Windows 10
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,087
Threads: 957
Joined: May 2006
#3
2024-12-11, 07:03 PM (This post was last modified: 2024-12-11, 07:04 PM by mvallevand.)
Thanks changed that

V 1.1. is available in post #1 this adds the option to get iHeartRadio stations in the US and Canada not found by RadioTime or TuneIn

By default iHeartRadio stations will be searched base on the market for the current lat and lon of your IP connection. To override the lat and lon for RadioTime and iHeartRadio the syntax there is a new parameter

--latlon lat,lon

eg --latlon 39.832,-98.623

You can find your actual lat and lon on Google Map URL after the @

This option overwrites the current "Local Radio.m3u"

Martin
pkscout
Offline

Senior Member

USA
Posts: 464
Threads: 50
Joined: May 2014
#4
2025-01-11, 07:34 PM
This unfortunately doesn't seem to work on the NextPVR docker container.  I figured out where to move the dll and the related files, and it does run, but after it gets a list of all the stations it generates an unhandled exception error.  I'm attaching a screenshot because the Synology Container Manager doesn't let you copy/paste out of a terminal window.  BTW, I did some searching and did try adding DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false to my Docker ENV variables, but it didn't help.

Thanks.


Attached Files Thumbnail(s)
   
pkscout
Offline

Senior Member

USA
Posts: 464
Threads: 50
Joined: May 2014
#5
2025-01-11, 07:52 PM
I downloaded NPVR for my Mac and managed to get NextRadio to generate the file for me, and I was able to grab that and move it to the config folder of my Docker instance and import it that way. So there's that I guess.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,087
Threads: 957
Joined: May 2006
#6
2025-01-11, 09:45 PM
Thanks I will have a look, it expect the issue is your Docker isn't being initialized with a locale or sub doesn't install the locale so you will get undefined date and time formats. In this case it probably doesn't like the . in the FM frequencies.

Martin
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,087
Threads: 957
Joined: May 2006
#7
2025-01-11, 10:44 PM
For now the simple solution is to assign the locale on the command line when you install,

So to install on Docker copy the zip file to your config folder then

Code:
sudo docker exec -t -i nextpvr /bin/bash
apt install unzip
unzip /config/NextRadio-1.1.zip
LC_ALL=en_US.UTF-8 dotnet NextRadio.dll
exit

You should probably assign a locale to your Docker anyway

Martin
pkscout
Offline

Senior Member

USA
Posts: 464
Threads: 50
Joined: May 2014
#8
2025-01-12, 02:17 AM
(2025-01-11, 10:44 PM)mvallevand Wrote: You should probably assign a locale to your Docker anyway

Thanks.  I found some instructions to install the locale stuff and add a few ENV variables.  I added the installs to my PreStartup.sh and added the ENV to the Docker compose.  I rebuilt the container and then installed NextRadio, and it worked as expected.  So success two ways now.
Siftingice
Offline

Junior Member

United States
Posts: 7
Threads: 1
Joined: Jul 2021
#9
2025-02-11, 10:05 PM
After installing and running Nextradio, I am missing  "C:\Users\Public\NPVR-data\scripts\nextradio\SDRadio.bat" file. Did I miss something or is the updated add-on still missing for v6? If so do I just need to downgrade to a previous version, or will it be updated? Please let me know.  Thanks.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,087
Threads: 957
Joined: May 2006
#10
2025-02-12, 08:32 AM
Did you use the -sdr option, I am not able to test at the moment? Only v8 and higher will be official supported and tested.

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Comskipped videos played back on NextPVR desktop application halt on commercial break mlopez1007 2 1,062 2023-07-03, 07:47 PM
Last Post: mvallevand
  OlSkool skin for NextPVR v6 Jaggy 0 1,091 2023-06-11, 03:59 AM
Last Post: Jaggy
  Nextpvr imports not playing in Kodi samwiliams33 25 4,846 2021-12-30, 03:20 PM
Last Post: mvallevand
  how to configure RemoteRecorder Plugin to use remote NextPVR instance? bm_00 5 3,092 2020-10-06, 12:32 PM
Last Post: mvallevand
  NextPVR Recording Service Monitor ChaosMageX 2 2,330 2019-09-23, 02:19 PM
Last Post: ChaosMageX
  Need nextPVR Add-on for testing using Kodi Version 19 jmooremcc 3 3,566 2019-06-28, 08:02 PM
Last Post: mvallevand
  NextPVR/Ceton InfiniTV Eth6/ FOIS /Copy Freely Locks up Dnabsuh 4 3,454 2019-03-01, 06:18 PM
Last Post: Dnabsuh
  New Plex Scanners for NextPVR W3bbo 2 4,525 2018-05-25, 07:23 AM
Last Post: W3bbo
  Comskip, NextPVR and Plex buckeyestargazer 4 8,102 2017-06-16, 07:58 PM
Last Post: scJohn
  NextPVR Recordings and MCEBuddy (Script) KV-Tools 6 8,053 2016-10-25, 11:50 PM
Last Post: snagglewest

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode