* First cut at fsnotify support. Tested on Linux.
* Fixed bug in logging.
* Fixed lint issues.
* Added new scan watcher option to README.md
* Inverted conditional and dedented following code as per PR discussion.
* Changed command line switch and error return on ExecuteWatch() as per GH comments.
* Scan watcher: Removed scan at first start. Modified watcher to set a 10 second timer and then process in bulk.
Co-authored-by: Brian Doherty <brian@hplaptop.dohertyfamily.me>
* Found a podcast that returns 403 without a UserAgent string so I added one. URL is https://feeds.buzzsprout.com/132359.rss
* Fixed lint issues including needed error checking.
* DSub swaps fromYear and toYear so swap them back in that case. TBD -- fix the same logic in ServeGetRandomSongs
and never use db.Where() with a struct
gorm was seeing a query like
db.Where(Album{Left: left, Right: right})
but if the `left` variable was empty, gorm couldn't differentiate it with an empty field in the struct
so it generated SQL that we weren't expected
like
SELECT * FROM albums WHERE right=?
instead of
SELECT * FROM albums WHERE left=? AND right=?
fixes#230
* Found a podcast that returns 403 without a UserAgent string so I added one. URL is https://feeds.buzzsprout.com/132359.rss
* Fixed lint issues including needed error checking.
* Initial commit of internet radio support.
* Added first test for internet radio.
* Refactor to prepare for more test cases.
* Added a few more tests. Realized that I was not calling as admin so added ability to mock admin.
* Added more internet radio tests. Added proper JSON unmarshaling for ID.
* More test cases. Fixed some accidental tabs in files.
* Fixed some more tabs.
* lint fixes
* Changed placeholder for homepage URL to fit into box.
* Finished out internet radio test cases. Found a few bad error codes in internet radio AND podcasts (mea culpa).
* Realized that delete via website was not checking properly if id existed. Fixed.
gofmt
* Added https support. Will revert to http if either cert or key are empty strings.
* Update server/server.go
Co-authored-by: Senan Kelly <senan@senan.xyz>
* Fixed lint issues.
Co-authored-by: Senan Kelly <senan@senan.xyz>