Skip to content

there is a bug in the field FoundTimestamp in SearchResult #1

@FirmianaMarsili

Description

@FirmianaMarsili

image
when value has more than seven decimal places,c# no number in eighth digit will be recorded.
here is an example:
image
when it converts to Timespan, his TotalSeconds will be 130.0400000
so it will cause the ThumbnailURL and PreviewURL to be wrong url
image
image
https://trace.moe/thumbnail.php?anilist_id=269&file=234.mp4&t=130.04&token=uynf7OyzeOhda9dbMPMpvinZJPk

the correct url should be https://trace.moe/thumbnail.php?anilist_id=269&file=234.mp4&t=130.04000000000002&token=uynf7OyzeOhda9dbMPMpvinZJPk

so I think the type of FoundTimestamp should be changed to string or double, and another function should be written to get TimeSpan

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions