[ tvtime-Bugs-961368 ] Show XMLTV info in the window caption

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.video.tvtime.devel
Message-ID <[email protected]>
Bugs item #961368, was opened at 2004-05-27 06:18
Message generated for change (Comment added) made by nobody
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=506987&aid=961368&group_id=64301

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: OSD/Interface
Group: Fixed in CVS for next release
Status: Closed
Resolution: Fixed
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Billy Biggs (vektor)
Summary: Show XMLTV info in the window caption

Initial Comment:
As I'm sitting here reading "plop, plop, fizz, fizz, oh
what a relief it is!" for the window title on my
favorite TV app, I can't help but wonder -- can't it
have the channel call letters and title of the current
program showing from xmltv, instead?  It shouldn't be
that hard to do, I'd think -- just an X call for the
current program.  ;)


----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2009-06-07 13:14

Message:
<a href="<http://groups.google.com/group/buy-best-generic-valium>">buy
valium</a>

----------------------------------------------------------------------

Comment By: Billy Biggs (vektor)
Date: 2004-08-17 04:33

Message:
Logged In: YES 
user_id=153320

I have implemented this feature in CVS now using a different
method.  It's basically the same thing, if there is a title
from the XMLTV file, we will use that in the window caption
over the silly taglines.  Thanks for your contribution.

----------------------------------------------------------------------

Comment By: Troy Bowman (troybowman)
Date: 2004-08-05 07:09

Message:
Logged In: YES 
user_id=1097926

Better yet:

*** src/commands.c     Sat Nov  1 14:11:15 2003
--- src/commands.c  Thu Aug  5 00:56:08 2004
***************
*** 40,45 ****
--- 40,47 ----
  #include "utils.h"
  #include "xmltv.h"
  #include "tvtimeglyphs.h"
+ #include "xcommon.h"
+ #include "taglines.h"
  
  #define NUM_FAVORITES 9
  #define MAX_USER_MENUS 64
***************
*** 259,264 ****
--- 261,268 ----
          }
  
          title = xmltv_get_title( cmd->xmltv );
+       if (title) xcommon_set_window_caption( title );
+       else xcommon_set_window_caption(taglines[ rand() %
numtaglines ]);
  
          if( xmltv_get_next_title( cmd->xmltv ) ) {
              snprintf( next_title, sizeof( next_title ),


----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2004-08-05 06:50

Message:
Logged In: NO 

I finally just went and hacked it.  Here's a context diff:

*** tvtime-0.9.12/src/commands.c        Sat Nov  1 14:11:15 2003
--- tvtime-0.9.12/src/commands.c     Thu Aug  5 00:46:11 2004
***************
*** 40,45 ****
--- 40,46 ----
  #include "utils.h"
  #include "xmltv.h"
  #include "tvtimeglyphs.h"
+ #include "xcommon.h"
  
  #define NUM_FAVORITES 9
  #define MAX_USER_MENUS 64
***************
*** 259,264 ****
--- 260,268 ----
          }
  
          title = xmltv_get_title( cmd->xmltv );
+       if (title) xcommon_set_window_caption( title );
+       else xcommon_set_window_caption( "tvtime" );
+ 
  
          if( xmltv_get_next_title( cmd->xmltv ) ) {
              snprintf( next_title, sizeof( next_title ),


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=506987&aid=961368&group_id=64301

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.