greubel
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2012
11:41 AM
roFileSystem stat()
Is there anyway to get the file time ? It would be nice if it came back as part of the stat() call.
5 REPLIES 5

RokuMarkn
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2012
12:16 PM
Re: roFileSystem stat()
What kind of "file time" are you looking for? Creation time, modification time, access time, or something else?
--Mark
--Mark
greubel
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2012
12:37 PM
Re: roFileSystem stat()
It would be nice to be able to sort the files based on time.
If we had time of last access, that could tell if the file has been viewed ? (maybe)
Or with the creation/modified times, could order them by newest first. Handy for episodes.
If we had time of last access, that could tell if the file has been viewed ? (maybe)
Or with the creation/modified times, could order them by newest first. Handy for episodes.

RokuMarkn
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2012
01:35 PM
Re: roFileSystem stat()
Are you talking about media files residing on a server? The roFileSystem APIs only operate on local files, residing on the Roku box.
--Mark
--Mark
greubel
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2012
03:01 PM
Re: roFileSystem stat()
No, the USB drive.

RokuMarkn
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2012
10:41 AM
Re: roFileSystem stat()
That information is not currently available, but it's a reasonable request to add it to the Stat() information. I'll file an enhancement request for this.
--Mark
--Mark