aboutsummaryrefslogtreecommitdiff
path: root/tools/src
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2023-06-13 23:26:31 +0200
committermetamuffin <metamuffin@disroot.org>2023-06-13 23:26:31 +0200
commit3fb4e4117df9d668815e974dea6b2a29436c92af (patch)
tree6cc9e2c434c35b218582ca6c32e262524403eb48 /tools/src
parent876fe4bd1f64ecd131947d327e587c1aa295e32e (diff)
downloadjellything-3fb4e4117df9d668815e974dea6b2a29436c92af.tar
jellything-3fb4e4117df9d668815e974dea6b2a29436c92af.tar.bz2
jellything-3fb4e4117df9d668815e974dea6b2a29436c92af.tar.zst
some cleanup
Diffstat (limited to 'tools/src')
-rw-r--r--tools/src/bin/import.rs8
-rw-r--r--tools/src/lib.rs7
-rw-r--r--tools/src/tmdb.rs8
3 files changed, 16 insertions, 7 deletions
diff --git a/tools/src/bin/import.rs b/tools/src/bin/import.rs
index b70c347..eb6ebfe 100644
--- a/tools/src/bin/import.rs
+++ b/tools/src/bin/import.rs
@@ -1,9 +1,9 @@
-use anyhow::Context;
/*
- This file is part of jellything (https://codeberg.org/metamuffin/jellything)
- which is licensed under the GNU Affero General Public License (version 3); see /COPYING.
- Copyright (C) 2023 metamuffin <metamuffin.org>
+This file is part of jellything (https://codeberg.org/metamuffin/jellything)
+which is licensed under the GNU Affero General Public License (version 3); see /COPYING.
+Copyright (C) 2023 metamuffin <metamuffin.org>
*/
+use anyhow::Context;
use clap::{Parser, Subcommand};
use jellycommon::ItemInfo;
use jellymatroska::read::EbmlReader;
diff --git a/tools/src/lib.rs b/tools/src/lib.rs
index 7620625..c5dca31 100644
--- a/tools/src/lib.rs
+++ b/tools/src/lib.rs
@@ -1 +1,6 @@
-pub mod tmdb; \ No newline at end of file
+/*
+ This file is part of jellything (https://codeberg.org/metamuffin/jellything)
+ which is licensed under the GNU Affero General Public License (version 3); see /COPYING.
+ Copyright (C) 2023 metamuffin <metamuffin.org>
+*/
+pub mod tmdb;
diff --git a/tools/src/tmdb.rs b/tools/src/tmdb.rs
index d451a95..6f8c341 100644
--- a/tools/src/tmdb.rs
+++ b/tools/src/tmdb.rs
@@ -1,7 +1,11 @@
-use std::io::Write;
-
+/*
+ This file is part of jellything (https://codeberg.org/metamuffin/jellything)
+ which is licensed under the GNU Affero General Public License (version 3); see /COPYING.
+ Copyright (C) 2023 metamuffin <metamuffin.org>
+*/
use log::info;
use serde::Deserialize;
+use std::io::Write;
#[derive(Debug, Clone, Deserialize)]
pub struct TmdbQuery {