evilhero / mylar

An automated Comic Book downloader (cbr/cbz) for use with SABnzbd, NZBGet and torrents
GNU General Public License v3.0
976 stars 172 forks source link

Story Arc is missing cvinfo and folder.jpg #1419

Closed mediabot closed 3 years ago

mediabot commented 8 years ago

Mylar create the Story Arch but doesn't create the normal cvinfo and folder. jpg. Not sure if this was by designed

evilhero commented 8 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)

mediabot commented 8 years ago

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

evilhero commented 8 years ago

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.

mediabot commented 8 years ago

Oh well

scooterpsu commented 8 years ago

I'd like to +1 the request for the cvinfo file for story arc folders.

evilhero commented 8 years ago

I'll see what I can do to incorporate this into the app - shouldn't be too difficult.

evilhero commented 8 years ago
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.

scooterpsu commented 8 years ago

awesome, thanks!

mediabot commented 8 years ago

Double thanks! Can I close this?

evilhero commented 8 years ago

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.