mriutta / comictagger

Automatically exported from code.google.com/p/comictagger
0 stars 0 forks source link

Custom field in filename #4

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. have a custom name in the filename
2.
3.

What is the expected output? What do you see instead?
would like to be able to specify where to put info:  ex:

filename:
Star Wars - Shadows of the Empire - 1 [114701].cbz

would like to be able to put 114701 in the user rating field

Also would like to be able to use that field for template naming/renaming

What version of the product are you using? On what operating system?
1.0.3-beta

Please provide any additional information below.

Original issue reported on code.google.com by ada...@scheblein.net on 2 Feb 2013 at 4:04

GoogleCodeExporter commented 8 years ago
Figured out how to do the custom info into desired field:

ls|while read LINE; do RATING=$(echo $LINE|perl -pi -e 's/\] \[/ /; s/.*\[//; 
s/\].*//'); ~/comictagger-src-1.0.3-beta/comictagger.py -s -t cbl -m 
"criticalRating=$RATING" "$LINE"; done

now i am just trying to figure out how to do custom renames -- any help is 
appreciated.

Original comment by ada...@scheblein.net on 2 Feb 2013 at 4:45

GoogleCodeExporter commented 8 years ago
Well, the set of rename variables is limited at the moment. Here's what you can 
use right now: 

http://code.google.com/p/comictagger/wiki/UserGuide#Rename

I never imagined anyone would use the rating field in the filename, honestly. I 
will think about the best way to implement this more generally.

Original comment by bevi...@gmail.com on 3 Feb 2013 at 5:00

GoogleCodeExporter commented 8 years ago
Well, the set of rename variables is limited at the moment. Here's what you can 
use right now: 

http://code.google.com/p/comictagger/wiki/UserGuide#Rename

I never imagined anyone would use the rating field in the filename, honestly. I 
will think about the best way to implement this more generally.

Original comment by bevi...@gmail.com on 3 Feb 2013 at 5:00

GoogleCodeExporter commented 8 years ago
I actually use the rating field for the collectorz comic database ID rather 
than rating since i couldn't find a better place to put i...

anyway -- looking at the raw dumps of the data, you could implement something 
like %criticalReview% where the variable and the display of the data from the 
-p flag for the linux command line are the same ex:

comments
credit
criticalRating
issue
month
notes
publisher
series
teams
title
webLink
year

Original comment by ada...@scheblein.net on 3 Feb 2013 at 5:52

GoogleCodeExporter commented 8 years ago
Added in %criticalrating% and a bunch of others.   Let me know if that works OK 
for you.

Original comment by bevi...@gmail.com on 6 Feb 2013 at 7:32

GoogleCodeExporter commented 8 years ago
I assume the silence means it's OK.  I'm going to mark it as fixed.

Original comment by bevi...@gmail.com on 15 Feb 2013 at 5:17

GoogleCodeExporter commented 8 years ago
yes  -- it all works great now -- sorry for the delayed response

Original comment by ada...@scheblein.net on 15 Feb 2013 at 5:27