See title. Would that be possible? Or is it already and I'm just an idiot?
And it would also be nice if Jackett had an option to export the tracker list to Sonarr or other downloaders.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
@ThatFluxNerd Can you describe what you're trying to do? You can configure as many trackers as you want in Jackett.
Also, although it is still under development, you can use a special API endpoint that searches all trackers. Just copy the API URL of any tracker and replace the tracker's name with all. E.g. for me it looks like this: http://localhost:9117/torznab/all
@chibidev I just want a checkbox next to trackers in Add Tracker menu so I can check them, press "Add selected" and have them added. As for the second part, I'm imagining something like selecting a tracker, checking a box with categories you want searched by, let's say, Sonarr, save to a JSON (or any other file), that can be then loaded by Sonarr to automatically add that tracker to the indexer list.
@ThatFluxNerd thank you. May I ask why you need the ability to quickly add multiple trackers with the checkboxes? Don't get me wrong, I'm just curious about what you're trying to achieve and what your use-case is really about.
I frequently distrohop, it would make setting up Jackett easier.
@ThatFluxNerd Understandable. However for me it seems like Jackett's configuration should be portable, so once you have Jackett and the Indexers configured, you could take the configuration directory, distrohop, install Jackett and have Jackett completely configured the same way. @flightlevel @kaso17 what do you guys think?
Additionally to the Jackett Config directory it's also necessary to copy the corresponding keystore containing the keys used for obfuscating passwords in the config.
mono stores then at ~/.config/.mono/keystore
besides that it should work.
For adding/syncing trackers to sonarr/radarr/... there's already an issue open: #1413
I'd just like to add all the public trackers at once to the main page instead of one-by-one.
Same here, it's a bit tedious to add them one by one
+1 to this
I'm just starting to use Jackett and I agree that it's tedious to add one, go back to the main page, go back to add index, scroll to where I was, add another, and so on till I'm done.
So, there's no way to add multiple indexers in batch?
I came up with a quick, dirty work around for adding all the free indexers in one go.
From the Jackett page, click the "add indexer" button so that the pop up window with the full list of indexers appears.
You'll then need to open your browser's development toolbar (in Chrome just hit F12) and go to the JavaScript Console and enter the following:
////hack to add all free indexers in Jackett
$(document).ready(function () {
EnableAllUnconfiguredIndexersList();
});
function EnableAllUnconfiguredIndexersList() {
var UnconfiguredIndexersDialog = $($("#select-indexer").html());
var indexersTemplate = Handlebars.compile($("#unconfigured-indexer-table").html());
var indexersTable = $(indexersTemplate({ indexers: unconfiguredIndexers, total_unconfigured_indexers: unconfiguredIndexers.length }));
indexersTable.find('.indexer-setup').each(function (i, btn) {
var indexer = unconfiguredIndexers[i];
$(btn).click(function () {
$('#select-indexer-modal').modal('hide').on('hidden.bs.modal', function (e) {
displayIndexerSetup(indexer.id, indexer.name, indexer.caps, indexer.link, indexer.alternativesitelinks, indexer.description);
});
});
});
indexersTable.find('.indexer-add').each(function (i, btn) {
$('#select-indexer-modal').modal('hide').on('hidden.bs.modal', function (e) {
var indexerId = $(btn).attr("data-id");
api.getIndexerConfig(indexerId, function (data) {
if (data.result !== undefined && data.result == "error") {
doNotify("Error: " + data.error, "danger", "glyphicon glyphicon-alert");
return;
}
api.updateIndexerConfig(indexerId, data, function (data) {
if (data == undefined) {
reloadIndexers();
doNotify("Successfully configured " + name, "success", "glyphicon glyphicon-ok");
} else if (data.result == "error") {
if (data.config) {
populateConfigItems(configForm, data.config);
}
doNotify("Configuration failed: " + data.error, "danger", "glyphicon glyphicon-alert");
}
}).fail(function (data) {
if(data.responseJSON.error !== undefined) {
doNotify("An error occured while configuring this indexer<br /><b>" + data.responseJSON.error + "</b><br /><i><a href=\"https://github.com/Jackett/Jackett/issues/new?title=[" + indexerId + "] " + data.responseJSON.error + " (Config)\" target=\"_blank\">Click here to open an issue on GitHub for this indexer.</a><i>", "danger", "glyphicon glyphicon-alert", false);
} else {
doNotify("An error occured while configuring this indexer, is Jackett server running ?", "danger", "glyphicon glyphicon-alert");
}
});
});
});
});
indexersTable.find("table").DataTable(
{
"stateSave": true,
"fnStateSaveParams": function (oSettings, sValue) {
sValue.search.search = ""; // don't save the search filter content
return sValue;
},
"bAutoWidth": false,
"pageLength": -1,
"lengthMenu": [[10, 20, 50, 100, 250, 500, -1], [10, 20, 50, 100, 250, 500, "All"]],
"order": [[0, "asc"]],
"columnDefs": [
{
"name": "name",
"targets": 0,
"visible": true,
"searchable": true,
"orderable": true
},
{
"name": "description",
"targets": 1,
"visible": true,
"searchable": true,
"orderable": true
},
{
"name": "type",
"targets": 2,
"visible": true,
"searchable": true,
"orderable": true
},
{
"name": "type_string",
"targets": 3,
"visible": false,
"searchable": true,
"orderable": true,
},
{
"name": "language",
"targets": 4,
"visible": true,
"searchable": true,
"orderable": true
},
{
"name": "buttons",
"targets": 5,
"visible": true,
"searchable" : false,
"orderable": false
}
]
});
var undefindexers = UnconfiguredIndexersDialog.find('#unconfigured-indexers');
undefindexers.append(indexersTable);
UnconfiguredIndexersDialog.on('shown.bs.modal', function() {
$(this).find('div.dataTables_filter input').focusWithoutScrolling();
});
UnconfiguredIndexersDialog.on('hidden.bs.modal', function (e) {
$('#indexers div.dataTables_filter input').focusWithoutScrolling();
});
$("#modals").append(UnconfiguredIndexersDialog);
UnconfiguredIndexersDialog.modal("show");
}
@oranblackwell Thanks so much script worked perfectly.
@oranblackwell Thanks for the script! Extremely useful
From the Jackett page, click the "add indexer" button so that the pop up window with the full list of indexers appears.
You'll then need to open your browser's development toolbar (in Chrome just hit F12) and go to the JavaScript Console and enter the following
thank you!
Thanks, worked great!
oranblackwell thank you so much, worked perfectly!
can we reopen #1576 or #3274 ?
Adding all public trackers in one go was the first idea I got when setting up Jackett first time in my life
At the very least, can we have it so the window with all the trackers to add doesn't close after selecting one to add? It's super tedious.
I second this, would very much appreciate an "add all public" option
+1
I'm glad that I'm not the only one who think about this.
Thanks, @oranblackwell . script works good!
Most helpful comment
I came up with a quick, dirty work around for adding all the free indexers in one go.
From the Jackett page, click the "add indexer" button so that the pop up window with the full list of indexers appears.
You'll then need to open your browser's development toolbar (in Chrome just hit F12) and go to the JavaScript Console and enter the following: