diff options
Diffstat (limited to 'import/src/lib.rs')
-rw-r--r-- | import/src/lib.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/import/src/lib.rs b/import/src/lib.rs index bd01fc9..b45361a 100644 --- a/import/src/lib.rs +++ b/import/src/lib.rs @@ -38,9 +38,16 @@ use trakt::Trakt; pub mod acoustid; pub mod infojson; +pub mod musicbrainz; pub mod tmdb; pub mod trakt; +pub const USER_AGENT: &'static str = concat!( + "jellything/", + env!("CARGO_PKG_VERSION"), + " ( https://codeberg.org/metamuffin/jellything )" +); + static IMPORT_SEM: LazyLock<Semaphore> = LazyLock::new(|| Semaphore::new(1)); pub static IMPORT_ERRORS: RwLock<Vec<String>> = RwLock::const_new(Vec::new()); |