Jump to content

RS file naming scheme bug


majstang

Recommended Posts

Posted

Found a possible bug in the file naming scheme. Or possibly some quirk in Windows.

 

Im using:

 

%year%m%d_%time_%station_%event - %title

 

Im using double quotations in the %title, which in file naming scheme equals the sub-title. Enclosing the episode name in double quotes is a common way to highlight it and separate it from episode numbering like this:

 

S14E05 - "Battle of the Sexes Round 2"

 

This is how the RS event looks like in both the fileinfo and infofile.

 

Windows has several restrictions on file names, which includes double quotes, so when Windows constructs the filename these double quotes always gets removed. However when left quote is removed it leaves a leading single space. Removal of the right quote goes better and no trailing space could be seen. My filename looks like this with double spaces between last hyphen minus symbol and episode name (starts with Battle):

 

20140630_18-59-03_Discovery Channel_Mythbusters - S14E05 - Battle of the Sexes Round 2.ts

 

Fixable?

Posted (edited)

Windows (at least XP...) do permit "english (inclined) double quote" in file names and refuse "normal (stright) quote"; you can obtain those two special chars from the keyboard pressing Alt+0147 and Alt+0148, respectively; but I dunno if they can cause funny problems elsewhere...

:bye:

Edited by Gioxy
Posted (edited)

Windows (at least XP...) do permit "english (inclined) double quote" in file names...

 

They work nicely in Windows 7 as well. No more extra leading space in filename. Thanks for the great tip, Gioxy :original: Only problem this change caused so far is Rec.event prevent recordings of re-runs doesnt recognize these english inclined double quotes and already recorded shows mismatch with newly created timers and dont get deactivated. I will have to edit fileinfo and infofile for all recordings with this kind of event/sub-title. Luckily there arent many cuz I just changed to this format some days ago.

 

20140701_17-38-38_Kanal 5_Grey s Anatomy - S05E08 - “These Ties That Bind”.ts

 

:wave:

Edited by majstang
×
×
  • Create New...