+ preliminary support for audio identification via AcoustID
This commit is contained in:
parent
e8513bfd54
commit
b8802bb2d3
|
@ -23,8 +23,8 @@
|
|||
Short-lived (48 hours) persistent cache for web responses.
|
||||
-->
|
||||
<cache name="web-datasource"
|
||||
maxElementsInMemory="120"
|
||||
maxElementsOnDisk="1200"
|
||||
maxElementsInMemory="200"
|
||||
maxElementsOnDisk="5000"
|
||||
eternal="false"
|
||||
timeToIdleSeconds="172800"
|
||||
timeToLiveSeconds="172800"
|
||||
|
|
|
@ -18,3 +18,4 @@ thetvdb.apikey: 58B4AA94C59AD656
|
|||
themoviedb.apikey: 5a6edae568130bf10617b6d45be99f13
|
||||
serienjunkies.apikey: 9fbhw9uebfiwvbefzuwv
|
||||
fanart.tv.apikey: 780b986b22c35e6f7a134a2f392c2deb
|
||||
acoustid.apikey: 0B3qZnQc
|
||||
|
|
|
@ -20,6 +20,7 @@ import java.util.concurrent.Future;
|
|||
import java.util.logging.Level;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import net.sourceforge.filebot.audio.AcoustID;
|
||||
import net.sourceforge.filebot.media.MediaDetection;
|
||||
import net.sourceforge.filebot.web.AnidbClient;
|
||||
import net.sourceforge.filebot.web.EpisodeListProvider;
|
||||
|
@ -61,8 +62,9 @@ public final class WebServices {
|
|||
public static final SubsceneSubtitleClient Subscene = new SubsceneSubtitleClient();
|
||||
public static final SublightSubtitleClient Sublight = new SublightSubtitleClient();
|
||||
|
||||
// fanart.tv
|
||||
// misc
|
||||
public static final FanartTV FanartTV = new FanartTV(Settings.getApplicationProperty("fanart.tv.apikey"));
|
||||
public static final AcoustID AcoustID = new AcoustID(Settings.getApplicationProperty("acoustid.apikey"));
|
||||
|
||||
|
||||
public static EpisodeListProvider[] getEpisodeListProviders() {
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 701 B |
|
@ -256,6 +256,10 @@ public class RenamePanel extends JComponent {
|
|||
actionPopup.add(new AutoCompleteAction(it.getName(), it.getIcon(), new MovieHashMatcher(it)));
|
||||
}
|
||||
|
||||
actionPopup.addSeparator();
|
||||
actionPopup.addDescription(new JLabel("Music Mode:"));
|
||||
actionPopup.add(new AutoCompleteAction("AcoustID", ResourceManager.getIcon("search.acoustid"), new AudioFingerprintMatcher(WebServices.AcoustID)));
|
||||
|
||||
actionPopup.addSeparator();
|
||||
actionPopup.addDescription(new JLabel("Options:"));
|
||||
|
||||
|
|
Loading…
Reference in New Issue