Quote:
Originally Posted by suhair
Can someone help me set something like this up?
|
The screenshots will show how I have it setup. Note the 'Column Heading' in the ffdl_errors column is what is used in the configure FFF custom columns.
here is the compete template I use for the errors column:
Code:
program:switch(substr(field('#ffdl_errors'), 1, 11), 'ailed to L', 'Login Failure', 'ot Overwri', 'Website Current', 'lready con', 'Up to Date', 'xisting ep', 'Chapter Mismatch', 'rror downl', 'Awaiting chapter approval', 'ite says: ', 'Not Available', 'nonetype', 'Deleted on Site', 'tory does ', 'Deleted on Site', 'RL is not ', 'Invalid URL', 'o story UR', 'No URL', 'TTPConnect', 'Protocol error', 'TTP Error ', 'Too many requests', 'loudscrape', 'Cloudscraper', 'imed out', 'Website Timed Out', 'urlopen er', 'Website Error 404', test(field('#ffdl_errors'),'no error','error'), 'UNKNOWN ERROR', 'TTPSConnec', 'Name resolution failure','')
As I said, probably not the most elegant, but it does work; at least for me. Hopefully it will do what you are looking for too.