Re: [SlimDevices: Touch] Touch UI Questions (fixes?)

2010-04-28 Thread Michael Herger
Dan - please do as Jim suggested: file a bug report and attach your patch. We 
should fix this in the main code. Thanks!
___
Touch mailing list
Touch@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/touch


Re: [SlimDevices: Touch] Touch UI Questions (fixes?)

2010-04-28 Thread plympton

mherger;541223 Wrote: 
 Dan - please do as Jim suggested: file a bug report and attach your
 patch. We should fix this in the main code. Thanks!

Whoops!  Wasn't subscribed to this thread.  Will do.

Thanks!
-Dan


-- 
plympton

plympton's Profile: http://forums.slimdevices.com/member.php?userid=12955
View this thread: http://forums.slimdevices.com/showthread.php?t=77679

___
Touch mailing list
Touch@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/touch


Re: [SlimDevices: Touch] Touch UI Questions (fixes?)

2010-04-22 Thread plympton

erland;538708 Wrote: 
 
 Let me know if you want me to host it in my Google Code project and
 I'll add it as soon as I've got the patch file from you.

Can you host it until I can get a handle on hosting it myself?  I don't
envision changing this patch very often at this point, and just want to
get it running.  It's a good test, too.

Patch attached - works on 7.5.1 nightlies (7.5+?) on Touch (Fab4?)

Thanks!

-Dan


+---+
|Filename: VolumeSpeed-1.0.zip  |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=9730|
+---+

-- 
plympton

plympton's Profile: http://forums.slimdevices.com/member.php?userid=12955
View this thread: http://forums.slimdevices.com/showthread.php?t=77679

___
Touch mailing list
Touch@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/touch


Re: [SlimDevices: Touch] Touch UI Questions (fixes?)

2010-04-22 Thread erland

plympton;539006 Wrote: 
 Can you host it until I can get a handle on hosting it myself?  I don't
 envision changing this patch very often at this point, and just want to
 get it running.  It's a good test, too.
 
It should now be available through Patch Installer, I had to adjust
spaces/tabs to make it possible to apply but besides that it's your
changes. I should probably change the Patch Installer applet so it
applies the patch with the -l flag which ignore differences in white
spaces.


-- 
erland

