Commit Graph

33 Commits

Author SHA1 Message Date
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
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
3986adcfff
Downloadable Album Art
Feature is temporarily disabled until it is replaced with another service.
2021-04-22 16:15:59 -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
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
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
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
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
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
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
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
f6bf5028c0
Cleaned up interface a little
1. Changed ID3 data in Track Info to labels vice entry boxes.
2. Made all labels uniform with titles right-justified and ending with a colon, data labels left-justified.
3. Added a hand cursor to the stream info in the Station Info tab to signify they may be clicked.
2021-03-31 10:44:30 -04:00
markjfine
f03bb10125
Consistent traffic timestamp sizing
Made timestamp appear to be the same size as the weather map.
2021-03-30 07:07:38 -04:00
markjfine
5a4886ad65
Traffic map timstamp
Added a timestamp to the traffic maps so you know how much it's aged.
2021-03-29 19:19:58 -04:00
markjfine
c643f02e63
Separate map display issues
1. Added back the connection to callbacks for the whole window to enable all of the controls. (bizarre)
2. Fixed animation, which wouldn't work without a valid list of maps to display - regex anticipated the path to start with the `map` directory instead of the whole path from root.
2021-03-28 20:48:01 -04:00
markjfine
157419e838
smooth stream switch
Fixed using pty and select to pipe streamNum to a running nrsc5 without disrupting process operation.
2021-03-28 14:52:44 -04:00
markjfine
1f1aaaa556
Covers/Logos
Fixed the way the images were displaying. The images may still be latent because of erratic station transmission, but the application will be able to properly display when it does. Also, station logos are now being properly cached in StationLogos.json
2021-03-28 02:09:32 -04:00
markjfine
1f6d5c180a
Add files via upload 2021-03-27 16:22:48 -04:00