Skip to content
This repository has been archived by the owner on Nov 18, 2022. It is now read-only.

Movie title (original letter case) not working #49

Closed
rEes9P opened this issue Aug 11, 2019 · 3 comments · Fixed by #50
Closed

Movie title (original letter case) not working #49

rEes9P opened this issue Aug 11, 2019 · 3 comments · Fixed by #50

Comments

@rEes9P
Copy link

rEes9P commented Aug 11, 2019

I think there may be a bug in the movie title (original letter case) naming convention. The notes mention "%tT, %t.T, %t_T" as the specifiers. However, using "%tT" for a movie, let's call it Random, results in the T being appended to the name such that the name becomes RandomT.

"%t" works just fine though.

@fleXible
Copy link
Contributor

fleXible commented Aug 22, 2019

Hi,

I noticed the same, a couple of days age, when I was investigating an unrelated issue.

The very same problem also applies to "%sN, %s.N, %s_N" for DatedFormat (see #52). I might open a PR in the next couple of days, as by fixing the one issue, I had to first cope with the other.

fleXible added a commit to fleXible/VideoSort that referenced this issue Aug 22, 2019
Add missing MoviesFormat specifiers %tT, %t.T, %t_T

Additionally sort specifiers in specific way before replacement to prevent short
specifiers from early matching and thus preventing longer ones from working.

Add test case for %t_T - movie title (original letter case)

Fixes: nzbget#41
Fixes: nzbget#49
hugbug pushed a commit that referenced this issue Aug 22, 2019
Add missing MoviesFormat specifiers %tT, %t.T, %t_T.
Additionally sort specifiers in specific way before replacement to prevent short.
specifiers from early matching and thus preventing longer ones from working.
Add test case for %t_T - movie title (original letter case).
@rEes9P
Copy link
Author

rEes9P commented Aug 28, 2019

Many thanks for the update. I must be having a brain freeze for I cannot remember how to update to the commit. Could you please explain to me how I may go about updating my VideoSort script? Thanks again!

@fleXible
Copy link
Contributor

Many thanks for the update. I must be having a brain freeze for I cannot remember how to update to the commit. Could you please explain to me how I may go about updating my VideoSort script? Thanks again!

Just download the updated VideoSort.py script and replace it in your NZBGet installation. There you should find it under bin/scripts.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants