Update movie format examples with some basics for the noobs
This commit is contained in:
parent
c93264c836
commit
7279c52b2b
|
@ -120,6 +120,15 @@ public class ExpressionFormatMethods {
|
||||||
return self.replaceAll("[:?._]", " ").trim().replaceAll("\\s+", replacement);
|
return self.replaceAll("[:?._]", " ").trim().replaceAll("\\s+", replacement);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Replace colon to make the name more Windows friendly.
|
||||||
|
*
|
||||||
|
* e.g. "Sissi: The Young Empress" -> "Sissi - The Young Empress"
|
||||||
|
*/
|
||||||
|
public static String colon(String self, String replacement) {
|
||||||
|
return self.replaceAll("\\s*[:]\\s*", replacement);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Upper-case all initials.
|
* Upper-case all initials.
|
||||||
*
|
*
|
||||||
|
|
|
@ -23,7 +23,7 @@ episode.example[4]: {n}/{'Season '+s}/{n} - {s00e00} - {t}
|
||||||
episode.example[5]: {home}/Media/{plex}
|
episode.example[5]: {home}/Media/{plex}
|
||||||
|
|
||||||
# simple name/year
|
# simple name/year
|
||||||
movie.example[0]: {n} ({y}){' CD'+pi}{subt}
|
movie.example[0]: {n.colon(' - ')} ({y}){subt}
|
||||||
# name/year and media info
|
# name/year and media info
|
||||||
movie.example[1]: {n} ({y}, {director}) {vf} {af}
|
movie.example[1]: {n} ({y}, {director}) {vf} {af}
|
||||||
# name/year and ratings
|
# name/year and ratings
|
||||||
|
@ -31,7 +31,7 @@ movie.example[2]: {n} {[y, certification, rating]}
|
||||||
# normalized scene name
|
# normalized scene name
|
||||||
movie.example[3]: {n.space('.')}.{y}{'.'+source}.{vc}
|
movie.example[3]: {n.space('.')}.{y}{'.'+source}.{vc}
|
||||||
# organize folder structure
|
# organize folder structure
|
||||||
movie.example[4]: {n} ({y})/{n} ({y}){' CD'+pi}
|
movie.example[4]: {ny}/{ny}{' CD'+pi}{subt}
|
||||||
# plex standard
|
# plex standard
|
||||||
movie.example[5]: {home}/Media/{plex}
|
movie.example[5]: {home}/Media/{plex}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue