iAudiophile.net Forums
Go Back   iAudiophile.net Forums > Flash-Memory Players > Cowon S9 > S9 UCI Themes & Stuff

Post New Thread  Reply
 
Thread Tools Display Modes
Old 08-20-2009, 12:21   #406
jselby
Senior Member
 
Join Date: Mar 2005
Posts: 257
Default

Quote:
Originally Posted by iofeaijin View Post
actually i want to install the uci on my cowon s9...
but i cannot do it...
For general instruction on how to install a uci (theme) see the first post of this thread.

http://iaudiophile.net/forums/showthread.php?t=27718

You should also read the thread or post you downloaded the uci from for any special instructions related to the uci you are installing.
jselby is offline View jselby's Photo Album   Reply With Quote
Old 10-14-2009, 14:44   #407
kazu-sama
Junior Member
 
Join Date: Aug 2009
Posts: 12
Default

There is a FS command to get file name GetEtcFileName(), but is it possible to get folder name? or any way to access current folder (for ex. to load an image or text file in album folder).
kazu-sama is offline View kazu-sama's Photo Album   Reply With Quote
Old 10-14-2009, 17:54   #408
knoia
Member
 
Join Date: May 2009
Location: Georgia, United States
Posts: 77
Default

Reading through Cowon's documentation I haven't seen one. It would definitely be a very useful command to have. Better yet, a command that would grab the relative path to the file.

Generally speaking, I wish Cowon gave us access to lower level commands. Some areas seem so far abstracted that it makes it difficult to add new functionality.
knoia is offline View knoia's Photo Album   Reply With Quote
Old 10-14-2009, 22:42   #409
Claw
Senior Member
 
Claw's Avatar
 
Join Date: Feb 2009
Posts: 898
Default

It should be EtcBrwGetTitleString

The title is a title of the stage, so in folder browsing (and in Picture mode browsing) it is folder name. It tag browsing, its name of virtual stage (i.e. [Songs])

var currentFolder:String;
ext_fscommand2("EtcBrwGetTitleString", "currentFolder");
__________________
Latest Wallpaper UI - v3.50b (February 15, 2010)
207 individual user settings and counting ...

[ @DeviantArt:
http://secondclaw.deviantart.com ]
Claw is offline View Claw's Photo Album   Reply With Quote
Old 10-15-2009, 00:29   #410
GIL9aMEsh
GILgaMEsh
 
Join Date: Apr 2009
Posts: 144
Default

Quote:
Originally Posted by Claw View Post
It should be EtcBrwGetTitleString

The title is a title of the stage, so in folder browsing (and in Picture mode browsing) it is folder name. It tag browsing, its name of virtual stage (i.e. [Songs])

var currentFolder:String;
ext_fscommand2("EtcBrwGetTitleString", "currentFolder");
@Claw: Could u tell me how to change prefix and suffix in browser?

I mean not through your browser_total.swf, I'm writing a new
script for my currently under work browser, but I just can't
seem to get that changed ...(I don't like the brackets..[])
__________________
GIL9aMEsh is offline View GIL9aMEsh's Photo Album   Reply With Quote
Old 10-15-2009, 08:51   #411
Claw
Senior Member
 
Claw's Avatar
 
Join Date: Feb 2009
Posts: 898
Default

You have to strip them out on the fly. The firmware puts the brackets in, not Flash, so you have to intercept each row as it is being displayed, check if it has brackets, and either replace them with another character, or strip them outright.

This was a simple example I posted back in February on ABI - before Wallpaper UI was born - it removes brackets and colors files and directories using a different - in this case hardcoded - color.:

Code:
function GetListName(NumofList, FileIndex)
{
    Temp_fileString = "TXLine" + NumofList + ".text";
    
    if (FileIndex < g_TotalIndex || g_TotalIndex == 0 && FileIndex == 0)
    {
        ext_fscommand2("EtcBrwGetListString", FileIndex, Temp_fileString);
        var txtlength = _root.MCCon["TXLine" + NumofList].text.length;
        if (_root.MCCon["TXLine" + NumofList].text.charAt(0) == "[" && _root.MCCon["TXLine" + NumofList].text.charAt(txtlength - 1) == "]") {
           _root.MCCon["TXLine" + NumofList].text = _root.MCCon["TXLine" + NumofList].text.substring(1, _root.MCCon["TXLine" + NumofList].text.length - 1);
            _root.MCCon["TXLine" + NumofList].textColor = 0xFFFF52;   
        }
        else
             _root.MCCon["TXLine" + NumofList].textColor = 0xFFFFFF;  
               
    }
    else
    {
        _root.MCCon["TXLine" + NumofList].text = "";
    } // end else if
} // End of the function
Quote:
Originally Posted by zipper90 View Post
@Claw: Could u tell me how to change prefix and suffix in browser?

I mean not through your browser_total.swf, I'm writing a new
script for my currently under work browser, but I just can't
seem to get that changed ...(I don't like the brackets..[])
__________________
Latest Wallpaper UI - v3.50b (February 15, 2010)
207 individual user settings and counting ...

[ @DeviantArt:
http://secondclaw.deviantart.com ]
Claw is offline View Claw's Photo Album   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 04:08.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.