added more automatic tags, implemented updating of links and attachments on event update
Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
@@ -19,14 +19,19 @@ public class AutoImporter implements Runnable, ClassListener {
|
||||
private static final System.Logger LOG = System.getLogger(AutoImporter.class.getSimpleName());
|
||||
private static final Map<String, String> DESCRIPTION_TAGS = Map.<String, String>ofEntries(
|
||||
entry("50s","50er"),
|
||||
entry("50’s","50er"),
|
||||
entry("50er","50er"),
|
||||
entry("60s","60er"),
|
||||
entry("60’s","60er"),
|
||||
entry("60er","60er"),
|
||||
entry("70s","70er"),
|
||||
entry("70’s","70er"),
|
||||
entry("70er","70er"),
|
||||
entry("80s","80er"),
|
||||
entry("80’s","80er"),
|
||||
entry("80er","80er"),
|
||||
entry("90s","90er"),
|
||||
entry("90’s","90er"),
|
||||
entry("90er","90er"),
|
||||
entry("ac dc","Metal"),
|
||||
entry("alternative rock","AlternativeRock"),
|
||||
@@ -91,6 +96,7 @@ public class AutoImporter implements Runnable, ClassListener {
|
||||
entry("humor","Comedy"),
|
||||
entry("humpa","Humppa"),
|
||||
entry("humppa","Humppa"),
|
||||
entry("indie","indie"),
|
||||
entry("industrial","Industrial"),
|
||||
entry("industrial metal","IndustrialMetal"),
|
||||
entry("jam session","JamSession"),
|
||||
@@ -281,7 +287,7 @@ public class AutoImporter implements Runnable, ClassListener {
|
||||
|
||||
@Override
|
||||
public void classAdded(Class<?> aClass) {
|
||||
if (Importer.class.isAssignableFrom(aClass)) try {
|
||||
if (Importer.class.isAssignableFrom(aClass) && aClass.getSimpleName().contains("Ebu")) try {
|
||||
var instance = aClass.getDeclaredConstructor().newInstance();
|
||||
importers.add((Importer) instance);
|
||||
lastImport = null;
|
||||
|
||||
Reference in New Issue
Block a user