I am not attaching any logs or posting system specs because it is not relevant in this matter:
Currently the TV-Servers recorded TV does the following thing:
1. Take "creation date" of file X and use it as "recording start date"
2. Take "modify date" of file X and use it as "recording end date"
3. Calculate the time-difference between 1. and 2. to use it as "duration time"
Now guess one would like to cut a recording to remove anything before and after the show one wanted to record (or cut commericals for example). If this edit is saved to the same file the "modify date" gets changed. If this edit is saved to a new file both "creation date" AND "modify date" are getting changed.
As you can see the listing of recorded TV is really messed up when edits of any kind are done.
So my proposal is:
EITHER
take the "creation time" out of the recordings filename (it's already there) and calculate the duration by processing the file like it's done in any application which creates playlists on the fly or showing the duration of single files by calculating the stream (?).
OR
... write these information into the XML file which is created for each recording. This would save CPU time for checking on each single files duration.
-level20peon
Currently the TV-Servers recorded TV does the following thing:
1. Take "creation date" of file X and use it as "recording start date"
2. Take "modify date" of file X and use it as "recording end date"
3. Calculate the time-difference between 1. and 2. to use it as "duration time"
Now guess one would like to cut a recording to remove anything before and after the show one wanted to record (or cut commericals for example). If this edit is saved to the same file the "modify date" gets changed. If this edit is saved to a new file both "creation date" AND "modify date" are getting changed.
As you can see the listing of recorded TV is really messed up when edits of any kind are done.
So my proposal is:
EITHER
take the "creation time" out of the recordings filename (it's already there) and calculate the duration by processing the file like it's done in any application which creates playlists on the fly or showing the duration of single files by calculating the stream (?).
OR
... write these information into the XML file which is created for each recording. This would save CPU time for checking on each single files duration.
-level20peon
Germany