diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-12-02 21:52:38 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-12-02 21:52:38 +0100 |
| commit | d5e6fa029f1fb7b7dccd32dd2906a0858a876cae (patch) | |
| tree | 395c99c9b4792e49f2adfbf227d2f4541a960c1b /src | |
| parent | e21a8bc77f80374a78085c492e4dd14315457e5f (diff) | |
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.
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/film.cc | 4 |
1 files changed, 1 insertions, 3 deletions
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, "-"); |
