[mythtv-commits] Ticket #2307: Add "libvisual" support to MythMusic

MythTV mythtv at cvs.mythtv.org
Sun Sep 3 18:48:03 UTC 2006


#2307: Add "libvisual" support to MythMusic
-------------------------------------------+--------------------------------
 Reporter:  mythtv at dadeos.freeserve.co.uk  |       Owner:  ijr    
     Type:  enhancement                    |      Status:  new    
 Priority:  minor                          |   Milestone:  unknown
Component:  mythmusic                      |     Version:         
 Severity:  medium                         |  
-------------------------------------------+--------------------------------
 The attached archive '''libvisualplugin-0.1.tgz''' contains a first pass
 at adding support for "libvisual" music visualisation plugins to
 MythMusic. This version isn't ready for inclusion in SVN yet. I merely
 wish to see if this is something that would be of interest to anyone
 before I attempt to tackle some of the other integration issues...[[BR]]
 == Contents of archive ==
  * libvisualplugin.patch - patch file covering modifications to existing
 files
   * .\configure - add an "--enable-visual" configuration option.
   * .\mythmusic\mythmusic\mythmusic.pro - add two new files to the build.
   * .\mythmusic\mythmusic\mainvisual.cpp - register factory class.

  * .\mythmusic\mythmusic\libvisualplugin.h - new header file.
  * .\mythmusic\mythmusic\libvisualplugin.cpp - new source file.
 == Prerequesits for patch ==
  * libvisual version 0.4.0 - http://localhost.nl/~synap/libvisual/
  * SDL version 1.2 - http://www.libsdl.org/

 The patch comes ''pre-configured'' to use the ProjectM libvisual plugin,
 this requires:-[[BR]]
  * libprojectM version 0.99 - http://xmms-projectm.sourceforge.net/
  * libvisual-projectM version 0.99 - http://xmms-projectm.sourceforge.net/
 == Installation Instructions ==

  * Unpack '''libvisualplugin-0.1.tgz''' archive to the root of the
 '''mythplugins''' folder (this should place the new source files in the
 correct place.
  * Apply the '''libvisualplugin.patch'''
  * Add '''--enable-sdl''' and '''--enable-visual''' to the options
 supplied to the "configure" script.
  * Build as normal.
 Once installed, simply add "'''LibVisual'''" to the list of visualisation
 plugins listed in the MythMusic "Player Settings" page of setup.

 The configuration portion of this patch is yet to be done. If you wish to
 change the libvisual plugin that is employed then this may be achieved by
 editing the '''libvisualplugin.cpp''' file, modifying the '''PluginName'''
 constant on line 11 ''(a list of available libvisual plugins can be
 obtained by commenting in the code at line 40 of the file and checking the
 console when the LibVisual plugin in loaded by MythMusic)''.[[BR]]

 === Disclaimer ===
 I didn't really know what I was doing when I knocked this up. It's
 basically a munging of the MythGoom code and the libvisual code from
 AmaroK http://amarok.kde.org/ . Hopefully it will work for you, if it
 doesn't let me know, but your guess may well be as good as mine ;-)

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/2307>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list