Kodi Community Forum

Full Version: Export code of movie folder list for external file operation
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
It's a very simple one, but thought some users might find it useful.
This is an export code to create a folder list for selected movies. The main purpose of this is to copy/move folders of selected movies to a different folder/drive. Many file managers offer "Load selection from a file (or clipboard)" feature. So you can export a list, select the folders using the command, and copy/move them.

You only need to create a new folder under "tmm\templates" with the following two text files to it.

list.jmte:
Code:
${foreach movies movie}${movie.path}
${end}

template.conf:
Code:
name=Folder List
type=movie
list=list.jmte
extension=csv
description=Creates a folder list for selected movies