Centova Technologies Inc.

Products and Services

Centova Cast
Customer Support
Centova Technologies
 

Knowledge Base | Centova Cast v3 | Troubleshooting

Problems when listing 500+ albums/tracks

Question:

I get an error message when an artist in my media library has more than 500 albums, or an album has more than 500 tracks. How do I fix this?

Answer:

Centova Cast does impose an internal limit of 500 albums per artist, and 500 tracks per album. This is for performance reasons, as Internet Explorer has a rather poor JavaScript engine and it can get very slow if you load too many items at once in an AJAX application like Centova Cast.

Centova Cast will display a warning message if you exceed this limit.

If you want to increase the limit, there are two undocumented options that you can use to do so:

MAX_ALBUM_RESULTS=500 MAX_TRACK_RESULTS=500

Edit /usr/local/centovacast/etc/centovacast.conf on your server and add these at the end of the file. Then just change 500 to whatever number you feel is appropriate.

If you (or your clients) are using Firefox, Safari, or Google Chrome, you should easily be able to display several thousand items at a time. Please be aware that Internet Explorer may have problems (perhaps even crash) if you try to make it display significantly more than 500 tracks, particularly when using older versions of Internet Explorer. (In fact, IE 6 or earlier may even slow down substantially with just 400-500 tracks.)