Message ID | 43597351.3090902@syphir.sytes.net |
---|---|
State | New |
Headers |
Received: from c-24-10-6-146.hsd1.ca.comcast.net ([24.10.6.146] helo=nofear.bounceme.net) by www.linuxtv.org with esmtp (Exim 4.50) id 1ET5sC-0000bk-Mq for vdr@linuxtv.org; Sat, 22 Oct 2005 01:00:29 +0200 Received: from [10.1.1.66] (hades [10.1.1.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by nofear.bounceme.net (Postfix) with ESMTP id E2F2E73534 for <vdr@linuxtv.org>; Fri, 21 Oct 2005 15:59:52 -0700 (PDT) Message-ID: <43597351.3090902@syphir.sytes.net> Date: Fri, 21 Oct 2005 16:01:37 -0700 From: "C.Y.M" <syphir@syphir.sytes.net> Organization: CooLNeT User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Klaus Schmidinger's VDR <vdr@linuxtv.org> Subject: Re: [vdr] Testing Enigma 4pre2 References: <4353806A.7080109@syphir.sytes.net> <43540DDB.40207@gmx.net> <435415A9.3060801@syphir.sytes.net> <43552332.6090407@gmx.net> <43555561.9020302@syphir.sytes.net> <4358E33E.9040409@gmx.net> <43593FE7.20507@syphir.sytes.net> <4359493B.3030400@syphir.sytes.net> <43596B7C.2040908@syphir.sytes.net> In-Reply-To: <43596B7C.2040908@syphir.sytes.net> X-Enigmail-Version: 0.92.1.0 Content-Type: multipart/mixed; boundary="------------010708040304040102020601" X-BeenThere: vdr@linuxtv.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: syphir@syphir.sytes.net, Klaus Schmidinger's VDR <vdr@linuxtv.org> List-Id: Klaus Schmidinger's VDR <vdr.linuxtv.org> List-Unsubscribe: <http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr>, <mailto:vdr-request@linuxtv.org?subject=unsubscribe> List-Archive: <http://www.linuxtv.org/pipermail/vdr> List-Post: <mailto:vdr@linuxtv.org> List-Help: <mailto:vdr-request@linuxtv.org?subject=help> List-Subscribe: <http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr>, <mailto:vdr-request@linuxtv.org?subject=subscribe> X-List-Received-Date: Fri, 21 Oct 2005 23:00:29 -0000 Status: O X-Status: X-Keywords: X-UID: 5597 |
Commit Message
C.Y.M
Oct. 21, 2005, 11:01 p.m. UTC
>> >>Here are some more changes required for the substitution method. >> > > > Here is a tested and working patch for UpdateEnigma.sh. This patch in > conjunction with the previous attachment (enigma-4pre2-display.diff) seems to > work fine. The final stage of this patch is now to decide what areas of the > skin are going to be substituted and made configurable. > Hmm, I sure did that the hard way. :) Here is a better, more simplified patch for UpdateEnigma.sh.
Comments
C.Y.M schrieb: >>>Here are some more changes required for the substitution method. >>> >>> >> >>Here is a tested and working patch for UpdateEnigma.sh. This patch in >>conjunction with the previous attachment (enigma-4pre2-display.diff) seems to >>work fine. The final stage of this patch is now to decide what areas of the >>skin are going to be substituted and made configurable. >> >> > > >Hmm, I sure did that the hard way. :) Here is a better, more simplified patch >for UpdateEnigma.sh. > > > > > >------------------------------------------------------------------------ > >diff -ruN Enigma.orig/scripts/UpdateEnigma.sh Enigma/scripts/UpdateEnigma.sh >--- Enigma.orig/scripts/UpdateEnigma.sh 2005-10-21 15:55:16.000000000 -0700 >+++ Enigma/scripts/UpdateEnigma.sh 2005-10-21 15:57:16.000000000 -0700 >@@ -7,7 +7,9 @@ > T2S_EXT="false" > # defines if the switchonly-patch by LightYear is installed ("true" or "false") > SW_ONLY="false" >- >+# defines preferred display method in skin ("text" or "scrolltext" or "marquee") >+MENU_DISPLAY="marquee" >+CHAN_DISPLAY="marquee" > > # don't edit beyond here > SKIN_TEMPLATE="$SKINPATH/Enigma.skin.template" >@@ -71,6 +73,8 @@ > | sed -e "s/%BLUE_R%/"$b_r"/" \ > | sed -e "s/%BLUE_R_T%/"`expr $b_r + 0`"/" \ > | sed -e "s/%BLUE_R_M1%/"`expr $b_r - 1`"/" \ >+| sed -e "s/%MENU_DISPLAY%/"$MENU_DISPLAY"/g" \ >+| sed -e "s/%CHAN_DISPLAY%/"$CHAN_DISPLAY"/g" \ > > $SKIN_TMP > > # we have to avoid ',' in m4 so we replace it with ';' > I also thought about a configurable scrolling-mode. But I would rather make it dependend on the menu-element, which is much easier to implement: MAIN_MENU_ITEM="text" # main menu entries SUB_MENU_ITEM="marquee" # entries in the sub-menu (timer and so on) SIDEBAR_ITEM="marquee" # Info in the main-menu (next timer, current recording and so on) maybe also: REPLAY_BAR="marquee" # title of the replay Does it really make sense to use both, a marquee (btw, scrolltext token is already used for text wich goes over more lines) which scrolls in one direction and a marquee that scrolls in both directions? I would think this is a user-opinion which is best and the user would always use either of those. So it would be best to make this configurable in text2skin. Therefore the upper lines in UpdateEnigma.sh could also look like this: SCROLL_MAIN_MENU_ITEM="false" # true or false SCROLL_ SUB_MENU_ITEM="true" SCROLL_ SIDEBAR_ITEM="false" SCROLL_ REPLAY_BAR="true" What do you think about that?
> I also thought about a configurable scrolling-mode. But I would rather > make it dependend on the menu-element, which is much easier to implement: > > MAIN_MENU_ITEM="text" # main menu entries > SUB_MENU_ITEM="marquee" # entries in the sub-menu (timer and so on) > SIDEBAR_ITEM="marquee" # Info in the main-menu (next timer, current > recording and so on) > > maybe also: > > REPLAY_BAR="marquee" # title of the replay Making the scrolling configurable with UpdateEnigma.sh is the best overall solution. I like how you have divided it up by menu elements. > > Does it really make sense to use both, a marquee (btw, scrolltext token > is already used for text wich goes over more lines) which scrolls in one > direction and a marquee that scrolls in both directions? I would think > this is a user-opinion which is best and the user would always use > either of those. So it would be best to make this configurable in > text2skin. Therefore the upper lines in UpdateEnigma.sh could also look I doubt anyone will want to mix marquee with one-directional scrolling. Making this a configure option in text2skin should be fine. > like this: > > SCROLL_MAIN_MENU_ITEM="false" # true or false > SCROLL_ SUB_MENU_ITEM="true" > SCROLL_ SIDEBAR_ITEM="false" > SCROLL_ REPLAY_BAR="true" Is the space after "SCROLL_ " on purpose? > > What do you think about that? > Its great. Thanks!
C.Y.M schrieb: >>like this: >> >>SCROLL_MAIN_MENU_ITEM="false" # true or false >>SCROLL_ SUB_MENU_ITEM="true" >>SCROLL_ SIDEBAR_ITEM="false" >>SCROLL_ REPLAY_BAR="true" >> >> > >Is the space after "SCROLL_ " on purpose? > > Oh, this was a failure. There shouldn't be a space between >>What do you think about that? >> >> >> > >Its great. Thanks! > > I will try to work this in. The TODO has become quite long now ... haven't thought that there was so much to do and there are so much ideas out there. ;-)
diff -ruN Enigma.orig/scripts/UpdateEnigma.sh Enigma/scripts/UpdateEnigma.sh --- Enigma.orig/scripts/UpdateEnigma.sh 2005-10-21 15:55:16.000000000 -0700 +++ Enigma/scripts/UpdateEnigma.sh 2005-10-21 15:57:16.000000000 -0700 @@ -7,7 +7,9 @@ T2S_EXT="false" # defines if the switchonly-patch by LightYear is installed ("true" or "false") SW_ONLY="false" - +# defines preferred display method in skin ("text" or "scrolltext" or "marquee") +MENU_DISPLAY="marquee" +CHAN_DISPLAY="marquee" # don't edit beyond here SKIN_TEMPLATE="$SKINPATH/Enigma.skin.template" @@ -71,6 +73,8 @@ | sed -e "s/%BLUE_R%/"$b_r"/" \ | sed -e "s/%BLUE_R_T%/"`expr $b_r + 0`"/" \ | sed -e "s/%BLUE_R_M1%/"`expr $b_r - 1`"/" \ +| sed -e "s/%MENU_DISPLAY%/"$MENU_DISPLAY"/g" \ +| sed -e "s/%CHAN_DISPLAY%/"$CHAN_DISPLAY"/g" \ > $SKIN_TMP # we have to avoid ',' in m4 so we replace it with ';'