Commit Graph

137 Commits

Author SHA1 Message Date
markjfine
ccbf22afcf
Added back urllib3 and OpenSSL req'ts
Needed for some new feature(s) tbd.
2021-04-25 23:20:32 -04:00
markjfine
bbc7410c4e
Last MusicBrainz tweak... honest
There's no magic bullet, but this seems to have the most impact.
2021-04-25 17:23:21 -04:00
markjfine
1bc01daf5b
More MusicBrainz refinement
Moved cover check inside the release check loop, and other things.
2021-04-25 12:07:14 -04:00
markjfine
395bd5782c
MusicBrainz data consistency
Added more robust checks to ensure routine wasn't blowing up due to missing or inconsistent data. Routine seems to be flowing correctly now.
Added a quick and tentative replacement for apostrophes in artist or title - might fix that part, but there are more fusion-type issues with 'and' vs '&', 'J.J.' vs 'JJ', etc.
2021-04-24 12:05:51 -04:00
markjfine
2128162fbf
Refined MusicBrainz Query
Moved query from releases to recordings, then limited the query to official releases with matches > 90%, for only singles, albums or EPs, and of course has a valid Front image.
2021-04-23 15:28:06 -04:00
markjfine
16877d83cd
MusicBrainz Query
Heavily tweaked the query from releases to 'official' recordings (which includes matching track names). Picks the first one that is above a 90% match for any single, album, or EP, and of course has a valid Front image. Seems to lean towards providing album covers, whereas the release query only gave you singles.
2021-04-23 15:25:47 -04:00
markjfine
aa49f2ae17
Fixed MusicBrainz download
Now downloading cover art using MusicBrainz API.
`urllib3` is no longer required.
2021-04-23 12:01:32 -04:00
markjfine
1143cdd853
Remove reference to OpenSSL
Remove OpenSSL requirements, since MusicBrainz doesn't require it.
2021-04-23 10:09:58 -04:00
markjfine
02a72d312a
Downloadable Album Art
Rewickered album art routines to download from MusicBrainz.
Requires new musicbrainzngs pip3 module.
2021-04-22 20:58:55 -04:00
markjfine
560cf47efd
Downloadable Album Art
Added back the widgets for downloading album art.
2021-04-22 20:56:04 -04:00
markjfine
3986adcfff
Downloadable Album Art
Feature is temporarily disabled until it is replaced with another service.
2021-04-22 16:15:59 -04:00
markjfine
94491599d3
Downloadable Album Art
Hidden while feature is temporarily disabled.
2021-04-22 16:15:12 -04:00
markjfine
4e324c38b9
PIL vs. Pillow
Removed silly PIL reference in favor of Pillow to hide my naivete on Python matters.
2021-04-22 12:16:00 -04:00
markjfine
1a3685c533
RTL_TCP IP address
Added instruction for setting up a remotely used RTL_SDR via rtl_tcp in Settings.
2021-04-22 12:01:52 -04:00
markjfine
67f74a8f98
RTL_TCP IP address
Added instruction under Settings for using remote RTL_SDRs via rtl_tcp.
2021-04-22 12:00:43 -04:00
markjfine
db9ec8c7d8
RTL_TCP IP address usage
Added ability to use nrsc5 with a remote RTL_SDR via rtl_tcp. IP address and switch settings are also saved to/recalled from the configuration file for later use.
2021-04-22 11:39:55 -04:00
markjfine
6c5fda36a4
RTL_TCP IP Address
Added entry and selection of IP address for using RTL_SDR remotely via rtl_tcp.
2021-04-22 11:36:46 -04:00
markjfine
18e94589e3
Logos for Multiple Streams
Applying station logos to the appropriate streams as they are received, regardless if the logo is assigned to the stream that is currently playing. This allows you to switch to another stream and see it's logo, if previously downloaded.
Also modified the way covers are displayed so they don't appear prematurely: The `LOT` number of the image file must match that of the `XHDR` in order for it to be displayed.
2021-04-20 13:52:52 -04:00
markjfine
793e03da7e
Display of logo images
Fixes display of logo images regardless of XHDR state if no image is currently displayed.
2021-04-19 19:53:27 -04:00
markjfine
33e6e9b7be
Image bug
Fixed bug where images using "jpeg" (vice "jpg") were being ignored. Mostly affects some stations that use that format for album art.
2021-04-19 16:17:23 -04:00
markjfine
23a232c7e7
Station logo
Fixed a timing bug where the track info trigger wasn't properly displaying the station logo when it changes to an info/slogan.
2021-04-09 15:59:56 -04:00
markjfine
d46533a96c
Tuning via Bookmarks
Fixed a timing bug when re-tuning from a current station by double-clicking a bookmark, causing a whole host of problems. The bookmark click kills the current nrsc5 process then restarts with new freq and stream number. In some instances, the polling loop keeps plugging away and doesn't know the nrsc5 was killed. Adding a short 1 second delay between killing and re-tuning fixes the problem and allows processes the appropriate time to synch up.
2021-04-08 10:21:41 -04:00
markjfine
abf7c79e37
more image references
Forgot to include radar key in map display.
2021-04-08 08:57:44 -04:00
markjfine
124fe482d4
Delete nrsc5-dui.py 2021-04-08 08:57:07 -04:00
markjfine
807790ff38
more image references
forgot to add reference to radar key in map display.
2021-04-08 08:56:30 -04:00
markjfine
6276e4fa9f
image reference
moved image references from glade to main program to reduce potential resource conflicts.
2021-04-08 08:54:11 -04:00
markjfine
88c16364be
image references
Moved image loading from glade to this. Allows consistent use of res directory and removes potential resource conflicts.
2021-04-08 08:46:07 -04:00
markjfine
1b56f4324f
image references
Move image loading to main application to reduce probability of resource conflicts.
2021-04-08 08:44:30 -04:00
markjfine
3347ab3811
Device detection
If no device is found when Play is clicked, synch pilot will turn red and attempt to play will be halted.
This fixes a critical error where the app will crash if nrsc5 determines no device is available.
2021-04-07 07:47:26 -04:00
markjfine
6520b9ab66
Device Failure pilot
Set appropriate tooltip for red pilot.
2021-04-07 07:42:49 -04:00
markjfine
9e36095d13
Stream controls
Enable/disable stream controls depending upon whether a valid stream exists.
2021-04-06 16:26:20 -04:00
markjfine
b225ca9ddd
More minor tweaks
More cleanup and bugfixes.
2021-04-05 09:26:11 -04:00
markjfine
a8109b8f8d
Album Art and Other Tweaks
Stripped extra artists from the search and save routine to give better search results.
Also moved the automated album art display to be after station cover and logo detection.
Other minor tweaks.
2021-04-03 17:19:54 -04:00
markjfine
458cecd278
Update README.md 2021-04-02 15:27:36 -04:00
markjfine
c9d1cd283c
Added Automated Cover Downloads
If selected by the user, the application will detect if the ID3 information changed. If so, it will check the new information on Discogs and download the appropriate album art. If no album art is found, it will load the station's logo, if present.
2021-04-02 15:21:18 -04:00
markjfine
d6806bd7e7
Download Covers checkbox
Added a chekcbox to allow automated download of album art.
2021-04-02 15:18:28 -04:00
markjfine
f80d20edcd
About update
More changes to about box data.
2021-04-02 06:00:54 -04:00
markjfine
565b6c6c24
About bug
Fixed location of about logo to res/
2021-04-02 05:49:38 -04:00
markjfine
b0163a7ed3
Eliminated GdkThread and GtkImage Warnings
Removed the GdkThread entirely since:
1. It seems unnecessary without the API calls.
2. It's deprecated - all Gtk/Gdk calls should be in the main thread anyway.

