SDR# Updated SDR# plug-in Short-wave.info

Status
Not open for further replies.

thewraith2008

Member
Joined
Nov 22, 2016
Messages
1,845
I was bored again, thought I'd update 'Short-wave.info' plug-in to work with the latest SDR#

T154BFW.png

YUgShXX.png



Code:
===============================================================================
Short-wave.info - SDR# plug-in v1.0.7210.31212        updated 28 September 2019
===============================================================================

 - Original code by randaller ??
 - Updated code by thewraith2008

Description:
 When 'Enabled'and frequency is in a shortwave band, it tries to get SW station name
  and language from short-wave.info website. (Will show more than one if listed)

 Short-wave.info plug-in has been updated for use with SDR# 1362+
 - Only tested on SDR# v1.0.0.1700
 - Added some features to original (see changelog).


===============================================================================
To use:

 Copy 'SDRSharp.ShortWaveInfo.dll' to your SDR# folder

 Add following line to 'Plugins.xml' in your SDR# folder.

   <add key="SW Info" value="SDRSharp.ShortWaveInfo.ShortWaveInfoPlugin, SDRSharp.ShortWaveInfo" />


 Click 'Enable' to start query (every 5 seconds) of 'Station ID' and language.
 
Query will only occur if:
 - Frequency is between 2-30 MHz.
 - Frequency is in one of the shortwave bands.
          (120,90,75,60,49,41,31,25,22,19,16,15,13,11 and time signal frequencies 2.5, 5 ,10 ,15 ,20 MHz)
 - If frequency is different to last seen queried frequency (is polled ever 5 seconds).

 The above is done so it does not hammer the Short-wave.info web site if left enabled.

 Use UpDown numberbox to change query width.
 - e.g. If frequency is 10000 KHz. It will query any station ID between 9991-10009 Khz.


===============================================================================
Changelog:

 v1.0.7210.31212 - Initial Update
 - Updated to work with .NET 4.6
 - Fixed plug-in to address changes in the SDR# plug-in interface that have
    occurred since plug-in was last changed around SDR# (201?)
 - Fixes the query string.
 - Shows all station IDs/language for frequency.
 - Allow larger Station ID and language strings.
 - Will only query station ID if frequency is between 2-30 MHz and in a shortwave band.
 - Added search width (0<>9Khz). Will search for station ID +- current frequency.
 - Added/changed some some of the shown messages.

 HASH: c93a1578800d1d3257100f8b6b50063b

===============================================================================

Created update code sourced from:
 https://sourceforge.net/projects/sdrsharpshortwaveinfoplugin/

Download

HASH: 2c0113b2ae560cf10779d4dd8b09877f
 

thewraith2008

Member
Joined
Nov 22, 2016
Messages
1,845
Just an update
Code:
 v1.0.7210.36479
 - FIXED: Add space between frequency and 'KHz' for 'unknown station'.
 - FIXED: Will now only show the 'On Air' station IDs

 HASH: 39cd7e5fa608ca4e07cd399295d31270


Download

HASH: 1bb3fcaa1bf53290aa200bf8f29ee018
 

thewraith2008

Member
Joined
Nov 22, 2016
Messages
1,845
Just another update
PSqOOZE.png


Code:
 v1.0.7212.21391

 CHANGED: The 'Enable' plug-in label and added web link to 'short-wave.info'

 CHANGED: Expanded frequency ranges for bands at 31m, 41m, 49m, 60m  to handle some out-of-band broadcasts.
           31m - 9.4-9.9 - (9.25-10.06) NOTE: Time signal @ 10000 KHz seen here.
           41m - 7.2-7.455 - (7.1-7.5)
           49m - 5.9-6.2 - (5.85)
           60m - 4.75-4.995 - (5.06) NOTE: Time signal @ 5000 KHz seen here.
          I can expand all these bands further, but I don't really know to what values.

 CHANGED: Query logic, to minimize contacting short-wave.info
 - Frequencies (and StationIDs) are temporary stored in a list for a session.
    These are stored for 60 minutes before clearing.
    - When cleared and still on same frequency, it will update that frequency StationIDs.
    If a stored frequency is reselected, then the StationIDs for that frequency
     are retrieved from the stored list.
    Frequencies are queried/stored rounded to the nearest 0 or 5 Khz.
    - e.g. 5000. Frequency changes from 4997 to 5002 will be seen as 5000.
    - e.g. 5005. Frequency changes from 5003 to 5007 will be seen as 5005.
    - When within ranges above, then no query will occur as it's deemed same frequency.
    Adjustments in Hz (0-999) are ignored.

 CHANGED: Adjusting +- KHz for queries frequency range now forces update for
           that frequency.

 ADDED: Time (GMT) to UI (Only updated while plug-in is 'Enabled')

 CHANGED: To a smaller font to fit more information in.

 ADDED: Station start-stop time, Station TX site
   StationID
   - Station frequency (helps when more then one enrty is retrieved and using higher +- KHz value)
   - Station Start-Stop time (in GMT)
   - Language
   - TX Site

 CHANGE: When SDR# 'Stop' is pressed, then it will also disable this plug-in.
         - Will need to manually re-enable if 'Play' pressed again.

 ADDED: Changing frequency delays query until frequency idle again.

 CHANGED: Initial +-KHz value to 2 KHz. (currently this value is not saved)


 NOTE: No settings or station details are saved.


HASH: aa1b4104a5fd9715aee8ab929dd011b9


Download

HASH: 02cd419b90821c47eedebe85a8d30104
 

thewraith2008

Member
Joined
Nov 22, 2016
Messages
1,845
Just another small update (probably final)


Code:
 v1.0.7213.23074

 ADDED: Colors to GMT (Time) to indicate station update state.
 - Red is updating disabled.
 -- Seen before plug-in is enabled or when it's disabled.
 - Orange is indicating it's waiting for next (timer) poll to update the station information.
 -- Seen when first started or when frequency is changed.
 - Black is enabled and idle.

 CHANGED: Expanded frequency ranges again for bands at 22m, 25m, 31m, 49m  to handle some out-of-band broadcasts.
           22m - 13.5-13.87 (13.5)
           25m - 11.6-12.1 (11.5)
           31m - 9.4-9.9 - (9.2-10.06) NOTE: Time signal @ 10000 KHz seen here.
           49m - 5.9-6.2 - (5.85-6.6)

 ADDED: 'Defined_shortwave_bands.txt' to package to show used SW band ranges.

 HASH: 32c221633d629be702f998219fbf3319


Download

HASH: 2ebbd44e8392517a15288f9694e1abd3
 

Tekkie2

Newbie
Joined
Feb 6, 2020
Messages
4
Thanks for reviving such a great plugin, it makes shortwave listening easier with SDR#. Unfortunately it seems to have stopped working again as of a couple of weeks ago. Even strong stations that are listed on the short-wave.info website are showing as unknown by the plugin. Perhaps they have slightly changed their format?
 

thewraith2008

Member
Joined
Nov 22, 2016
Messages
1,845
Thanks for reviving such a great plugin, it makes shortwave listening easier with SDR#. Unfortunately it seems to have stopped working again as of a couple of weeks ago. Even strong stations that are listed on the short-wave.info website are showing as unknown by the plugin. Perhaps they have slightly changed their format?
Thanks for the feedback

Update to follow
 

thewraith2008

Member
Joined
Nov 22, 2016
Messages
1,845
Updated SDR# plug-in Short-wave.info


Code:
 v1.0.7342.32819

 FIXED: Parsing response to request was not seeing expected string.
 - Not sure how it was working to begin with, the fix is what string should have been all along.

 FIX: Link to 'Shortwave.info' was not openning because of pointing to the wrong control.

 CHANGED: Link to 'Shortwave.info' opens one of the following ways:
 - If plug-in not started then will just open the default web site
 - If plug-in started and not tuned with-in one of the defined shortwave bands, then will just open the default web site.
 - If plug-in started and tuned with-in one of the defined shortwave bands, then will open main web site retrieving
    the current activity for the current shortwave band.

