Page 1 of 1

<Solved> Filename Parsing & Display Problems

Posted: Sat Mar 28, 2015 10:43 am
by michaelt
(This may be a bit much for one post but I believe is is all related.)

After extensive testing of special characters in filenames (on Mac OSX), only a few errors were noted. Special character handling is required because the Title is derived from an on-line database from the UPC.

Notes:
  • These are all filenames, but displayed without the ".mkv" suffix.
    Since this is running on Mac OSX the ':' characters are displayed on Screen as a '/'.
    The colon ':' is not allowed in filenames and is replaced with the vertical bar '|' (UNIX pipe).
1 - On random invocations the log indicates a file with a asterisk '*' can not be parsed and is ignored. This is coincident with all files reporting "Not Supported File Format".

2 - Parse Error reported in log: random and only on initial invocation
  • 10-Movie America's Favorite Country Stars| Is There Life Out There? : Baron And The Kid : Crazy : ....mkv
    10-Movie Collection Featuring Brad Pitt| Too Young To Die? (1990) : The White Raven : Booster : Street Corner Justice : ....mkv
Fixed after Restart Server (this is coincident with all files reporting "Not Supported File Format" and '*' in filenames also posting an error)

3 - Parse Error to Screen: Title truncated after '&':
  • Chaos; Head| The Complete Series (DVD & Blu-ray Combo).mkv
    Chaos; Head| The Complete Series (DVD & Blu-ray Combo/ Limited Edition).mkv
    Chaos; Head| The Complete Series (DVD & Blu-ray Combo/ Super Amazing Value Edition).mkv
4 - Parse Error to Screen: Title changed after ':' character ('/' on Screen):
  • $5 A Day (Image: Blu-ray)
    $5 A Day (Image: (1992)
5 - Parse Error on Screen: changes the '.' to ' ' iff the '-' is present (the '&' is a non-issue)
  • " .hack::Quantum| Complete OVA Series (DVD & Blu-ray Combo).mkv"
    but this works with the '-' here :
    " .hack::ROOTS #1 (DVD:CD Combo w: T-Shirt: Original Soundtrack: Video Game Demo: Art Box).mkv"
Note: the leading space is needed for names starting with a dot '.' else it won't be displayed (hidden file)

The log files have it all.

Re: Filename Parsing & Display Problems

Posted: Sun Mar 29, 2015 10:52 am
by michaelt
Update: Tested the Java8 version - same problems, anomalies, recoveries. Log attached.

Solved (partially?): Filename Display Problems

Posted: Mon Mar 30, 2015 12:08 pm
by michaelt
Further testing manipulating the options "fixed" the Display name problems.
All the name changes cleaned up when:
  • "File order = ASCIIbetical"
    "Ignore the word "the" while sorting" = deselect
    "Prettify filenames" = deselect
It turns out "the" is still ignored only if it is the first word of a title but still displays.
Exactly what is desired since it aligns with most video name sorting algorithms!

I did not see the "*" problem or the "Parse Error" reported in the log. Will update if they reappears later.
(It may still be a bug with the options set.)

Very pleased to see these issues caused by normal option selections and not real bugs.
One more thing off my check list.