and apparently there is a limit in the gui for how long it can be. and its about 2,000 characters over that.
so i have a couple questions to try to make it smaller.
Can i move def mappings to a CSV File?
For Exmaple:
Code: Select all
def codecList =
[
'MPEG Audio' : 'MP2',
'MP3' : 'MP3',
'PCM' : 'PCM',
'FLAC' : 'FLAC',
]
MPEG AUDIO:MP2
MP3:MP3
PCM:PCM
FLAC:FLAC
and just call the CSV file to add it to an array? - I tried several ways and was unable to get it to work.
(this is the link to the full audio codec script i stumbled across and trying to adapt it to work in my script: viewtopic.php?p=56178#p56178)
the second question, i have my script calling several CSV Files for additional info. Based on book, banned films, Mockumentary, Time Travel, Post Credit Scenes, etc.
I did it that way as one movie may match several. vs only one it would match if it was all in one CSV File.
So my question with that is can I add those CSV Files to a single CSV or Text file and have it use them like it does in the script looking for a match from each?
cause that would help cut down the size a bit.
Edit: Ooo an even better question, can i move full scripts to separate files then call them to run from the gui? that would be nice too.
thanks,
-Dev