Igor Kromin |   Consultant. Coder. Blogger. Tinkerer. Gamer.

NOTE: This article is 3 years or older so its information may no longer be relevant. Read on at your own discretion! Comments for this article have automatically been locked, refer to the FAQ for more details.
OctoPrint shows 5 files by default without any option to change it via the configuration, however, there is a way to control how many files are displayed by changing its source code.

To make OctoPrint display more files, the following file needs to be updated: src/octoprint/templates/index.jinja2. Look for the CONFIG_GCODEFILESPERPAGE variable and set it to whatever number you want. In my case I changed it to 10.
 src/octoprint/templates/index.jinja2
...
var CONFIG_GCODEFILESPERPAGE = 10;
...


The result is a much bigger file list and no more having to go through lots of pages!
morefiles.png




-i

Skip down to comments...
A quick disclaimer...

Although I put in a great effort into researching all the topics I cover, mistakes can happen. If you spot something out of place, please do let me know.

All content and opinions expressed on this Blog are my own and do not represent the opinions of my employer (Oracle). Use of any information contained in this blog post/article is subject to this disclaimer.
 
comments powered by Disqus
Other posts you may like...