Erland Isaksson
'My homepage' (http://erland.isaksson.info) (Install my plugins through
Extension Downloader)
(Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse,
Custom Scan,  Custom Skip, Multi Library, Title Switcher and Database
Query plugins'
(http://wiki.erland.isaksson.info/index.php/Category:SlimServer))

erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=77679

___
Touch mailing list
Touch@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/touch


Re: [SlimDevices: Touch] Touch UI Questions (fixes?)

2010-04-22 Thread plympton

erland;539029 Wrote: 
 It should now be available through Patch Installer, I had to adjust
 spaces/tabs to make it possible to apply but besides that it's your
 changes. I should probably change the Patch Installer applet so it
 applies the patch with the -l flag which ignore differences in white
 spaces.

That's probably because I copy/pasted it on my Mac or PC (forget
which), and I'm sure it bunged up the spacing.  Thanks for that!

I've been playing around with the UI a bit today, and have a
FatFingerSkin that I'm going to post.  What would be the best way to
distribute something that?  It's a LUA file and 2 modified PNG's (weird
background image bug - you can't resize them, apparently)

-Dan


-- 
plympton

plympton's Profile: http://forums.slimdevices.com/member.php?userid=12955
View this thread: http://forums.slimdevices.com/showthread.php?t=77679

___
Touch mailing list
Touch@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/touch


[SlimDevices: Touch] Touch UI Questions (fixes?)

2010-04-21 Thread plympton

Got my touch last week, and been playing with it - overall, very nice,
though some things are a bit odd.

1. Is there a reason that volume control should be slower than on a
Classic?  It just seems like it takes forever to go from full - half
volume, say.  Like when the keyboard repeat rate is too slow.  Any fix?
I'm running the 7.5.1 nightly, so that could be part of it, though it's
not happening on the Classics I have, and the Touch is literally a
matter of a few feet from the server.

2. Is there a way to disable Repeat on the UI?  I seem to fat-finger
the next song button and keep hitting the Repeat button.  Any guidance
on where/how to change that on the skin?

I'm tossing the idea around of getting an skin like I have on my iPhone
(www.bestskinsever.com), but I'll probably get one that covers the whole
front of the device.  I've got a 3-year-old who loves to tap-tap-tap on
my gizmos... !

-Dan


-- 
plympton

plympton's Profile: http://forums.slimdevices.com/member.php?userid=12955
View this thread: http://forums.slimdevices.com/showthread.php?t=77679

___
Touch mailing list
Touch@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/touch


Re: [SlimDevices: Touch] Touch UI Questions (fixes?)

2010-04-21 Thread JJZolx

plympton;538331 Wrote: 
 1. Is there a reason that volume control should be slower than on a
 Classic?  It just seems like it takes forever to go from full - half
 volume, say.  Like when the keyboard repeat rate is too slow.  Any fix?
 I'm running the 7.5.1 nightly, so that could be part of it, though it's
 not happening on the Classics I have, and the Touch is literally a
 matter of a few feet from the server.

I never use the volume control on the Touch, instead preferring to use
my preamp's volume control.  It's very fast using the Touch interface,
but I see what you mean if you're using the IR interface.  It's
unusually slow.

 2. Is there a way to disable Repeat on the UI?  I seem to fat-finger the
 next song button and keep hitting the Repeat button.  Any guidance on
 where/how to change that on the skin?

I don't think there's any way.  I'd often wondered whether anyone would
have problems with the small buttons in the button bar and with hitting
the wrong one.


-- 
JJZolx

Jim

JJZolx's Profile: http://forums.slimdevices.com/member.php?userid=10
View this thread: http://forums.slimdevices.com/showthread.php?t=77679

___
Touch mailing list
Touch@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/touch


Re: [SlimDevices: Touch] Touch UI Questions (fixes?)

2010-04-21 Thread plympton

JJZolx;538337 Wrote: 
 I never use the volume control on the Touch, instead preferring to use
 my preamp's volume control.  It's very fast using the Touch interface,
 but I see what you mean if you're using the IR interface.  It's
 unusually slow.

Bummer.  I was hoping I was doing something wrong.  Volume really is
something best controlled either locally or physically - I hate my
Ergonomics education!  Anyway, mayhaps something can fix it.

JJZolx;538337 Wrote: 
 I don't think there's any way.  I'd often wondered whether anyone would
 have problems with the small buttons in the button bar and with hitting
 the wrong one.

Fat Fingers Freddy, that is I.  I *THINK* I can use the Custom Clock
plugin to create a custom now-playing screen and take care of it, but
now that I re-think about it, I think that screen is SANS buttons -
it's the equivalent of a screensaver.  HmHmHmHm.

-Dan


-- 
plympton

plympton's Profile: http://forums.slimdevices.com/member.php?userid=12955
View this thread: http://forums.slimdevices.com/showthread.php?t=77679

___
Touch mailing list
Touch@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/touch


Re: [SlimDevices: Touch] Touch UI Questions (fixes?)

2010-04-21 Thread JohnSwenson

Yes, the custom clock applet is just for viewing, no buttons.

You COULD always go into the lua code for the now playing screen and
change the size of things, you just have to make sure that everything
you want on the screen still fits. Changing the size of an existing
object is a lot easier than starting from scratch since working code is
already there!

John S.


-- 
JohnSwenson

JohnSwenson's Profile: http://forums.slimdevices.com/member.php?userid=5974
View this thread: http://forums.slimdevices.com/showthread.php?t=77679

___
Touch mailing list
Touch@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/touch


Re: [SlimDevices: Touch] Touch UI Questions (fixes?)

2010-04-21 Thread Michael Herger
 Bummer.  I was hoping I was doing something wrong.  Volume really is
 something best controlled either locally or physically - I hate my
 Ergonomics education!  Anyway, mayhaps something can fix it.

Are you seeing a delay when using the Touch UI (with your fingers) or the 
remote control? Hitting +/- on the screen or dragging the volume indicator?

-- 

Michael
___
Touch mailing list
Touch@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/touch


Re: [SlimDevices: Touch] Touch UI Questions (fixes?)

2010-04-21 Thread JJZolx

I'm seeing it with the remote.  I wouldn't call it a delay, really, as
the response is instantaneous, but it takes a long time to accelerate. 
As near as I can time it, it takes a full seven seconds to go from 100%
to 50% using the remote.


-- 
JJZolx

Jim

JJZolx's Profile: http://forums.slimdevices.com/member.php?userid=10
View this thread: http://forums.slimdevices.com/showthread.php?t=77679

___
Touch mailing list
Touch@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/touch


Re: [SlimDevices: Touch] Touch UI Questions (fixes?)

2010-04-21 Thread plympton

JJZolx;538378 Wrote: 
 I'm seeing it with the remote.  I wouldn't call it a delay, really, as
 the response is instantaneous, but it takes a long time to accelerate. 
 As near as I can time it, it takes a full seven seconds to go from 100%
 to 50% using the remote.

I'm getting about the same - when I saw 7 seconds, I was like, No way,
can't be that long, but yep.  Timed it on the ol' iPhone - 7 seconds
from 100% - 50%, but 8.2 to go from 50% to 0%.  Acceleration really
kicks in.

Subjectively, it's about 1/2 the rate of the SB3's I have.


-- 
plympton

plympton's Profile: http://forums.slimdevices.com/member.php?userid=12955
View this thread: http://forums.slimdevices.com/showthread.php?t=77679

___
Touch mailing list
Touch@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/touch


Re: [SlimDevices: Touch] Touch UI Questions (fixes?)

2010-04-21 Thread plympton

I'll post my experience here just in case others are curious and don't
want to experience my pain.  :-)  I'm sure there's an easier way.

The files you want to modify are on the Touch itself, not the server. 
This is new for a SB3 hacker like myself.  You need to enable
SSH/Remote login from the UI.

From there, I've found the Touch applets are located in:
/usr/share/jive/applets/

I've modified the
/usr/share/jive/applets/NowPlaying/NowPlayingApplet.lua with this:

local repeatModes = {
mode0 = 'repeatOff',
--  mode1 = 'repeatSong',
--  mode2 = 'repeatPlaylist',
}

This changes the UI - the button won't respond to a touch graphically,
but it still changes the repeat mode itself.  

What you need to do is comment out the push action (-- is a comment
mark in Lua - egad, not ANOTHER language to learn! :-()

self.repeatButton = Button(Icon('repeatMode'),
function() 
--Framework: pushAction(repeat_toggle)
return EVENT_CONSUME 
end
)

This disables the button on the GUI, but keeps it working on the
remote.  1.  Small.  Victory.  :-)

You also need to reboot between changes as far as I can tell.  This
will make hacking rather tedious - any way to re-launch an Applet
without rebooting?  I ended up hacking away on Squeezeplay since it's
almost instant reboot on my PC.

-Dan


-- 
plympton

plympton's Profile: http://forums.slimdevices.com/member.php?userid=12955
View this thread: http://forums.slimdevices.com/showthread.php?t=77679

___
Touch mailing list
Touch@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/touch


Re: [SlimDevices: Touch] Touch UI Questions (fixes?)

2010-04-21 Thread plympton

With local pushes, it goes from the screen, and Lua interprets it
locally, sending the result to the server for processing.

With the remote, the hardware takes in the IR code, sends it to the
server for processing, which sends the result back to the Touch for
display updates?  Essentially a 2nd wireless hop back to the touch
before the display gets updated?

OK, I'll take it to the SqueezeOS area now.. :-)

-Dan


-- 
plympton

plympton's Profile: http://forums.slimdevices.com/member.php?userid=12955
View this thread: http://forums.slimdevices.com/showthread.php?t=77679

___
Touch mailing list
Touch@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/touch


Re: [SlimDevices: Touch] Touch UI Questions (fixes?)

2010-04-21 Thread peterw

plympton;538688 Wrote: 
 
 Also, I keep bricking my machine when I've got a typo in my edits - any
 way to make THAT not happen!?

How on earth do your brick something that's already bricked? :-)

One trick you might leverage: on bootup, Touch looks for a file named
squeezeos-boot.sh on local media, and runs it if it exists. It's easy
to imagine a script on an autorestore SD card like


Code:


  #!/bin/sh
  # Caveat: untested!!!
  # replace any .bak files on the root ubifs
  for f in `find /mnt/storage -xdev -type f -name \*.bak`; do
  oldname=`echo $f | sed 's:.bak$::'`
  cat $f  $oldname
  done
  



so what you'd do before making a change and rebooting is save the old,
known good file as $orginalname.bak. When rebooting to test, keep your
autorestore SD card *out*. If the device seems toasted, unplug it,
pop the SD card in, and reboot to restore your .bak files.

Add another script to wipe out bak files that you'd run if Touch booted
ok, e.g.


Code:


  #!/bin/sh
  # Caveat: untested!!!
  find /mnt/storage -xdev -type f -name \*.bak | xargs rm
  



-- 
peterw

http://www.tux.org/~peterw/
Free plugins:  'AllQuiet'
(http://www.tux.org/~peterw/slim/AllQuiet.html) 'Auto Dim/AutoDisplay'
(http://www.tux.org/~peterw/slim/AutoDisplay.html) 'BlankSaver'
(http://www.tux.org/~peterw/slim/BlankSaver.html) 'ContextMenu'
(http://www.tux.org/~peterw/slim/ContextMenu.html) 'DenonSerial'
(http://www.tux.org/~peterw/slim/DenonSerial.html)
'FuzzyTime' (http://www.tux.org/~peterw/slim/FuzzyTime.html) 'KidsPlay'
(http://www.tux.org/~peterw/slim/KidsPlay.html) 'KitchenTimer'
(http://www.tux.org/~peterw/slim/KitchenTimer.html) 'PlayLog'
(http://www.tux.org/~peterw/slim/PlayLog.html)
'PowerCenter/BottleRocket'
(http://www.tux.org/~peterw/slim/PowerCenter.html) 'SaverSwitcher'
(http://www.tux.org/~peterw/slim/SaverSwitcher.html)
'SettingsManager'
(http://www.tux.org/~peterw/slim/SettingsManager.html) 'SleepFade'
(http://www.tux.org/~peterw/slim/SleepFade.html) 'StatusFirst'
(http://www.tux.org/~peterw/slim/StatusFirst.html) 'SyncOptions'
(http://www.tux.org/~peterw/slim/SyncOptions.html) 'VolumeLock'
(http://www.tux.org/~peterw/slim/VolumeLock.html)

peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107
View this thread: http://forums.slimdevices.com/showthread.php?t=77679

___
Touch mailing list
Touch@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/touch


Re: [SlimDevices: Touch] Touch UI Questions (fixes?)

2010-04-21 Thread erland

plympton;538688 Wrote: 
 
 I've plowed through the code today, and made some good progress on the
 volume slow issue. It seems it might be a dance between reliability
 (not overshooting) and responsiveness.  How can I go about making this
 a parameter somewhere so that I don't need to reset this with every
 FlashROM update?
 
If you create a patch file using diff -uN oldfile newfile we can
integrate it with the third party Patch Installer applet which can
re-install the patch automatically after each firmware upgrade.

You can look at a sample patch file for something completely
differently here:
http://erlandapplets.googlecode.com/svn/PatchInstaller/trunk/patches/dBVolume/dBVolume-1.0.patch

As you can see, the patch file needs to be relative to the /usr
directory.

If you create a patch file I can host it in my Google Code project or
as an alternative you can host it on your own server and create your
own repository file that contains your patches.

For a sample of a repository file, you can see the bottom patches
section of my repository:
http://erlandplugins.googlecode.com/svn/repository/trunk/latest.xml
Or as an alternative look at jstraw's repository file that only
contains patches, here:
http://www.smallproblem.com/touchmeter/jstraws_squeezebox_touch_enhancements.xml

Let me know if you want me to host it in my Google Code project and
I'll add it as soon as I've got the patch file from you.


-- 
erland

Erland Isaksson
'My homepage' (http://erland.isaksson.info) (Install my plugins through
Extension Downloader)
(Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse,
Custom Scan,  Custom Skip, Multi Library, Title Switcher and Database
Query plugins'
(http://wiki.erland.isaksson.info/index.php/Category:SlimServer))

erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=77679

___
Touch mailing list
Touch@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/touch