Add copyright/copyrightURL support and display it in the release view
This commit is contained in:
@@ -224,6 +224,18 @@ Track::getOriginalYear() const
|
||||
return (_originalYear > 0) ? boost::make_optional<int>(_originalYear) : boost::none;
|
||||
}
|
||||
|
||||
boost::optional<std::string>
|
||||
Track::getCopyright() const
|
||||
{
|
||||
return _copyright != "" ? boost::make_optional<std::string>(_copyright) : boost::none;
|
||||
}
|
||||
|
||||
boost::optional<std::string>
|
||||
Track::getCopyrightURL() const
|
||||
{
|
||||
return _copyrightURL != "" ? boost::make_optional<std::string>(_copyrightURL) : boost::none;
|
||||
}
|
||||
|
||||
std::vector<std::vector<Cluster::pointer>>
|
||||
Track::getClusterGroups(std::vector<ClusterType::pointer> clusterTypes, std::size_t size) const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user