Commit Graph

18 Commits

Author SHA1 Message Date
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