Page 1 of 1
Forum

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...
 
Share:
Notifications
Clear all

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


 Hans
(@hans)
Noble Member Admin
Joined: 8 years ago
Posts: 2005
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 ...

For QNAP:

/share/CACHEDEV1_DATA/.qpkg/QSonarr/NzbDrone/UI/main.js

Note: CACHEDEV1_DATA may be different on your QNAP.

For MacOS:

/Applications/Sonarr.app/Contents/MacOS/UI/main.js

(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 


ReplyQuote

Like what you see and you'd like to help out? 

The best way to help is of course by assisting others with their questions here in the forum, but you can also help us out in other ways:

- Do your shopping at Amazon, it will not cost you anything extra but may generate a small commission for us,
- send a cup of coffee through PayPal ($5, $10, $20, or custom amount),
- become a Patreon,
- donate BitCoin (BTC), or BitCoinCash (BCH).

Share: