Use file creation date for Date Added/CreatedAt (#2553)
* Update mapping.go CreatedAt = BirthTime * Update metadata.go Add BirthTime() function * Update spread_fs.go Replacing djherbis/atime package with djherbis/times, as times includes the functionality of atime * Update go.mod remove djherbis/atime, add djherbis/times * Update mapping.go time package not used anymore * Update go.sum removed djherbis/atime, added djherbis/times * Update spread_fs.go revert to previous, cannot get rid of /atime after all since it's a dependency of /fscache * Update go.mod djherbis/times 1.6.0 now released * Update go.sum new sums * Update metadata.go Inverted if statement, more readable * Update go.mod format fix * Update go.sum format fix * Update go.sum format fix * Update go.sum format fix * Update metadata.go variable name times -> fileProperties check for errors * Update metadata.go reverse order of error check * Update metadata.go typo * Update metadata.go https://github.com/navidrome/navidrome/pull/2553#issuecomment-1787967615
This commit is contained in:
@@ -16,6 +16,7 @@ require (
|
||||
github.com/djherbis/atime v1.1.0
|
||||
github.com/djherbis/fscache v0.10.2-0.20220222230828-2909c950912d
|
||||
github.com/djherbis/stream v1.4.0
|
||||
github.com/djherbis/times v1.6.0
|
||||
github.com/dustin/go-humanize v1.0.1
|
||||
github.com/faiface/beep v1.1.0
|
||||
github.com/fatih/structs v1.1.0
|
||||
|
||||
Reference in New Issue
Block a user