Eyerex and didjean, here's the diffs for the file changes I made to add the clock. This is probably _not_ how you want to do it though. I was just experimenting and for my use I'm only concerned (for now) with one specific device with a 1280x800 screen using the "Grid Skin" which seems to inherit things from both the Joggler and NowPlaying files. I'm pretty sure that my changes would screw up other skin sizes though I haven't tested it yet. But maybe it gives you a hint.
Code: -------------------- --- jive/applets/NowPlaying/NowPlayingApplet.lua +++ /srv/www/sodface_com.website/repo/cb/aopen-veyron/tmp/files/NowPlayingApplet.lua @@ -1023,6 +1023,8 @@ return end + self.sodlabel:setValue(datetime.getCurrentTime()) + local strElapsed = "" local strRemain = "" local pos = 0 @@ -1411,6 +1413,8 @@ end end + self.sodlabel = Label("text", datetime.getCurrentTime()) + self.mainTitle = self:_titleText('play') self.titleGroup = self:_createTitleGroup(window, 'button_playlist') @@ -1691,6 +1695,8 @@ repeatMode = self.repeatButton, shuffleMode = self.shuffleButton, + + clock = self.sodlabel, volDown = Button( Icon('volDown'), -------------------- Code: -------------------- --- jive/applets/JogglerSkin/JogglerSkinApplet.lua +++ /srv/www/sodface_com.website/repo/cb/aopen-veyron/tmp/files/JogglerSkinApplet.lua @@ -2800,7 +2800,7 @@ local controlHeight = 72 local controlWidth = 76 - local volumeBarWidth = 240 -- screenWidth - (transport controls + volume controls + dividers + border around volume bar) + local volumeBarWidth = 600 -- screenWidth - (transport controls + volume controls + dividers + border around volume bar) local buttonPadding = 0 local _transportControlButton = { @@ -2927,8 +2927,8 @@ --transport controls npcontrols = { - order = { 'rew', 'div1', 'play', 'div2', 'fwd', 'div3', 'repeatMode', 'div4', 'shuffleMode', - 'div5', 'volDown', 'div6', 'volSlider', 'div7', 'volUp' }, + order = { 'rew', 'div1', 'play', 'div2', 'fwd', 'div3', 'repeatMode', 'div4', 'shuffleMode', + 'volDown', 'div6', 'volSlider', 'div7', 'volUp', 'clock', }, position = LAYOUT_SOUTH, h = controlHeight, w = WH_FILL, -------------------- ------------------------------------------------------------------------ sodface's Profile: http://forums.slimdevices.com/member.php?userid=19057 View this thread: http://forums.slimdevices.com/showthread.php?t=116248 _______________________________________________ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix