<Solved> Filename Parsing & Display Problems

For help and support with Universal Media Server
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Post Reply
michaelt
Posts: 155
Joined: Tue Feb 03, 2015 11:18 am
Location: lost in the depths of my mind

<Solved> Filename Parsing & Display Problems

Post 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.
Attachments
ums_dbg-5_TitleNameParse.zip
(51.77 KiB) Downloaded 387 times
Last edited by michaelt on Mon Mar 30, 2015 12:09 pm, edited 1 time in total.
MacPro5,1 - 2.8 GHz, 32 GB, 20TB, OS X 10.11.6,
. . . . and a few others.
Samsung UN55C8000
Home Theater (WIP): OS X based now, dedicated Linux later.
michaelt
Posts: 155
Joined: Tue Feb 03, 2015 11:18 am
Location: lost in the depths of my mind

Re: Filename Parsing & Display Problems

Post by michaelt »

Update: Tested the Java8 version - same problems, anomalies, recoveries. Log attached.
Attachments
ums_dbg-8_510J8_NameParseErrors.zip
(22.52 KiB) Downloaded 376 times
MacPro5,1 - 2.8 GHz, 32 GB, 20TB, OS X 10.11.6,
. . . . and a few others.
Samsung UN55C8000
Home Theater (WIP): OS X based now, dedicated Linux later.
michaelt
Posts: 155
Joined: Tue Feb 03, 2015 11:18 am
Location: lost in the depths of my mind

Solved (partially?): Filename Display Problems

Post 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.
MacPro5,1 - 2.8 GHz, 32 GB, 20TB, OS X 10.11.6,
. . . . and a few others.
Samsung UN55C8000
Home Theater (WIP): OS X based now, dedicated Linux later.
Post Reply