Skip to content

[Bug] Updated date not updating when metadata is auto fetched #186

Description

@cosmo5001

What went wrong?

When the server is auto fetching metadata the updated date is not changing for updated items.

Steps to reproduce

  1. Have items with less than ideal metadata
  2. Set the library to auto fetch metadata
  3. Sort by updated date

Expected vs actual behavior

The updated date does not change when metadata is auto fetched.

Your setup

BookOrbit: sha-cbcdf019ad3e (main)
Docker on Linux

Relevant logs (optional)

{"level":30,"time":1780288420990,"pid":6,"hostname":"c87f95274845","context":"AudibleProvider","msg":"[audible] [end] op=search query=\"Incubus: Publisher's Pack: Incubus, Books 1-2 Brandon Varnell\" status=200 resultCount=10 durationMs=286"}
{"level":30,"time":1780288420991,"pid":6,"hostname":"c87f95274845","context":"MetadataFetchService","msg":"[metadata_fetch.provider_search] [end] provider=audible durationMs=291 resultCount=5 - provider fetch completed"}
{"level":30,"time":1780288420993,"pid":6,"hostname":"c87f95274845","context":"ITunesProvider","msg":"[itunes] [end] op=search query=\"Incubus: Publisher's Pack: Incubus, Books 1-2 Brandon Varnell\" status=200 resultCount=0 durationMs=284"}
{"level":30,"time":1780288420993,"pid":6,"hostname":"c87f95274845","context":"MetadataFetchService","msg":"[metadata_fetch.provider_search] [end] provider=itunes durationMs=293 resultCount=0 - provider fetch completed"}
{"level":30,"time":1780288421108,"pid":6,"hostname":"c87f95274845","context":"GoodreadsProvider","msg":"[goodreads] [end] op=search-autocomplete query=\"Incubus: Publisher's Pack: Incubus, Books 1-2 Brandon Varnell\" status=200 durationMs=405"}
{"level":30,"time":1780288421108,"pid":6,"hostname":"c87f95274845","context":"GoodreadsProvider","msg":"[goodreads] [start] op=lookup providerId=\"225245558\""}
{"level":30,"time":1780288421179,"pid":6,"hostname":"c87f95274845","context":"AudnexusProvider","msg":"[audnexus] [end] op=lookup-book method=GET providerId=\"1774246848\" status=200 durationMs=201"}
{"level":30,"time":1780288421179,"pid":6,"hostname":"c87f95274845","context":"AudnexusProvider","msg":"[audnexus] [end] op=lookup-chapters method=GET providerId=\"1774246848\" status=200 durationMs=201"}
{"level":30,"time":1780288421180,"pid":6,"hostname":"c87f95274845","context":"MetadataFetchService","msg":"[metadata_fetch.provider_search] [end] provider=audnexus durationMs=480 resultCount=1 - provider fetch completed"}
{"level":30,"time":1780288422308,"pid":6,"hostname":"c87f95274845","context":"GoodreadsProvider","msg":"[goodreads] [end] op=lookup providerId=\"225245558\" status=200 durationMs=1200"}
{"level":30,"time":1780288422309,"pid":6,"hostname":"c87f95274845","context":"MetadataFetchService","msg":"[metadata_fetch.provider_search] [end] provider=goodreads durationMs=1609 resultCount=1 - provider fetch completed"}
{"level":30,"time":1780288422682,"pid":6,"hostname":"c87f95274845","context":"OpenLibraryProvider","msg":"[open-library] [end] op=search status=200 resultCount=0 durationMs=1976"}
{"level":30,"time":1780288422682,"pid":6,"hostname":"c87f95274845","context":"MetadataFetchService","msg":"[metadata_fetch.provider_search] [end] provider=openLibrary durationMs=1982 resultCount=0 - provider fetch completed"}
{"level":30,"time":1780288428703,"pid":6,"hostname":"c87f95274845","context":"MetadataFetchService","msg":"[metadata_fetch.provider_search] [start] provider=google - provider fetch started"}
{"level":30,"time":1780288428703,"pid":6,"hostname":"c87f95274845","context":"MetadataFetchService","msg":"[metadata_fetch.provider_search] [start] provider=goodreads - provider fetch started"}
{"level":30,"time":1780288428703,"pid":6,"hostname":"c87f95274845","context":"MetadataFetchService","msg":"[metadata_fetch.provider_search] [start] provider=amazon - provider fetch started"}
{"level":30,"time":1780288428703,"pid":6,"hostname":"c87f95274845","context":"MetadataFetchService","msg":"[metadata_fetch.provider_search] [start] provider=openLibrary - provider fetch started"}
{"level":30,"time":1780288428703,"pid":6,"hostname":"c87f95274845","context":"MetadataFetchService","msg":"[metadata_fetch.provider_search] [start] provider=itunes - provider fetch started"}
{"level":30,"time":1780288428703,"pid":6,"hostname":"c87f95274845","context":"MetadataFetchService","msg":"[metadata_fetch.provider_search] [start] provider=audible - provider fetch started"}
{"level":30,"time":1780288428703,"pid":6,"hostname":"c87f95274845","context":"MetadataFetchService","msg":"[metadata_fetch.provider_search] [start] provider=audnexus - provider fetch started"}
{"level":30,"time":1780288428705,"pid":6,"hostname":"c87f95274845","context":"MetadataFetchService","msg":"[metadata_fetch.provider_search] [end] provider=google durationMs=2 resultCount=0 - provider fetch completed"}
{"level":30,"time":1780288428705,"pid":6,"hostname":"c87f95274845","context":"GoodreadsProvider","msg":"[goodreads] [start] op=search-autocomplete query=\"Arcanum Unbounded - The Cosmere Collection Brandon Sanderson\""}
{"level":30,"time":1780288428707,"pid":6,"hostname":"c87f95274845","context":"ITunesProvider","msg":"[itunes] [start] op=search query=\"Arcanum Unbounded - The Cosmere Collection Brandon Sanderson\""}
{"level":30,"time":1780288428708,"pid":6,"hostname":"c87f95274845","context":"AmazonProvider","msg":"[amazon] [start] op=search query=\"Arcanum Unbounded - The Cosmere Collection Brandon Sanderson\""}
{"level":30,"time":1780288428709,"pid":6,"hostname":"c87f95274845","context":"OpenLibraryProvider","msg":"[open-library] [start] op=search"}
{"level":30,"time":1780288428710,"pid":6,"hostname":"c87f95274845","context":"AudibleProvider","msg":"[audible] [start] op=search query=\"Arcanum Unbounded - The Cosmere Collection Brandon Sanderson\""}
{"level":30,"time":1780288428711,"pid":6,"hostname":"c87f95274845","context":"AudnexusProvider","msg":"[audnexus] [start] op=resolve-asin method=GET query=\"Arcanum Unbounded - The Cosmere Collection Brandon Sanderson\""}
{"level":40,"time":1780288428896,"pid":6,"hostname":"c87f95274845","context":"AmazonProvider","msg":"[amazon] [fail] op=search query=\"Arcanum Unbounded - The Cosmere Collection Brandon Sanderson\" status=503 durationMs=188 message=\"non-ok response\""}
{"level":30,"time":1780288428897,"pid":6,"hostname":"c87f95274845","context":"MetadataFetchService","msg":"[metadata_fetch.provider_search] [end] provider=amazon durationMs=194 resultCount=0 - provider fetch completed"}
{"level":30,"time":1780288429009,"pid":6,"hostname":"c87f95274845","context":"AudnexusProvider","msg":"[audnexus] [end] op=resolve-asin method=GET query=\"Arcanum Unbounded - The Cosmere Collection Brandon Sanderson\" status=200 found=true durationMs=298"}
{"level":30,"time":1780288429009,"pid":6,"hostname":"c87f95274845","context":"AudnexusProvider","msg":"[audnexus] [start] op=lookup-book method=GET providerId=\"B01K5Q6VWO\""}
{"level":30,"time":1780288429009,"pid":6,"hostname":"c87f95274845","context":"AudnexusProvider","msg":"[audnexus] [start] op=lookup-chapters method=GET providerId=\"B01K5Q6VWO\""}
{"level":30,"time":1780288429011,"pid":6,"hostname":"c87f95274845","context":"GoodreadsProvider","msg":"[goodreads] [end] op=search-autocomplete query=\"Arcanum Unbounded - The Cosmere Collection Brandon Sanderson\" status=200 durationMs=306"}
{"level":30,"time":1780288429011,"pid":6,"hostname":"c87f95274845","context":"GoodreadsProvider","msg":"[goodreads] [start] op=lookup providerId=\"28595941\""}
{"level":30,"time":1780288429045,"pid":6,"hostname":"c87f95274845","context":"ITunesProvider","msg":"[itunes] [end] op=search query=\"Arcanum Unbounded - The Cosmere Collection Brandon Sanderson\" status=200 resultCount=12 durationMs=338"}
{"level":30,"time":1780288429045,"pid":6,"hostname":"c87f95274845","context":"MetadataFetchService","msg":"[metadata_fetch.provider_search] [end] provider=itunes durationMs=342 resultCount=5 - provider fetch completed"}
{"level":30,"time":1780288429123,"pid":6,"hostname":"c87f95274845","context":"AudibleProvider","msg":"[audible] [end] op=search query=\"Arcanum Unbounded - The Cosmere Collection Brandon Sanderson\" status=200 resultCount=3 durationMs=413"}
{"level":30,"time":1780288429124,"pid":6,"hostname":"c87f95274845","context":"MetadataFetchService","msg":"[metadata_fetch.provider_search] [end] provider=audible durationMs=421 resultCount=3 - provider fetch completed"}
{"level":30,"time":1780288429339,"pid":6,"hostname":"c87f95274845","context":"AudnexusProvider","msg":"[audnexus] [end] op=lookup-book method=GET providerId=\"B01K5Q6VWO\" status=200 durationMs=330"}
{"level":30,"time":1780288429339,"pid":6,"hostname":"c87f95274845","context":"AudnexusProvider","msg":"[audnexus] [end] op=lookup-chapters method=GET providerId=\"B01K5Q6VWO\" status=200 durationMs=330"}
{"level":30,"time":1780288429340,"pid":6,"hostname":"c87f95274845","context":"MetadataFetchService","msg":"[metadata_fetch.provider_search] [end] provider=audnexus durationMs=637 resultCount=1 - provider fetch completed"}
{"level":30,"time":1780288430505,"pid":6,"hostname":"c87f95274845","context":"OpenLibraryProvider","msg":"[open-library] [end] op=search status=200 resultCount=0 durationMs=1796"}
{"level":30,"time":1780288430505,"pid":6,"hostname":"c87f95274845","context":"MetadataFetchService","msg":"[metadata_fetch.provider_search] [end] provider=openLibrary durationMs=1802 resultCount=0 - provider fetch completed"}
{"level":30,"time":1780288430713,"pid":6,"hostname":"c87f95274845","context":"GoodreadsProvider","msg":"[goodreads] [end] op=lookup providerId=\"28595941\" status=200 durationMs=1702"}
{"level":30,"time":1780288430714,"pid":6,"hostname":"c87f95274845","context":"MetadataFetchService","msg":"[metadata_fetch.provider_search] [end] provider=goodreads durationMs=2011 resultCount=1 - provider fetch completed"}

Screenshots (optional)

No response

Before submitting

  • I've searched existing issues and this hasn't been reported yet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingreleasedIssue or PR is included in a released version.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions