adameste / anidbcli

AniDB UDP API client written in Python
MIT License
34 stars 8 forks source link

Question #11

Open nonononodev opened 5 years ago

nonononodev commented 5 years ago

how to use the %aired% tag? i tried %aired% --date-format %Y but it doesn't work. i just want to get the year. i'm aware of the %year% tag but it can be a timespan and i don't want that. thanks.

adameste commented 5 years ago

Working fine for me. Tried escaping the time format string in your command? This command worked fine for me:

python -m anidbcli -r -e mkv api -d "%Y" -u gweana -k mysecretkey -r "E:\anime\unwatched\%aired%\%a_romaji%\%ep_no% - %ep_english% [%g_name%]" unsorted
nonononodev commented 5 years ago

thanks. it works. i was doing it wrong. i put --date-format %Y right after %aired%. 😅 i was hoping that i could rename to this format: year/month/day/filename.ext. i guess it's not possible. i want to watch chronologically regardless of anime title.

anyway, should i "close and comment"? sorry. i'm new to this.

adameste commented 5 years ago

Probably shouldnt be that hard to add some additional tags, but the aired date is per episode, so it would be mostly one file in a directory

nonononodev commented 5 years ago

please do add! i'd really appreciate it.

yeah. now that you mention it, it would be mostly one file in a folder. maybe this format instead: year/month/day-rest_of_the_filename.ext. or maybe i should be watching a dozen titles every season.