2013-07-08, 02:16 PM
I'm writing a little php utility to rename shows a bit more "Library" friendly, such as "Under the Dome.S01E03.ts" using thetvdb api. I'm sure there are many renamers out there, but none that fit my needs so far.
I'm extremely curious as to how does NPVR pick up the actual file name from the RECORDED table, being that the definition for filename in the recorded table is only varchar(50). How does it know when you have a long folder name like
"c:/media/tvshows/recordings/Beauty and the Beast (2012)/Season 1/Beauty and The Beast_part1.S01E13.20080925110101.ts",
Which obviously is longer than 50 characters.
I know all about the :metadata.xml stream that is part of the actual recording file, but that means that NPVR would have to scan the physical folder at start up to get the actual file name.
Is there another table where the filename is stored ?
My object is to rename the physical file as well as the SQLite database so that I can play the recording with NPVR or any other player.
I'm extremely curious as to how does NPVR pick up the actual file name from the RECORDED table, being that the definition for filename in the recorded table is only varchar(50). How does it know when you have a long folder name like
"c:/media/tvshows/recordings/Beauty and the Beast (2012)/Season 1/Beauty and The Beast_part1.S01E13.20080925110101.ts",
Which obviously is longer than 50 characters.
I know all about the :metadata.xml stream that is part of the actual recording file, but that means that NPVR would have to scan the physical folder at start up to get the actual file name.
Is there another table where the filename is stored ?
My object is to rename the physical file as well as the SQLite database so that I can play the recording with NPVR or any other player.