Re: [Freevo-users] LCD plugin / toggling screens

2008-07-04 Thread Han Hartgers
On Thu, Jul 3, 2008 at 2:40 AM, Duncan Webb [EMAIL PROTECTED] wrote:
 Han Hartgers wrote:
 I am also  digging around in the pylcd.py file, but for an other reason
From LCDd version 0.5 should all the text send to the daemon be in the
 form of ISO 8859-1 or Latin-1, and I believe that Freevo is sending
 the text as Unicode. This goes terribly wrong if you have for instance
 a Japanese title of a movie.

 I would be surprised if freevo was sending Unicode, if it is then it
 would work with Japanese. More likely, there may be a way to change the
 code page of the LCD display. I use the LCDd and it works fine, not seen
 a funny character for ages.


To be honest I do not know actually if it is an unicode to Latin-1
conversion problem.
I do get:

drawtime=1.9
self.conn.write(widget_set tv prog_v 1 2 20 2 m 3 ?+'
') failed
drawtime=2.0
drawtime=13.2
self.conn.write(widget_set tv prog_v 1 2 20 2 m 3 ??+'
') failed
drawtime=1.7
self.conn.write(widget_set tv prog_v 1 2 20 2 m 3 +'
') failed
drawtime=0.5
self.conn.write(widget_set tv prog_v 1 2 20 2 m 3 ??+'
') failed

In my log files and on de console when I brows around in the TV-guide
with Japanese programs. In general I see the last valid text on the
LCD.
My interpretation of the ? was something wrong with the encoding.
And I assume in pylcd.py.

It is maybe a freevo bug that the system has the tendency to freeze
after too many of the above messages.

Greetings,

Han

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] LCD plugin / toggling screens

2008-07-02 Thread Duncan Webb
Han Hartgers wrote:
 On Wed, Jul 2, 2008 at 3:20 AM, Markus Wittenberg
 [EMAIL PROTECTED] wrote:
 Hi
 At the moment im using lcd plugin. lcd2 plugin is fine too but I have to 
 examine
 it first.

 My first idea was to modify 'pylcd.py'. Maybe while doing the connect you can
 tell LCDd how to handle different clients. I didn't go very deep into the 
 code.
 And I don't know if LCDd supports such a feature.

 
 LCDd deamon does support this kind of feature; you can give a client
 or actually a screen a certain priority over others. You can grab
 focus in that way. But you can also balance your Freevo LCD
 screens/widgets, with the lcdproc screens and with the screen of an
 mpd client for instance.
 Maybe you should adjust it on screen level; while navigation through
 the menu's you want to have full focus, but while watching a movie or
 a slide show you want to know what lcdproc is doing. It must be
 somewhere in the source code to change this.
 
 I am also  digging around in the pylcd.py file, but for an other reason
From LCDd version 0.5 should all the text send to the daemon be in the
 form of ISO 8859-1 or Latin-1, and I believe that Freevo is sending
 the text as Unicode. This goes terribly wrong if you have for instance
 a Japanese title of a movie.

I would be surprised if freevo was sending Unicode, if it is then it
would work with Japanese. More likely, there may be a way to change the
code page of the LCD display. I use the LCDd and it works fine, not seen
a funny character for ages.

 I try to solve this, but I do not mind to have this weekend also a
 look at the balance/priority of each screen.
 
 I think we should keep in touch to prevent the two patches from having
 difficulties with each other.

Duncan


-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] LCD plugin / toggling screens

2008-07-01 Thread Duncan Webb
Markus Wittenberg wrote:
 Hi
 
 I'm using the LCD plugin and LCDproc and this is really cool.
 
 Unfortunately when freevo is running no other information is shown on the 
 display. I'm wondering if it was possible to configure LCD plugin in a way to 
 show sequently freevo screens and LCDProc screens like CPU usage. Maybe there 
 is 
 just a flag in the code to be set to tell freevo to share the display.


The lcd plug-in is quite old, from the days when LCD displays were very 
restrictive. lcd2 is a newer LCD plug-in but possible can't do what you 
want.

Duncan

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] LCD plugin / toggling screens

2008-07-01 Thread Markus Wittenberg
Hi
At the moment im using lcd plugin. lcd2 plugin is fine too but I have to 
examine 
it first.

My first idea was to modify 'pylcd.py'. Maybe while doing the connect you can 
tell LCDd how to handle different clients. I didn't go very deep into the code. 
And I don't know if LCDd supports such a feature.

Regards, Markus

Andreas Dick schrieb:
 hei Markus
 I wrote the lcd2 plugin, and no, the standard LCDproc screens are not 
 possibla 
 as far.
 but I think if you digg the code, you should find a way to insert it... in 
 the 
 case of questions about the code, just ask me!
 Andreas
 
 Am Dienstag, 1. Juli 2008 14.48:51 schrieb Markus Wittenberg:
 Hi

 I'm using the LCD plugin and LCDproc and this is really cool.

 Unfortunately when freevo is running no other information is shown on the
 display. I'm wondering if it was possible to configure LCD plugin in a way
 to show sequently freevo screens and LCDProc screens like CPU usage. Maybe
 there is just a flag in the code to be set to tell freevo to share the
 display.

 Thanks and regards
 Markus


 -
 Check out the new SourceForge.net Marketplace.
 It's the best place to buy or sell services for
 just about anything Open Source.
 http://sourceforge.net/services/buy/index.php
 ___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users
 
 
 
 -
 Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
 Studies have shown that voting for your favorite open source project,
 along with a healthy diet, reduces your potential for chronic lameness
 and boredom. Vote Now at http://www.sourceforge.net/community/cca08
 ___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users
 


-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] LCD plugin / toggling screens

