Hi,

Here's another patch I found useful in the past. My web source has moved away 
from using playlists so I don't use it anymore, but other uses might crop up in 
the future.

mplayerhas the -playlist option to force it to interprete the contents of a 
.wma 
pulled from the web as a wma playlist (or similar, I forgot the details). This 
patch
allows you to add -playlist to the mplayer-options="" argument in an fxd and 
have
The Right Thing happen.

Freevo has it's own idea what a playlist is, and this isn't it. However, I 
don't think
adding this support in any way conflicts with freevo playlists. 



-Anders


--- freevo/video/plugins/mplayer.py.orig        2010-05-17 14:42:42.000000000 
+0200
+++ freevo/video/plugins/mplayer.py     2010-05-17 14:37:19.000000000 +0200
@@ -276,6 +276,11 @@
         if hasattr(item, 'is_playlist') and item.is_playlist:
             args['playlist'] = '-playlist'
 
+       if args['fxd_args'].find('-playlist') > 0:
+                   args['fxd_args'] = args['fxd_args'].replace('-playlist', '')
+                   args['playlist'] = '-playlist'
+
+
         # correct avi delay based on kaa.metadata settings
         if config.MPLAYER_SET_AUDIO_DELAY and item.info.has_key('delay') and 
item.info['delay'] > 0:
             args['mc'] = '-mc %s' % str(int(item.info['delay'])+1)



------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to