Quote:
Originally Posted by yokos
Thank you, mtas. This is working.
Your script was written for the English iLiad menu, so I changed the line "DIR=/usr/share/contentlister/mode/en" to get support for German [de], Nederlands [nl], & simplified Chinese [zh].
|
Here's a new and safer version of the script. This one checks what language that is used and uses a config file (new_order.txt) where the desired menu order can be defined.
Also, it adds some sanity checks such as verifying that all menu entries are defined in the config file. If the sanity check finds an error a log file named error_log.txt will be created.