View Single Post
Old 09-20-2018, 12:28 PM   #2931
rishidiams
Member
rishidiams began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Jan 2016
Device: Kindle paperwhite
change status based on the last time fic was updated

Hi there,

I'm trying to get Calibre to automatically change the "In-Progress" status to "Abandoned" based on the last time the fic was updated. I figure for simplicity's sake (and since I have no idea whether or not I could make this work for a specific number of months prior to whatever day I'm updating the fic), it would be easiest to say any time not in this year, and I can easily go in and change the year as needed.

Included is the relevant portion of my ini file. I'm getting a 'need more than 1 value to unpack' error when I try to save.


Code:
[archiveofourown.org] 
username: XXXXXXXXXXXXX
password: XXXXXXXXXXXXX 
include_subject_tags:,characters,status,fandoms,freeformtags,ships,dateupdated


[defaults] 
add_to_extra_valid_entries:,myships,mycharacters,rawcharacters,mytags,rawtags,myfandoms,mystatus,lastupdated
include_in_mystatus:status 
include_in_lastupdated:dateupdated
custom_columns_settings: 
 mystatus=>#status 
 lastupdated=>#updated
replace_metadata: 
 status=>In-Progress=>Abandoned&&lastupdated!=(.*)2018

I've also tried the following, based on adding "Oneshot" to the status if there is only one chapter.

Code:
[archiveofourown.org] 
username: XXXXXXXXXXXXX
password: XXXXXXXXXXXXX 
include_subject_tags:,characters,status,fandoms,freeformtags,ships,dateupdated


[defaults] add_to_extra_valid_entries:,abandoned,myships,mycharacters,rawcharacters,mytags,rawtags,myfandoms,mystatus,lastupdated
include_in_abandoned:status
add_to_include_subject_tags:,abandoned
include_in_mystatus:status 
include_in_lastupdated:dateupdated
custom_columns_settings: 
 mystatus=>#status 
 lastupdated=>#updated
replace_metadata: 
 abandoned=>In-Progress=>Abandoned&&lastupdated!=(.*)2018
rishidiams is offline   Reply With Quote