Page 1 of 1

Welcome to the Tweaking4All community forums!
When participating, please keep the Forum Rules in mind!

Topics for particular software or systems: Start your topic link with the name of the application or system.
For example “MacOS X – Your question“, or “MS Word – Your Tip or Trick“.

Please note that switching to another language when reading a post will not bring you to the same post, in Dutch, as there is no translation for that post!

Sonarr - How to inc...
Clear all

[Solved] Sonarr - How to increase page size for "Wanted" list (more rows)

1 Posts
1 Users
0 Reactions
Famed Member Admin
Joined: 11 years ago
Posts: 2706
Topic starter  

I was asked to look into how to increase the page size of the "Wanted" page in Sonarr.
It took me a little bit of tinkering, but I found it ...



Note: CACHEDEV1_DATA may be different on your QNAP.

For MacOS:


(if anyone knows the Windows path of the main.js file in the UI folder, then please post it below)

So the changes need to be made in the main.js file. Open it with a text editor and look for "pageSize : " (without the quotes).
You'll find quite a few of them, but the ones your're looking for are for the "wanted/missing" (in the file I examined, this was at line 12054) ...

 var Collection = PagableCollection.extend({
     url : window.NzbDrone.ApiRoot + '/wanted/missing',
     model : EpisodeModel,
     tableName : 'wanted.missing',

     state : {
         pageSize : 15,
         sortKey : 'airDateUtc',

and for "wanted/cutoff" (in the file I examined, this was at line 12313) ...

 var Collection = PagableCollection.extend({
     url : window.NzbDrone.ApiRoot + '/wanted/cutoff',
     model : EpisodeModel,
     tableName : 'wanted.cutoff',

     state : {
         pageSize : 15,
         sortKey : 'airDateUtc',

For these two, change the value "15" to whatever you want (I tested the value 100 and that worked just fine).
Note the line number may be different depending on the version of Sonarr you're working with.

After changing the values; clear the cache of your browser and reload the wanted page (cutoff not met or missing). You should see more than 15 lines now