CHANGED: Display GMT regardless of plug-in state.
CHANGED: Increase GMT font size.

ADDED: Show current shortwave band. (Displayed next to GMT)
- Will display '?m' when not in a shortwave band.

CHANGED: A tuned station that is identified as 'unknown', will do an update every 5 minutes until it is identified.
          Once identified, it will go back to checking details every 60 minites.

 HASH: 74311c9b1db26de35266eb802348a87b

Download

HASH: a6c82742ca7dbf78a34e0b73f24d9003
 

Tekkie2

Newbie
Joined
Feb 6, 2020
Messages
4
Thanks for the quick response and new features, it's working well again now. Keep up the good work!
 

Tekkie2

Newbie
Joined
Feb 6, 2020
Messages
4
If you'd consider a feature for a possible future update, I'd like the option to look up stations outside the officially-defined shortwave bands, but still listed on short-wave.info (such as WRMI, which can regularly be found on frequencies such as 5800, 7570, and 7780 kHz).
 

thewraith2008

Member
Joined
Nov 22, 2016
Messages
1,845
Updated SDR# plug-in Short-wave.info

Code:
 v1.0.7346.20683

 CHANGED: By request: Expanded short-wave bands to be what Short-wave.info uses.
 - Exceptions are 49m, 41m and 31m which are slightly larger.
   See 'Defined_shortwave_bands.txt'

 HASH: 689c0ffbcf522ecd20155b73ecb3917e

NOTE: Frequencies that 'Short-wave.info' have that are not shortwave broadcasts, are not shown unless they fall inside the existing defined extended SW bands.
I have tried to minimize hammering to this guys site every time the frequency is changed.
If you wish to see these frequencies just go to 'Short-wave.info' site.

Download

ZIP HASH: 47fed0e227b8b4e920aad9ade598cfcf
 

Tekkie2

Newbie
Joined
Feb 6, 2020
Messages
4
Thanks again, I totally understand about not wanting to abuse the website. The new plugin does not seem to have appeared on mega.nz yet.
 

thewraith2008

Member
Joined
Nov 22, 2016
Messages
1,845
Updated SDR# plug-in Short-wave.info

Update mainly adds AOKI local file database lookup (see changelog for usage) with other minor changes.
The local lookup at this stage is somewhat experimental but seems to be OK from what testing I've done.

Code:
 v1.0.7352.27437

 ADDED: Local frequency lookup using the AOKI xlsx file.
 - Could be useful if 'Short-wave.info' site goes down.
 - Advantage is faster lookups and should still work same as 'Short-wave.info'.
 -- Will show all frequencies in list (NOTE: Frequencies below 2300 KHz are filtered out of AOKI list.
 - To use, the 'Excel.dll' must be present in SDR# folder (at program start).
   Right click 'Short-wave.info' link in SDR# side-panel to toggle. (and again to return back)
 -- Select AOKI 'xlsx' file (that has been downloaded by you)
 - Left clicking 'AOKI list' allows for file selection.
 -- Loading list may cause slight delay as it is loaded.
 - This list may have differences to what is shown via 'Short-wave.info'.
 -- These differences may be that 'Short-wave.info' does additional processing to the standard AOKI list.
 - Checks if file still exists on load, if not returns to 'Short-wave.info' lookup.

NOTE: AOKI list was chosen because it is what 'Short-wave.info' uses and it does not require additional processing to convert the unusual or abbreviated columns. (like EiBi or HFCC)

 CHANGED: Added more defined bands (metres) to indicate.
 - Shortwave broadcast bands (2.3 through to 26.2)
 - Ham bands (1.8 through to 29.7 MHz)
 - MW broadcast (530-1701 KHz)
 - LW (anything below 300 KHz)
 - HF - For anything that is not defined above

 CHANGED: Added newline between each station entry shown.

 CHANGED: Search width value is now saved. [Default=2]

Download

ZIP HASH: 32acbe47c75c2df8d8dfe744fc10ad7a
 
Status
Not open for further replies.
Top