View Single Post
Old 08-08-2011, 09:42 AM   #470
Mark Nord
2B || !2B
Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.
 
Posts: 854
Karma: 327896
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
Hi Victor,

A file-manager is on the FR-List for PRS+, don't know if kartu has started this or what are his plans on this.

Regarding other file-types beyond books in browse-folders this is done for 600 and x50.

Relevant code is in model-config.js
Spoiler:
here is the code for 505
Code:
       media: {
                // types to be used to determine media type using "xs.isInstanceOf"
                types: [FskCache.text],
                // what kind it is, supported are: "book", "picture", "note", "audio"
                kinds: ["book"],
                // node prototypes to use when creating media nodes
                prototypes: [FskCache.tree.bookNode]
        },
and here for x50
Code:
media: {
                // types to be used to determine media type using "xs.isInstanceOf"
                types: [ FskCache.text  , FskCache.image, FskCache.notepad],
                // what kind it is, supported are: "book", "picture", "note", "audio"
                kinds: [ "book", "picture", "note"],
                // node prototypes to use when creating media nodes
                prototypes: [ FskCache.tree.bookNode, kbook.root.children.applicationRoot.children.pictures.prototype, FskCache.tree.notepadFreehandNode]
        },

with the right prototypes set, I assume also PRS-505 can browse other file-types too

Last edited by Mark Nord; 08-08-2011 at 10:18 AM. Reason: typos
Mark Nord is offline   Reply With Quote