navidrome/model
Aleksey Lobanov 457e1fc97b
Base SQL metrics in MetricsWorker (#2002)
* feat: Add metrics worker

* refactor: Add todos for useful for metrics methods

* feat: Run MetricsWorker is Prometheus is Enabled

* refactor: Unused low-level variable was removed in metrics

* feat: No worker for metrics, add more

* refactor: Unnecessary todo removed

* refactor: Remove dead unused constant

* Reduce metrics public interface

Co-authored-by: Deluan <deluan@navidrome.org>
2023-01-24 19:26:07 -05:00
..
criteria Rename log.LevelCritical to log.LevelFatal 2022-12-21 14:53:36 -05:00
request Only send events to clients who need it 2021-06-15 18:59:26 -04:00
album.go Get album info (when available) from Last.fm, add getAlbumInfo endpoint (#2061) 2023-01-17 20:22:54 -05:00
album_test.go Implement new Artist refresh 2022-12-28 15:31:56 -05:00
annotation.go Remove unused AnnotatedModel interface 2021-08-01 12:04:45 -04:00
artist.go Artwork reader for Artist 2023-01-13 22:18:34 -05:00
artist_info.go Get Similar Artists in parallel 2020-10-21 21:44:03 -04:00
artwork_id.go Some refactor, log message changes 2023-01-17 17:26:48 -05:00
artwork_id_test.go Parse correctly playlist CoverArt ids 2022-12-28 15:31:56 -05:00
bookmark.go Use `structs` lib to map models to DB. Fix #1266 2021-08-01 12:04:45 -04:00
datastore.go Add Internet Radio support (#2063) 2023-01-15 15:11:37 -05:00
errors.go Get better artist images results 2020-10-20 16:07:31 -04:00
file_types.go Refactor file type functions 2022-12-28 15:31:56 -05:00
file_types_test.go Refactor file type functions 2022-12-28 15:31:56 -05:00
genre.go Use `structs` lib to map models to DB. Fix #1266 2021-08-01 12:04:45 -04:00
get_entity.go Handle "naked" CoverArtIDs (IDs of album, mediafiles and playlists) 2022-12-28 15:31:56 -05:00
mediafile.go Fix Album.MaxYear calculation 2023-01-19 09:34:58 -05:00
mediafile_internal_test.go Remove current artwork implementation 2022-12-28 15:31:56 -05:00
mediafile_test.go Find `artist.*` image in Artist folder 2023-01-13 22:18:34 -05:00
mediafolder.go Only compute version once 2022-09-14 21:09:39 -04:00
model_suite_test.go Rename log.LevelCritical to log.LevelFatal 2022-12-21 14:53:36 -05:00
player.go Base SQL metrics in MetricsWorker (#2002) 2023-01-24 19:26:07 -05:00
playlist.go Optimize playlist cover generation 2023-01-13 22:18:34 -05:00
playlists_test.go Refactor file type functions 2022-12-28 15:31:56 -05:00
playqueue.go Use `structs` lib to map models to DB. Fix #1266 2021-08-01 12:04:45 -04:00
properties.go Move user properties (like session keys) to their own table 2021-06-23 17:49:32 -04:00
radio.go Add Internet Radio support (#2063) 2023-01-15 15:11:37 -05:00
scrobble_buffer.go Use `structs` lib to map models to DB. Fix #1266 2021-08-01 12:04:45 -04:00
share.go Add meta tags to show cover and share description in social platforms 2023-01-24 18:36:47 -05:00
transcoding.go Use `structs` lib to map models to DB. Fix #1266 2021-08-01 12:04:45 -04:00
user.go Use `structs` lib to map models to DB. Fix #1266 2021-08-01 12:04:45 -04:00
user_props.go Pass userId explicitly to UserPropsRepository methods 2021-06-25 22:21:37 -04:00