View Single Post
Old Yesterday, 06:03 AM   #11189
Ealdwulf
Enthusiast
Ealdwulf began at the beginning.
 
Posts: 37
Karma: 10
Join Date: Jun 2012
Device: Nook
Quote:
Originally Posted by suhair View Post
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.
Attached Thumbnails
Click image for larger version

Name:	Custom Columns.png
Views:	16
Size:	6.8 KB
ID:	217788   Click image for larger version

Name:	ffdl_errors column.png
Views:	17
Size:	11.7 KB
ID:	217789   Click image for larger version

Name:	errors column.png
Views:	17
Size:	17.2 KB
ID:	217790   Click image for larger version

Name:	Configure FFF Custom Columns.png
Views:	20
Size:	4.8 KB
ID:	217791  
Ealdwulf is offline   Reply With Quote