Closed mediabot closed 3 years ago
Well both cvinfo and folder.jpg are series options. Cvinfo is doable for arcs, but folder.jpg would never get populated as the arcs on CV don't have a main graphic to retrieve usually (from my brief testing awhile ago at least)
Can you capture the story arc from comicvine's api. Here we'll use 56853 as an example
curl -s "http://comicvine.gamespot.com/api/story_arc/4045-56853/?api_key="$apikey"&field_list=name,start_year,image,date_last_updated,&format=xml " | xml2
It should give us
/response/results/image/icon_url=http://comicvine.gamespot.com/api/image/square_avatar/2634267-dotf.jpeg /response/results/image/medium_url=http://comicvine.gamespot.com/api/image/scale_medium/2634267-dotf.jpeg /response/results/image/screen_url=http://comicvine.gamespot.com/api/image/screen_medium/2634267-dotf.jpeg /response/results/image/small_url=http://comicvine.gamespot.com/api/image/scale_small/2634267-dotf.jpeg /response/results/image/super_url=http://comicvine.gamespot.com/api/image/scale_large/2634267-dotf.jpeg /response/results/image/thumb_url=http://comicvine.gamespot.com/api/image/scale_avatar/2634267-dotf.jpeg /response/results/image/tiny_url=http://comicvine.gamespot.com/api/image/square_mini/2634267-dotf.jpeg
It's not so much the capturing because it relies on the api, it's that a lot of arcs don't have an image to retrieve. Would have to figure out a blank placeholder image to have, other than that though it's just the time to incorporate it.
Oh well
I'd like to +1 the request for the cvinfo file for story arc folders.
I'll see what I can do to incorporate this into the app - shouldn't be too difficult.
28-Oct-2016 09:59:45 - DEBUG :: Thread-12 : [STORY ARC] Now searching your watchlist for matches belonging to this story arc.
28-Oct-2016 09:59:45 - DEBUG :: Thread-12 : Generating cvinfo file for story-arc.
cvinfo will be generated for story arcs in the next development commit. It's still a global option to enable cvinfo being written, so as long as you have it enabled it will write it for both the series and the arcs.
awesome, thanks!
Double thanks! Can I close this?
Keep it open for now until I can get the commit up. Just makes it easier for me to see what I'm referencing for the commit description.
Mylar create the Story Arch but doesn't create the normal cvinfo and folder. jpg. Not sure if this was by designed