adameste/anidbcli

Renaming doesn't work properly.

Opened this issue · 5 comments

Updating the anidb library seems working. But when I try to rename my files, they always end up in " [] - -.mkv". I tried all possible combinations from the available tags but none of them seems to work.

Could you provide the exact command you have used? Either it is wrong, or anidb does not return any data.

anidbcli -r -e mkv,mp4 api -u "myuser" -p "mypw" -r "%a_romaji% - %a_kanji% - %a_english% - %ep_no% [%g_name%] (%crc32%)" --state 2 -a "."

For the test I added all kind of % to see which one is working.

Exact same command seems to be working just fine, did you try it with any other release? It's possible that anidb doesn't provide the data for that file (althought it should end up with error).

I tried an anime from the last and one from the current season, both animes should be there as it was added to my anidb library.

I tried to debug the python code, but its a bit difficult as you get banned after trying it 5-6 times.
I am not an expert in python, if you can help me to help debug it for you - i maybe can help and find the issue.

Sorry, I totally forgot about this issue. For debugging/running invoking anidbcli multiple times in a single batch you
can invoke it with parameter -t, anidbcli will then reuse the previous session token (if available) and you will not get
banned.