2008-07-01 Thread Han Hartgers
On Wed, Jul 2, 2008 at 3:20 AM, Markus Wittenberg
[EMAIL PROTECTED] wrote:
 Hi
 At the moment im using lcd plugin. lcd2 plugin is fine too but I have to 
 examine
 it first.

 My first idea was to modify 'pylcd.py'. Maybe while doing the connect you can
 tell LCDd how to handle different clients. I didn't go very deep into the 
 code.
 And I don't know if LCDd supports such a feature.


LCDd deamon does support this kind of feature; you can give a client
or actually a screen a certain priority over others. You can grab
focus in that way. But you can also balance your Freevo LCD
screens/widgets, with the lcdproc screens and with the screen of an
mpd client for instance.
Maybe you should adjust it on screen level; while navigation through
the menu's you want to have full focus, but while watching a movie or
a slide show you want to know what lcdproc is doing. It must be
somewhere in the source code to change this.

I am also  digging around in the pylcd.py file, but for an other reason
From LCDd version 0.5 should all the text send to the daemon be in the
form of ISO 8859-1 or Latin-1, and I believe that Freevo is sending
the text as Unicode. This goes terribly wrong if you have for instance
a Japanese title of a movie.
I try to solve this, but I do not mind to have this weekend also a
look at the balance/priority of each screen.

I think we should keep in touch to prevent the two patches from having
difficulties with each other.

Greetings,

Han

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] lcd plugin

2005-10-29 Thread Matthew Bettencourt
I have been toying with the idea of redoing the lcd part in freevo since 
i also have a new lcd display.  I was thinking of reworking it to do 
basically what it does now when buttons are pressed and for a short time 
after that.  However, act more like a system clock when it is idle. 
Kinda like a car cd player.  What is the general thought about this?

M


Jaap Struyk wrote:

Hello,

I recently bought an 2x16 lcd display for in my freevo box and it seems
to work out of the box, I think.
It's showing me the menu entry's, the played file, but no elapsed times
and in the main menu as far I can tell from the plugin it should display
the system time but that's not showing also.
Has anyone some experience with that?




---
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] lcd plugin

2005-10-29 Thread Karl Lattimer
How about clock on the first line,

on the second line do things like scroll headlines, weather, sysinfo
etc...

