From d5e6fa029f1fb7b7dccd32dd2906a0858a876cae Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 2 Dec 2022 21:52:38 +0100 Subject: Don't use "NR" in the ISDCF name if there is no rating. Thierry says this is not used out in the wild, and I can't find any reference to say that it must be there, so remove it. --- src/lib/film.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src') diff --git a/src/lib/film.cc b/src/lib/film.cc index 8b1442849..29952d0f2 100644 --- a/src/lib/film.cc +++ b/src/lib/film.cc @@ -970,9 +970,7 @@ Film::isdcf_name (bool if_created_now) const if (_release_territory) { auto territory = _release_territory->subtag(); isdcf_name += "_" + to_upper (territory); - if (_ratings.empty ()) { - isdcf_name += "-NR"; - } else { + if (!_ratings.empty()) { auto label = _ratings[0].label; boost::erase_all(label, "+"); boost::erase_all(label, "-"); -- cgit v1.2.3