diff --git a/src/libs/database/include/database/Artist.hpp b/src/libs/database/include/database/Artist.hpp index c7e9d7bb..f70fec40 100644 --- a/src/libs/database/include/database/Artist.hpp +++ b/src/libs/database/include/database/Artist.hpp @@ -121,7 +121,7 @@ namespace Database } private: - static constexpr std::size_t _maxNameLength{ 128 }; + static constexpr std::size_t _maxNameLength{ 256 }; friend class Session; // Create diff --git a/src/libs/database/include/database/Release.hpp b/src/libs/database/include/database/Release.hpp index 738497f8..40c9d80a 100644 --- a/src/libs/database/include/database/Release.hpp +++ b/src/libs/database/include/database/Release.hpp @@ -188,7 +188,7 @@ namespace Database Wt::WDate getDate(bool original) const; std::optional getYear(bool original) const; - static constexpr std::size_t _maxNameLength{ 128 }; + static constexpr std::size_t _maxNameLength{ 256 }; std::string _name; std::string _MBID; diff --git a/src/libs/database/include/database/Track.hpp b/src/libs/database/include/database/Track.hpp index 2583e64c..4237f528 100644 --- a/src/libs/database/include/database/Track.hpp +++ b/src/libs/database/include/database/Track.hpp @@ -225,9 +225,9 @@ namespace Database { Track(const std::filesystem::path& p); static pointer create(Session& session, const std::filesystem::path& p); - static constexpr std::size_t _maxNameLength{ 128 }; - static constexpr std::size_t _maxCopyrightLength{ 128 }; - static constexpr std::size_t _maxCopyrightURLLength{ 128 }; + static constexpr std::size_t _maxNameLength{ 256 }; + static constexpr std::size_t _maxCopyrightLength{ 256 }; + static constexpr std::size_t _maxCopyrightURLLength{ 256 }; int _scanVersion{}; std::optional _trackNumber{};