On Sat, 2005-10-29 at 13:04 -0600, Matthew Bettencourt wrote:
 I have been toying with the idea of redoing the lcd part in freevo since 
 i also have a new lcd display.  I was thinking of reworking it to do 
 basically what it does now when buttons are pressed and for a short time 
 after that.  However, act more like a system clock when it is idle. 
 Kinda like a car cd player.  What is the general thought about this?
 M
 
 
 Jaap Struyk wrote:
  Hello,
  
  I recently bought an 2x16 lcd display for in my freevo box and it seems
  to work out of the box, I think.
  It's showing me the menu entry's, the played file, but no elapsed times
  and in the main menu as far I can tell from the plugin it should display
  the system time but that's not showing also.
  Has anyone some experience with that?
 
 
 
 ---
 This SF.Net email is sponsored by the JBoss Inc.
 Get Certified Today * Register for a JBoss Training Course
 Free Certification Exam for All Training Attendees Through End of 2005
 Visit http://www.jboss.com/services/certification for more information
 ___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users
 



---
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] lcd plugin

2005-10-29 Thread Matthew Bettencourt

Karl Lattimer wrote:

How about clock on the first line,

on the second line do things like scroll headlines, weather, sysinfo
etc...


Being that I havent even fired up emacs yet, sure, that sounds 
reasonable?  I don't know how to interact with the freevo 
headlines/weather stuff.  I know i can do sysinfo since that is easy.

M



On Sat, 2005-10-29 at 13:04 -0600, Matthew Bettencourt wrote:

I have been toying with the idea of redoing the lcd part in freevo since 
i also have a new lcd display.  I was thinking of reworking it to do 
basically what it does now when buttons are pressed and for a short time 
after that.  However, act more like a system clock when it is idle. 
Kinda like a car cd player.  What is the general thought about this?

M


Jaap Struyk wrote:


Hello,

I recently bought an 2x16 lcd display for in my freevo box and it seems
to work out of the box, I think.
It's showing me the menu entry's, the played file, but no elapsed times
and in the main menu as far I can tell from the plugin it should display
the system time but that's not showing also.
Has anyone some experience with that?




---
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users






---
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users





---
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] lcd plugin

2005-10-29 Thread Karl Lattimer




I think the lcd plugin including track length, position, name etc... would be best when playing a movie but If you look at a DVD player one issue that always bugs me is that they insist on having a constantly moving/flickering playing icon. This is stupid and distracting. the screen should change infrequently or slowly.

+--+
|  0:23 / 1:45 | ASCII ART ROCKS!
 Movie title scro 
+--+

Change speeds should be configurable, but I think a change once every 5-10 seconds would be best. For scrolling the text should scroll about once every 2 seconds by one character. The first line could concentrate on current track information, so DVD chapter number/name, Chapter length/position, Total length/position.

The second line, scrolling track name, and information about the track? imdb star rating, tag line etc...

When playing music having a graphic equaliser on the first line instead of track length/position would be cool, only switching to length/position when you fast forward/rewind and 5 second track lead in/out.

When idle, an email indicator would also be another ideal feature. Along with date/time/holidays (i.e. Halloween oohhh)/headlines/weather/sysinfo etc...

I think a good way to think about an LCD with freevo is simply how far do you want it to go. As a standard DVD/cd player has no internet connection, they're at a disadvantage to us.

I have an LCD screen, but I've gotta rewire it, and I'm waiting for a good enough reason. This could be a good starting project for me to work on with freevo, especially as I'd have Mathew (hopefully) working with me.

Any other suggestions?

Karl,




Re: [Freevo-users] lcd plugin

2005-10-29 Thread Jaap Struyk
Op za 29-10-2005, om 22:07 schreef Karl Lattimer:

 How about clock on the first line,
 
 on the second line do things like scroll headlines, weather, sysinfo
 etc...

I adapted the lcd.py to show the clock and date when idle (it wasn't, it
only shows clock on 4x20/16 on startup) but the clock on one line isn't
really usefull when sitting in a chair 5 meter away.
Is there a way to show 2 lines as one big one?
-- 
Groetjes Japie



---
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] LCD plugin - 1.3.4

2003-08-14 Thread Gustavo Sverzut Barbieri
You need pylcd, that is not in the last release (sorry, will be in the
next).

In the meantime, get the file I'm sending you and put it in:

$FREEVO_PATH/runtime/lib/python2.2/site-packages/

where $FREEVO_PATH is where your freevo is installed (if you used the
RPMs, this should be /usr/local/freevo)