Also changed the references using the stock image to use the icon "MISSING_IMAGE" to eliminate those deprecation warnings.
2021-04-01 18:17:21 -04:00
markjfine
157568be1a
Updated with changes 2021-04-01 16:42:40 -04:00
markjfine
ecd5ae248c
Use Bookmark names
Use bookmark names instead of blanks, MPS/SPSx, or HDx, if available.
2021-04-01 16:05:47 -04:00
markjfine
c895ba9fbc
nrsc5 path, ID3 tooltips
1. Added argument for absolute path (with final slash) to nrsc5 if needed, defaults to no path. If absolute path to nrsc5 is required, can now invoke with:
`python3 nrsc5-dui.py /usr/local/bin/`
2. Added tooltips to ID3 info (title, artist, album, genre) in case it exceeds display limitations.
2021-04-01 10:45:06 -04:00
markjfine
2150df1a4e
ID3 Info
Ellipsize title, artist, album, genre info for when it exceeds display limitations to show there's more there.
2021-04-01 10:41:31 -04:00
markjfine
5819e77a17
Redundant 2021-04-01 10:39:39 -04:00
markjfine
36e833fa8c
Redundant 2021-04-01 10:39:31 -04:00
markjfine
e4075bfe29
Redundant 2021-04-01 10:39:23 -04:00
markjfine
468ff89996
Redundant 2021-04-01 10:39:15 -04:00
markjfine
8f39fbd380
Redundant 2021-04-01 10:39:06 -04:00
markjfine
b7206ecfdd
Redundant 2021-04-01 10:38:59 -04:00
markjfine
fd4b347df2
Redundant 2021-04-01 10:38:49 -04:00