stash/ui
Maista 165528f7b6
Fix false positive mismatch in Movie Scrape dialog (#4144)
* Fix false positive mismatch in Movie Scrape dialog

Scraping a movie by URL would show a difference in duration because the
persisted value of duration was converted to HH:MM:SS while the newly
scraped value was displayed without formatting: this makes sense because
the newly scraped value is just a string and so could be anything

This adds a check to see if the string is a number and converts it to
HH:MM:SS format if possible

* Fallback to original value if not a number

---------

Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>
2023-09-25 13:05:24 +10:00
..
login Improve caching, HTTP headers and URL handling (#3594) 2023-04-19 13:01:32 +10:00
v2.5 Fix false positive mismatch in Movie Scrape dialog (#4144) 2023-09-25 13:05:24 +10:00
ui.go Improve caching, HTTP headers and URL handling (#3594) 2023-04-19 13:01:32 +10:00