Gustavo


 --- Jonas [EMAIL PROTECTED] escreveu:  Hi,
 
 I have just installed Freevo 1.3.4, and was looking forward to use
 the
 LCD plugin, but when i activate it and start Freevo I get an error:
 
 Traceback (most recent call last):
   File src/plugin.py, line 330, in __load_plugin__
 exec('import %s' % module)
   File string, line 1, in ?
   File src/plugins/lcd.py, line 45, in ?
 import pylcd
 ImportError: No module named pylcd
 
 I got LCDd running and I can connect with lcdproc, is the module
 pylcd
 missing from the Pyhton that is comming with Freevo ?
 
 
 /Jonas
 
 
 
 ---
 This SF.Net email sponsored by: Free pre-built ASP.NET sites
 including
 Data Reports, E-commerce, Portals, and Forums are available now.
 Download today and enter to win an XBOX or Visual Studio .NET.

http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
 ___
 Freevo-users mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/freevo-users 

___
Conheça o novo Cadê? - Mais rápido, mais fácil e mais preciso.
Toda a web, 42 milhões de páginas brasileiras e nova busca por imagens!
http://www.cade.com.br

pylcd.py
Description: pylcd.py


Re: [Freevo-users] LCD plugin - 1.3.4

2003-08-11 Thread den_RDC
Yes, it's not included in the runtime yet afaik. You'll have to download and 
install it manually, unless u want to wait for a new runtime release (it'll 
be included in the next release).

Mvg
den_RDC

On Tuesday 05 August 2003 10:54, Jonas wrote:
 Hi,

 I have just installed Freevo 1.3.4, and was looking forward to use the
 LCD plugin, but when i activate it and start Freevo I get an error:

 Traceback (most recent call last):
   File src/plugin.py, line 330, in __load_plugin__
 exec('import %s' % module)
   File string, line 1, in ?
   File src/plugins/lcd.py, line 45, in ?
 import pylcd
 ImportError: No module named pylcd

 I got LCDd running and I can connect with lcdproc, is the module pylcd
 missing from the Pyhton that is comming with Freevo ?


 /Jonas



 ---
 This SF.Net email sponsored by: Free pre-built ASP.NET sites including
 Data Reports, E-commerce, Portals, and Forums are available now.
 Download today and enter to win an XBOX or Visual Studio .NET.
 http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
 ___
 Freevo-users mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/freevo-users



---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] LCD plugin - 1.3.4

2003-08-05 Thread Jonas Urth Olsen
OK, it is working now.

Tank you.

On Tue, 2003-08-05 at 14:31, Gustavo Sverzut Barbieri wrote:
 You need pylcd, that is not in the last release (sorry, will be in the
 next).
 
 In the meantime, get the file I'm sending you and put it in:
 
 $FREEVO_PATH/runtime/lib/python2.2/site-packages/
 
 where $FREEVO_PATH is where your freevo is installed (if you used the
 RPMs, this should be /usr/local/freevo)
 
 Gustavo
 
 
  --- Jonas [EMAIL PROTECTED] escreveu:  Hi,
  
  I have just installed Freevo 1.3.4, and was looking forward to use
  the
  LCD plugin, but when i activate it and start Freevo I get an error:
  
  Traceback (most recent call last):
File src/plugin.py, line 330, in __load_plugin__
  exec('import %s' % module)
File string, line 1, in ?
File src/plugins/lcd.py, line 45, in ?
  import pylcd
  ImportError: No module named pylcd
  
  I got LCDd running and I can connect with lcdproc, is the module
  pylcd
  missing from the Pyhton that is comming with Freevo ?
  
  
  /Jonas
  
  
  
  ---
  This SF.Net email sponsored by: Free pre-built ASP.NET sites
  including
  Data Reports, E-commerce, Portals, and Forums are available now.
  Download today and enter to win an XBOX or Visual Studio .NET.
 
 http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
  ___
  Freevo-users mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/freevo-users
 
 ___
 Conheça o novo Cadê? - Mais rápido, mais fácil e mais preciso.
 Toda a web, 42 milhões de páginas brasileiras e nova busca por imagens!
 http://www.cade.com.br



---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users